-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Infinite attack #181
Open
RaduNico
wants to merge
6
commits into
derv82:master
Choose a base branch
from
RaduNico:infinite_attack
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Infinite attack #181
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) The function raw_input() sends output to stderr instead of stdout. User prompts should be sent to stdout. 2) attack/wps: Fix printed message 3) attack/all: Change comment to better reflect return value meaning Signed-off-by: Radu Nicolau <[email protected]>
* `--infinite/-inf` argument activates the infinite attack mode. In this attack mode Wifite will enter a scan for <scan_time> and after that timer expires it will attack all nearby targets Infinite attack mode will respect all target and attack restrictions (-E, -b, --pmkid, etc.) * `scan_time` is configurable by using the pillage (-p) parameter * Stop the attack by sending SIGINT(Ctrl+C) while scanning for targets. The user will be prompted to choose between starting attacking targets or exit. Signed-off-by: Radu Nicolau <[email protected]>
The issue was that sending Ctrl+C would not be caught by the try-except clause inside the scanner if the keyboard interrupt was sent while inside inner try-except blocks. This would result in airodump crashing and the Scanner.find_targets() function returning, instead of prompting the user with the choice to stop the attack. This could be the possible cause for issue derv82#123 TODO: catch specific exceptions where possible Signed-off-by: Radu Nicolau <[email protected]>
* Removed exception in case target list is empty. Normal scan mode will not be affected as it will try to attack an empty list. The reason I removed the exception is because in infinite attack mode it is possible to press Ctrl+C too fast, resulting in 0 targets, yet it is not an error. * Added error messsage in case airodump crashes. The output will be the exit status code and the command which was ran. Because airodump also prints to stderr the useful output, we cannot realiably print error messages from airodump. * Added chipset/driver information link Despite the fact that the link says the information hasn't been updated, edits are still being made and the existing chipsets will not change their specs. Coupled with driver information, this link seems very useful for self debugging. Signed-off-by: Radu Nicolau <[email protected]>
Only display and attack APs that had at least <power> during the current scan. Because the power is not very stable it was possible for a target to drop below the power level and be deleted from the target list. This would in turn cause the updated targets not to overwrite the existing list, which would cause wifite to output an unnecessary amount of lines. The workaround is to compare the maximum amount of power an AP had. Signed-off-by: Radu Nicolau <[email protected]>
… parameter) Signed-off-by: Radu Nicolau <[email protected]>
Leave this open, collecting all our pull requests would make a good release. sent a notice at Twitter |
simonblack
added a commit
to simonblack/wifite2
that referenced
this pull request
Dec 14, 2018
simonblack
added a commit
to simonblack/wifite2
that referenced
this pull request
Dec 14, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Implement infinite attack mode as requested in #91
I've tested quite a bit the changes made, it should not misbehave, but as things go there might be some errors and bugs that I've missed. Comments and questions are more than welcome! :)