Skip to content

Commit

Permalink
Updated examples
Browse files Browse the repository at this point in the history
  • Loading branch information
p0dalirius committed Jan 17, 2023
1 parent ab1103e commit d71c92b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Binary file modified .github/example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .github/example_list_cves.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion apachetomcatscanner/utils/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def is_target_a_windows_domain_controller(target) -> bool:

def is_port_open(target, port) -> bool:
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
s.settimeout(1)
s.settimeout(0.1)
return s.connect_ex((target, port)) == 0


Expand Down

0 comments on commit d71c92b

Please sign in to comment.