diff --git a/modules/0x01-OSINT+Footprinting/0x01-PassiveReconnaissance/subnet.py b/modules/0x01-OSINT+Footprinting/0x01-PassiveReconnaissance/subnet.py index 2729ab12..9a3e94c9 100644 --- a/modules/0x01-OSINT+Footprinting/0x01-PassiveReconnaissance/subnet.py +++ b/modules/0x01-OSINT+Footprinting/0x01-PassiveReconnaissance/subnet.py @@ -30,7 +30,7 @@ def subnet(web): text = requests.get('http://api.hackertarget.com/subnetcalc/?q=' + dom).text http = str(text) - if 'error' not in http: + if 'null' not in http: result = http.splitlines() for r in result: print(G+' '+r.split('=')[0]+'='+O+r.split('=')[1])