@@ -277,27 +277,28 @@ def ask():
277277
278278 Airmon .terminate_conflicting_processes ()
279279
280- Color .pl ('\n {+} looking for {C}wireless interfaces{W}' )
280+ Color .p ('\n {+} Looking for {C}wireless interfaces{W}... ' )
281281 monitor_interfaces = Iwconfig .get_interfaces (mode = 'Monitor' )
282282 if len (monitor_interfaces ) == 1 :
283283 # Assume we're using the device already in montior mode
284284 iface = monitor_interfaces [0 ]
285- Color .pl ( ' using interface {G}%s{W} (already in monitor mode)' % iface );
286- Color .pl (' you can specify the wireless interface using {C}-i wlan0 {W}' )
285+ Color .clear_entire_line ()
286+ Color .pl ('{+} Using {G}%s {W} already in monitor mode' % iface );
287287 Airmon .base_interface = None
288288 return iface
289289
290+ Color .clear_entire_line ()
291+ Color .p ('{+} Checking {C}airmon-ng{W}...' )
290292 a = Airmon ()
291293 count = len (a .interfaces )
292294 if count == 0 :
293295 # No interfaces found
294296 Color .pl ('\n {!} {O}airmon-ng did not find {R}any{O} wireless interfaces' )
295- Color .pl ('{!} {O}make sure your wireless device is connected' )
296- Color .pl ('{!} {O}see {C}http://www.aircrack-ng.org/doku.php?id=airmon-ng{O} for more info{W}' )
297+ Color .pl ('{!} {O}Make sure your wireless device is connected' )
298+ Color .pl ('{!} {O}See {C}http://www.aircrack-ng.org/doku.php?id=airmon-ng{O} for more info{W}' )
297299 raise Exception ('airmon-ng did not find any wireless interfaces' )
298300
299- Color .pl ('' )
300-
301+ Color .clear_entire_line ()
301302 a .print_menu ()
302303
303304 Color .pl ('' )
@@ -307,7 +308,7 @@ def ask():
307308 choice = 1
308309 else :
309310 # Multiple interfaces found
310- question = Color .s ('{+} select interface ({G}1-%d{W}): ' % (count ))
311+ question = Color .s ('{+} Select wireless interface ({G}1-%d{W}): ' % (count ))
311312 choice = raw_input (question )
312313
313314 iface = a .get (choice )
@@ -347,19 +348,19 @@ def terminate_conflicting_processes():
347348 '{R}%s{O} (PID {R}%s{O})' % (pname , pid )
348349 for pid , pname in pid_pnames
349350 ])
350- Color .pl ('{!} {O}conflicting processes: %s' % names_and_pids )
351- Color .pl ('{!} {O}if you have problems: {R}kill -9 PID{O} or re-run wifite with {R}--kill{O}){W}' )
351+ Color .pl ('{!} {O}Conflicting processes: %s' % names_and_pids )
352+ Color .pl ('{!} {O}If you have problems: {R}kill -9 PID{O} or re-run wifite with {R}--kill{O}){W}' )
352353 return
353354
354- Color .pl ('{!} {O}killing {R}%d {O}conflicting processes' % len (pid_pnames ))
355+ Color .pl ('{!} {O}Killing {R}%d {O}conflicting processes' % len (pid_pnames ))
355356 for pid , pname in pid_pnames :
356357 if pname == 'NetworkManager' and Process .exists ('service' ):
357358 Color .pl ('{!} {O}stopping network-manager ({R}service network-manager stop{O})' )
358359 # Can't just pkill network manager; it's a service
359360 Process (['service' , 'network-manager' , 'stop' ]).wait ()
360361 Airmon .killed_network_manager = True
361362 else :
362- Color .pl ('{!} {R}terminating {O}conflicting process {R}%s{O} (PID {R}%s{O})' % (pname , pid ))
363+ Color .pl ('{!} {R}Terminating {O}conflicting process {R}%s{O} (PID {R}%s{O})' % (pname , pid ))
363364 try :
364365 os .kill (int (pid ), signal .SIGTERM )
365366 except :
0 commit comments