Skip to content

Commit

Permalink
settimeout -> setdefaulttimeout
Browse files Browse the repository at this point in the history
  • Loading branch information
fportantier committed Mar 16, 2018
1 parent 606a4cb commit 69b241b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion habu/lib/contest.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
http_servers = ['www.google.com', 'www.ibm.com']
ssh_servers = ['www.github.com']

socket.settimeout(2)
socket.setdefaulttimeout(2)

def check_ip():
for server in dns_servers:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name='habu',
version='0.0.47',
version='0.0.48',
description='Python Network Hacking Toolkit',
long_description=readme,
author='Fabian Martinez Portantier',
Expand Down

0 comments on commit 69b241b

Please sign in to comment.