Skip to content

Commit

Permalink
Removed debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
superhedgy committed May 20, 2019
1 parent edd0980 commit 5e46da2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hosthunter.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,12 +148,12 @@ def take_screenshot(IP,port):
url="https://" + IP
else:
url="http://" + IP + ':' + port
print ("[Debug] Navigating to: ",url) # Debug Functionality
## print ("[Debug] Navigating to: ",url) # Debug Functionality
try:
driver.get(url)
#except (urllib3.connection.ConnectionError,urllib3.exceptions.ConnectTimeoutError,urllib3.exceptions.MaxRetryError,urllib3.exceptions.TimeoutError,socket.error,socket.timeout) as e:
except:
print ("[Debug] Failed while Fetching ",url) # Debug Functionality
## print ("[Debug] Failed while Fetching ",url) # Debug Functionality
pass
source=driver.page_source
# print ("[Debug] source value: ",driver.page_source) # Debug Functionality
Expand Down Expand Up @@ -255,7 +255,7 @@ def main(argc):
continue

print ("\n[+] Target: %s" % hostx.address)

# Fetch SSL Certificates
sslGrabber(hostx,443)
# Querying HackerTarget.com API
Expand Down

0 comments on commit 5e46da2

Please sign in to comment.