This Repository is a collection of different ethical hacking tools and malware's for penetration testing and research purpose written in python, ruby, rust, c++, go and c.
JavaScript algorithmsartificial-intelligencebugbountycryptographycyber-threat-intelligencecybersecurity-projectsethical-hackinghacking-toolsmalwarenessusnetwork-monitoringnetwork-securitynmapportscannerpythonpythonprojectsthreat-intelligencevirus-scanning
Create domain-geo-location.py
Abdul Wahab Junaid59e3e0bb4d47
diff --git a/Python Tools/Geo-location/domain-geo-location.py b/Python Tools/Geo-location/domain-geo-location.pynew file mode 100644index 0000000..6f933f4--- /dev/null+++ b/Python Tools/Geo-location/domain-geo-location.py@@ -0,0 +1,11 @@+import requests++def geoip(domain):+ headers = {+ "Content-Type": "application/json"+ }++ response = requests.get('http://freegeoip.app/json/' + domain,headers=headers)+ return(response.text)++print(geoip('python.org'))