SnakeScan 1.3.2__tar.gz → 1.3.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: SnakeScan
|
|
3
|
-
Version: 1.3.
|
|
4
|
-
Summary: Module SnakeScan
|
|
3
|
+
Version: 1.3.4
|
|
4
|
+
Summary: Module SnakeScan using to scan port or ports in you device or other devices
|
|
5
5
|
Author: Den*Ram
|
|
6
6
|
Description-Content-Type: text/markdown
|
|
7
7
|
License-Expression: MIT
|
|
@@ -15,8 +15,8 @@ Project-URL: Repository, https://github.com/Den-Ram/SnakeScan
|
|
|
15
15
|
Scanner to scan port
|
|
16
16
|
import SnakeScan
|
|
17
17
|
and use module to scan port
|
|
18
|
-
requires=>tqdm,termcolor,art
|
|
19
18
|
For full compatibility, I recommend using python 3.x.x
|
|
19
|
+
requires=>tqdm,termcolor,art
|
|
20
20
|
[*]added new check all port search:
|
|
21
21
|
[$]Port--> --a
|
|
22
22
|
[*]added new check all port using thread:
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Scanner to scan port
|
|
2
2
|
import SnakeScan
|
|
3
3
|
and use module to scan port
|
|
4
|
-
requires=>tqdm,termcolor,art
|
|
5
4
|
For full compatibility, I recommend using python 3.x.x
|
|
5
|
+
requires=>tqdm,termcolor,art
|
|
6
6
|
[*]added new check all port search:
|
|
7
7
|
[$]Port--> --a
|
|
8
8
|
[*]added new check all port using thread:
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"""Module SnakeScan"""
|
|
2
|
-
__version__="1.3.
|
|
1
|
+
"""Module SnakeScan using to scan port or ports in you device or other devices"""
|
|
2
|
+
__version__="1.3.4"
|
|
3
3
|
import socket
|
|
4
4
|
from art import tprint
|
|
5
5
|
from datetime import datetime
|
|
@@ -17,12 +17,12 @@ boolean=0
|
|
|
17
17
|
OpenPorts=[]
|
|
18
18
|
ports = {
|
|
19
19
|
20: "FTP-DATA", 21: "FTP", 22: "SSH", 23: "Telnet",
|
|
20
|
-
25: "SMTP", 43: "WHOIS", 53: "DNS", 80: "http",
|
|
21
|
-
115: "SFTP", 123: "NTP", 143: "IMAP", 161: "SNMP",
|
|
22
|
-
179: "BGP", 443: "HTTPS", 445: "MICROSOFT-DS",
|
|
23
|
-
514: "SYSLOG", 515: "PRINTER", 993: "IMAPS",
|
|
20
|
+
25: "SMTP", 43: "WHOIS", 53: "DNS", 67:"DHCP", 68:"DHCP", 69:"TFTP", 80: "http", 110:"POP3",
|
|
21
|
+
115: "SFTP", 123: "NTP", 139:"NetBios", 143: "IMAP", 161: "SNMP",
|
|
22
|
+
179: "BGP", 443: "HTTPS", 445: "MICROSOFT-DS", 465:"SSL/TLS",
|
|
23
|
+
514: "SYSLOG", 515: "PRINTER", 554:"RTSP", 587:"TLS/STARTTLS", 993: "IMAPS",
|
|
24
24
|
995: "POP3S", 1080: "SOCKS", 1194: "OpenVPN",
|
|
25
|
-
1433: "SQL Server", 1723: "PPTP", 3128: "HTTP",
|
|
25
|
+
1433: "SQL Server", 1723: "PPTP", 2222:"SSH", 3128: "HTTP",
|
|
26
26
|
3268: "LDAP", 3306: "MySQL", 3389: "RDP",
|
|
27
27
|
5432: "PostgreSQL", 5900: "VNC", 8080: "Tomcat", 10000: "Webmin" }
|
|
28
28
|
def is_port_open(host,port):
|
|
@@ -71,7 +71,7 @@ tprint("SnakeScan")
|
|
|
71
71
|
print("–"*60)
|
|
72
72
|
print(f"{__version__}".rjust(60))
|
|
73
73
|
print(f"Skip{colored('|*|','blue')}Error: {colored('Host','green')}{colored('[X]:Error','red')} {colored('|$|','green')} {colored('Port','green')}{colored('[X]:Error','red')}")
|
|
74
|
-
print("Host:[host --i,host --d] Port:[--s port,--a,--t]")
|
|
74
|
+
print("Host:[--l,host --i,host --d] Port:[--s port,--a,--t]")
|
|
75
75
|
while Run_now:
|
|
76
76
|
host=input(f"{colored('[$]','green')}Host-->")
|
|
77
77
|
if "--i" in host:
|
|
File without changes
|
|
File without changes
|