Some "hidden" helper switches (-nd --no-deauths --nodeauths)

When skipping an attack (WPA/WPS), explain why and mention the AP ESSID
This commit is contained in:
derv82
2018-03-10 15:58:36 -05:00
parent 100528cac3
commit 3257755094
4 changed files with 17 additions and 13 deletions

View File

@@ -18,6 +18,7 @@ class AttackWPS(Attack):
# Drop out if user specified to not use Reaver/Bully
if Configuration.no_wps:
Color.pl('\r{!} {O}--no-wps{R} set, ignoring WPS attack on {O}%s{W}' % self.target.essid)
self.success = False
return self.success
@@ -43,8 +44,4 @@ class AttackWPS(Attack):
else:
Color.pl("{!} {R}your version of 'reaver' does not support the {O}WPS pixie-dust attack{W}")
if Configuration.pixie_only:
Color.pl('\r{!} {O}--pixie{R} set, ignoring WPS-PIN attack{W}')
return False
return False