From a77683d83301c43bcf2aa2c473af97653acbea59 Mon Sep 17 00:00:00 2001 From: Swastik2561 Date: Fri, 11 Oct 2019 13:13:09 +0530 Subject: [PATCH] Working API Changed for the Ping Python Module --- .../0x01-PassiveReconnaissance/subnet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/0x01-OSINT+Footprinting/0x01-PassiveReconnaissance/subnet.py b/modules/0x01-OSINT+Footprinting/0x01-PassiveReconnaissance/subnet.py index 2729ab12..52aa9c5d 100644 --- a/modules/0x01-OSINT+Footprinting/0x01-PassiveReconnaissance/subnet.py +++ b/modules/0x01-OSINT+Footprinting/0x01-PassiveReconnaissance/subnet.py @@ -27,7 +27,7 @@ def subnet(web): print(GR+' [*] Getting subnet class infos...\n') domains = [web] for dom in domains: - text = requests.get('http://api.hackertarget.com/subnetcalc/?q=' + dom).text + text = requests.get('https://steakovercooked.com/api/ping/?host=' + dom).text http = str(text) if 'error' not in http: