Skip to content

Commit efe83f7

Browse files
committed
Fix validate_ports in nmap 2
1 parent bbc0293 commit efe83f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commands/nmap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def get_datetime():
4949

5050
def validate_ports(self, ports):
5151
for port in ports:
52-
if not 0 < port < 65336:
52+
if not 0 < port < 65536:
5353
self.handle_port_outside_range(port)
5454

5555
def handle_port_outside_range(self, port):

0 commit comments

Comments
 (0)