Correct spelling mistakes.

This commit is contained in:
Edward Betts
2018-06-08 20:32:50 +01:00
parent 96e846aa82
commit feb9dafa16
6 changed files with 9 additions and 9 deletions

View File

@@ -29,7 +29,7 @@ class AttackWEP(Attack):
'''
Initiates full WEP attack.
Including airodump-ng starting, cracking, etc.
Returns: True if attack is succesful, false otherwise
Returns: True if attack is successful, false otherwise
'''
aircrack = None # Aircrack process, not started yet
@@ -340,7 +340,7 @@ class AttackWEP(Attack):
'''
Attempts to fake-authenticate with target.
Returns: True if successful,
False is unsuccesful.
False is unsuccessful.
'''
Color.p('\r{+} attempting {G}fake-authentication{W} with {C}%s{W}...' % self.target.bssid)
fakeauth = Aireplay.fakeauth(self.target, timeout=AttackWEP.fakeauth_wait)
@@ -349,7 +349,7 @@ class AttackWEP(Attack):
else:
Color.pl(' {R}failed{W}')
if Configuration.require_fakeauth:
# Fakeauth is requried, fail
# Fakeauth is required, fail
raise Exception(
'Fake-authenticate did not complete within' +
' %d seconds' % AttackWEP.fakeauth_wait)

View File

@@ -25,7 +25,7 @@ class AttackWPA(Attack):
def run(self):
'''
Initiates full WPA hanshake capture attack.
Initiates full WPA handshake capture attack.
'''
# Check if user only wants to run PixieDust attack

View File

@@ -204,7 +204,7 @@ class Aireplay(Thread, Dependency):
if 'Got RELAYED packet' in line:
self.status = 'got relayed packet'
# XX:XX:XX Thats our ARP packet!
# XX:XX:XX That's our ARP packet!
if 'Thats our ARP packet' in line:
self.status = 'relayed packet was our'

View File

@@ -9,7 +9,7 @@ class Dependency(object):
for attr_name in cls.required_attr_names:
if not attr_name in cls.__dict__:
raise NotImplementedError(
"Attribute '{}' has not been overriden in class '{}'" \
"Attribute '{}' has not been overridden in class '{}'" \
.format(attr_name, cls.__name__)
)