@@ -301,11 +301,13 @@ def _add_wpa_args(self, wpa):
301301 wpa .add_argument ('-pmkid' , action = 'store_true' , dest = 'use_pmkid_only' ,
302302 help = argparse .SUPPRESS )
303303
304- wpa .add_argument ('--new-hs' ,
305- action = 'store_true' ,
306- dest = 'ignore_old_handshakes' ,
307- help = Color .s ('Captures new handshakes, ignores existing handshakes ' +
308- 'in ./hs (default: {G}off{W})' ))
304+ wpa .add_argument ('--pmkid-timeout' ,
305+ action = 'store' ,
306+ dest = 'pmkid_timeout' ,
307+ metavar = '[sec]' ,
308+ type = int ,
309+ help = self ._verbose ('Time to wait for PMKID capture ' +
310+ '(default: {G}%d{W} seconds)' % self .config .pmkid_timeout ))
309311
310312 wpa .add_argument ('--hs-dir' ,
311313 action = 'store' ,
@@ -317,6 +319,12 @@ def _add_wpa_args(self, wpa):
317319 wpa .add_argument ('-hs-dir' , help = argparse .SUPPRESS , action = 'store' ,
318320 dest = 'wpa_handshake_dir' , type = str )
319321
322+ wpa .add_argument ('--new-hs' ,
323+ action = 'store_true' ,
324+ dest = 'ignore_old_handshakes' ,
325+ help = Color .s ('Captures new handshakes, ignores existing handshakes ' +
326+ 'in {C}%s{W} (default: {G}off{W})' % self .config .wpa_handshake_dir ))
327+
320328 wpa .add_argument ('--dict' ,
321329 action = 'store' ,
322330 dest = 'wordlist' ,
0 commit comments