Projects STRLCPY wifi_db Commits e03b980a
🤬
  • ■ ■ ■ ■ ■
    wifi_db_aircrack.py
    skipped 368 lines
    369 369   wps_version='1.0' #Default 1.0
    370 370   try:
    371 371   wlan_ssid=pkt['wlan.mgt'].wlan_ssid
    372  - if (pkt['wlan.mgt'].wps_ext_version2 == '0x20'):
     372 + if ('20' in pkt['wlan.mgt'].wps_ext_version2):
    373 373   wps_version = '2.0'
    374 374   wps_device_name=pkt['wlan.mgt'].wps_device_name
    375 375   wps_model_name=pkt['wlan.mgt'].wps_model_name
    skipped 9 lines
    385 385   print('==============================')
    386 386   print(bssid)
    387 387   print(wps_version)
     388 + print(pkt['wlan.mgt'].wps_ext_version2)
    388 389   database_utils.insertWPS(cursor, verbose, bssid, wlan_ssid, wps_version, wps_device_name, wps_model_name, wps_model_number, wps_config_methods, wps_config_methods_keypad)
    389 390  
    390 391   print(".cap WPS done, errors", errors)
    skipped 79 lines
Please wait...
Page is in error, reload to recover