-
Notifications
You must be signed in to change notification settings - Fork 214
Description
Attack only certain access points on the list
This great program has very flexible fine-tuning of attack modes.
To pass the access points that should not be attacked I use a list from the text file filterE.txt using script:
#! /bin/bash
skipe=$(sed 's/#.*/' filterE.txt | tr -s ' n ' ' ' | sed 's/ +/ n/g' | sed 's/ /-E /' | tr ' n' ' ' ' | sed 's/ $//')
sudo wifite -i wlan1 -c 1-13 -inf --kill -ic --skip-crack --no-wps -num-deauths 5 --daemon --wpat 40 --pmkid-timeout 24 $skipe --hs-dir /kali/wifite2/results/
The file filterE.txt contains the names of access points that do not need to be attacked. List format, one access point per line.
Now I need to create only certain access points.
I run this script:
#! /bin/bash
onlyE=$(sed 's/#.*/' onlyE.txt | tr -s ' n ' ' ' | sed 's/ +/ n/g' | sed 's/ /-e /' | tr ' n' ' ' | sed 's/ $/')
sudo wifite -i wlan1 -c 1-13 -inf --kill -ic --skip-crack --no-wps -num-deauths 5 --daemon --wpat 40 --pmkid-timeout 24 $onlyE --hs-dir /home/kali/wifite2/results/
In the file onlyE.txt there are access points that need to be mapped, ignoring the other surrounding wifi access points.
However, after running the script, wifite only attaches the last access point.
Accordingly I have a question, how to configure the script so that wifite attache only access points from the list?
I searched many sources, but never found the necessary way to get attacks from only certain access points from the list.
It is a pity that for this wonderful program so little documentation on absolutely all the quests with examples.
Everything I found on the internet, everywhere short examples without a detailed consideration of all possibilities.
Also, I’m sad that this program does not have the option to add exception filters to a text file.
I really hope that my questions can be clarified.
Thanks in advance.