SnakeScan 1.7.0__tar.gz → 1.7.2__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.7.0
4
- Summary: IPv4 address scanner for collecting address information.Use carefully for your network safety.Scan only IPv4 or get the IPv4 address from the IPv6 host
3
+ Version: 1.7.2
4
+ Summary: IPv4 address scanner for collecting address information.Scan or get the IPv4 address from the IPv6 host
5
5
  Author: Den*Ram
6
6
  Requires-Python: >=3.7
7
7
  Description-Content-Type: text/markdown
@@ -14,12 +14,10 @@ Requires-Dist: termcolor
14
14
  # SnakeScan
15
15
  ![PyPI version](https://badge.fury.io/py/SnakeScan.svg)
16
16
  ![License](https://img.shields.io/badge/License-MIT-blue.svg)
17
- ![Requires-python](https://img.shields.io/badge/requires--python-3.7+-red)
18
- ![Status](https://img.shields.io/badge/Version%20Beta-orange)
17
+ ![Requires-python](https://img.shields.io/badge/requires--python-3.7+-black)
18
+ ![Status](https://img.shields.io/badge/Version-in%20Beta-black)
19
19
  ![Platforms](https://img.shields.io/badge/Platforms-macOS%20%7C%20Linux%20%7C%20Windows-blue)
20
20
 
21
- This library is now used only in the terminal.
22
-
23
21
  ## Help with using the library
24
22
  - -l need internet to view public ip you device
25
23
  - -t threading port search
@@ -65,6 +63,7 @@ snake -l #Shows your public internet IP address. Internet connection required fo
65
63
  -I:
66
64
  snake www.google.com -i #Shows information about the IP address.Can receive information from IPV4 and IPV6
67
65
 
68
- ##Update in 1.7.0
69
- - Unnecessary functions have been removed and some bugs have been fixed.
70
- - Now SnakeScan run is deleted and run in code is now impossible.
66
+ #Update in 1.7.2
67
+ - Unnecessary functions have been removed and some bugs have been fixed.
68
+ - Now SnakeScan run is deleted and run in code is now impossible.
69
+ - Fixed Several bugs.
@@ -1,12 +1,10 @@
1
1
  # SnakeScan
2
2
  ![PyPI version](https://badge.fury.io/py/SnakeScan.svg)
3
3
  ![License](https://img.shields.io/badge/License-MIT-blue.svg)
4
- ![Requires-python](https://img.shields.io/badge/requires--python-3.7+-red)
5
- ![Status](https://img.shields.io/badge/Version%20Beta-orange)
4
+ ![Requires-python](https://img.shields.io/badge/requires--python-3.7+-black)
5
+ ![Status](https://img.shields.io/badge/Version-in%20Beta-black)
6
6
  ![Platforms](https://img.shields.io/badge/Platforms-macOS%20%7C%20Linux%20%7C%20Windows-blue)
7
7
 
8
- This library is now used only in the terminal.
9
-
10
8
  ## Help with using the library
11
9
  - -l need internet to view public ip you device
12
10
  - -t threading port search
@@ -52,6 +50,7 @@ snake -l #Shows your public internet IP address. Internet connection required fo
52
50
  -I:
53
51
  snake www.google.com -i #Shows information about the IP address.Can receive information from IPV4 and IPV6
54
52
 
55
- ##Update in 1.7.0
56
- - Unnecessary functions have been removed and some bugs have been fixed.
57
- - Now SnakeScan run is deleted and run in code is now impossible.
53
+ #Update in 1.7.2
54
+ - Unnecessary functions have been removed and some bugs have been fixed.
55
+ - Now SnakeScan run is deleted and run in code is now impossible.
56
+ - Fixed Several bugs.
@@ -27,50 +27,113 @@ Bool = True
27
27
  boolsd = True
28
28
  boolean = 0
29
29
  ports = {
30
- 20: "FTP-DATA",
31
- 21: "FTP",
30
+ 1: "tcpmux",
31
+ 2: "compressnet",
32
+ 3: "compressnet",
33
+ 5: "rje",
34
+ 7: "Echo",
35
+ 9: "Discard",
36
+ 11: "Systat",
37
+ 13: "Daytime",
38
+ 17: "QOTD",
39
+ 18: "MSP",
40
+ 19: "Chargen",
41
+ 20: "FTP-Data",
42
+ 21: "FTP-Control",
32
43
  22: "SSH",
33
44
  23: "Telnet",
45
+ 24: "private mail",
34
46
  25: "SMTP",
35
- 43: "WHOIS",
47
+ 27: "nsw-fe",
48
+ 29: "msg-icp",
49
+ 31: "msg-auth",
50
+ 33: "dsp",
51
+ 35: "private printer server",
52
+ 37: "Time",
53
+ 38: "rap",
54
+ 39: "rlp",
55
+ 41: "graphics",
56
+ 42: "WINS",
57
+ 43: "Whois",
58
+ 44: "mpm-flags",
59
+ 45: "mpm",
60
+ 46: "mpm-snd",
61
+ 47: "ni-ftp",
62
+ 48: "auditd",
63
+ 49: "TACACS",
64
+ 50: "re-mail-ck",
65
+ 51: "la-maint",
66
+ 52: "xns-time",
36
67
  53: "DNS",
37
- 67: "DHCP",
38
- 68: "DHCP",
68
+ 54: "xns-ch",
69
+ 55: "isi-gl",
70
+ 56: "xns-auth",
71
+ 57: "private terminal",
72
+ 58: "xns-mail",
73
+ 67: "DHCP server",
74
+ 68: "DHCP client",
39
75
  69: "TFTP",
40
- 80: "http",
76
+ 70: "Gopher",
77
+ 79: "Finger",
78
+ 80: "HTTP",
79
+ 88: "Kerberos",
80
+ 109: "POP2",
41
81
  110: "POP3",
82
+ 111: "RPCbind",
83
+ 113: "ident",
42
84
  115: "SFTP",
85
+ 118: "SQLServ",
86
+ 119: "NNTP",
43
87
  123: "NTP",
44
- 139: "NetBios",
88
+ 135: "MS-Locator",
89
+ 137: "NetBIOS-NS",
90
+ 138: "NetBIOS-DGM",
91
+ 139: "NetBIOS-SSN",
45
92
  143: "IMAP",
46
93
  161: "SNMP",
94
+ 162: "SNMP-trap",
47
95
  179: "BGP",
96
+ 194: "IRC",
97
+ 201: "AppleTalk routing maintenance",
98
+ 220: "IMAP3",
99
+ 389: "LDAP",
48
100
  443: "HTTPS",
49
- 445: "MICROSOFT-DS",
50
- 465: "SSL/TLS",
51
- 514: "SYSLOG",
52
- 515: "PRINTER",
53
- 554: "RTSP",
54
- 587: "TLS/STARTTLS",
101
+ 445: "SMB",
102
+ 465: "SMTPS",
103
+ 500: "ISAKMP",
104
+ 514: "Syslog",
105
+ 520: "RIP",
106
+ 546: "DHCPv6 client",
107
+ 547: "DHCPv6 server",
108
+ 587: "Submission",
109
+ 631: "IPP",
55
110
  636: "LDAPS",
56
111
  990: "FTPS",
57
112
  993: "IMAPS",
58
113
  995: "POP3S",
59
114
  1080: "SOCKS",
60
115
  1194: "OpenVPN",
61
- 1433: "SQL Server",
116
+ 1433: "Microsoft SQL server",
117
+ 1521: "Oracle",
62
118
  1723: "PPTP",
119
+ 2049: "NFS",
63
120
  2222: "SSH",
64
121
  3128: "HTTP",
65
122
  3268: "LDAP",
66
123
  3306: "MySQL",
67
124
  3389: "RDP",
125
+ 5060: "SIP",
126
+ 5353: "MDNS",
68
127
  5432: "PostgreSQL",
69
128
  5900: "VNC",
70
- 8080: "Tomcat",
129
+ 8000: "HTTP alternate",
130
+ 8080: "HTTP alternate",
131
+ 8443: "HTTPS alternate",
132
+ 8888: "HTTP alternate",
71
133
  10000: "Webmin",
72
134
  }
73
- version = "1.7.0"
135
+
136
+ version = "1.7.2"
74
137
 
75
138
 
76
139
  def is_port_open(host, port):
@@ -3,49 +3,88 @@ from termcolor import colored
3
3
  from concurrent.futures import ProcessPoolExecutor
4
4
 
5
5
  ports = {
6
- 20: "FTP-DATA",
7
- 21: "FTP",
6
+ 7: "Echo",
7
+ 9: "Discard",
8
+ 11: "Systat",
9
+ 13: "Daytime",
10
+ 17: "QOTD",
11
+ 18: "MSP",
12
+ 19: "Chargen",
13
+ 20: "FTP-Data",
14
+ 21: "FTP-Control",
8
15
  22: "SSH",
9
16
  23: "Telnet",
10
17
  25: "SMTP",
11
- 43: "WHOIS",
18
+ 37: "Time",
19
+ 42: "WINS",
20
+ 43: "Whois",
21
+ 49: "TACACS",
12
22
  53: "DNS",
13
- 67: "DHCP",
14
- 68: "DHCP",
23
+ 67: "DHCP server",
24
+ 68: "DHCP client",
15
25
  69: "TFTP",
16
- 80: "http",
26
+ 70: "Gopher",
27
+ 79: "Finger",
28
+ 80: "HTTP",
29
+ 88: "Kerberos",
30
+ 109: "POP2",
17
31
  110: "POP3",
32
+ 111: "RPCbind",
33
+ 113: "ident",
18
34
  115: "SFTP",
35
+ 118: "SQLServ",
36
+ 119: "NNTP",
19
37
  123: "NTP",
20
- 139: "NetBios",
38
+ 135: "MS-Locator",
39
+ 137: "NetBIOS-NS",
40
+ 138: "NetBIOS-DGM",
41
+ 139: "NetBIOS-SSN",
21
42
  143: "IMAP",
22
43
  161: "SNMP",
44
+ 162: "SNMP-trap",
23
45
  179: "BGP",
46
+ 194: "IRC",
47
+ 201: "AppleTalk routing maintenance",
48
+ 220: "IMAP3",
49
+ 389: "LDAP",
24
50
  443: "HTTPS",
25
- 445: "MICROSOFT-DS",
26
- 465: "SSL/TLS",
27
- 514: "SYSLOG",
28
- 515: "PRINTER",
29
- 554: "RTSP",
30
- 587: "TLS/STARTTLS",
51
+ 445: "SMB",
52
+ 465: "SMTPS",
53
+ 500: "ISAKMP",
54
+ 514: "Syslog",
55
+ 520: "RIP",
56
+ 546: "DHCPv6 client",
57
+ 547: "DHCPv6 server",
58
+ 587: "Submission",
59
+ 631: "IPP",
60
+ 636: "LDAPS",
61
+ 990: "FTPS",
31
62
  993: "IMAPS",
32
63
  995: "POP3S",
33
64
  1080: "SOCKS",
34
65
  1194: "OpenVPN",
35
- 1433: "SQL Server",
66
+ 1433: "Microsoft SQL server",
67
+ 1521: "Oracle",
36
68
  1723: "PPTP",
69
+ 2049: "NFS",
37
70
  2222: "SSH",
38
71
  3128: "HTTP",
39
72
  3268: "LDAP",
40
73
  3306: "MySQL",
41
74
  3389: "RDP",
75
+ 5060: "SIP",
76
+ 5353: "MDNS",
42
77
  5432: "PostgreSQL",
43
78
  5900: "VNC",
44
- 8080: "Tomcat",
45
- 10000: "Webmin",
79
+ 8000: "HTTP alternate",
80
+ 8080: "HTTP alternate",
81
+ 8443: "HTTPS alternate",
82
+ 8888: "HTTP alternate",
83
+ 10000: "Webmin"
46
84
  }
47
85
 
48
86
 
87
+
49
88
  def is_port_open_threads(host, port):
50
89
  with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
51
90
  try:
@@ -1,6 +1,6 @@
1
- """IPv4 address scanner for collecting address information.Use carefully for your network safety.Scan only IPv4 or get the IPv4 address from the IPv6 host"""
1
+ """IPv4 address scanner for collecting address information.Scan or get the IPv4 address from the IPv6 host"""
2
2
 
3
- __version__ = "1.7.0"
3
+ __version__ = "1.7.2"
4
4
  import socket
5
5
  from time import sleep
6
6
  from termcolor import colored
File without changes
File without changes