SnakeScan 1.6.7__tar.gz → 1.6.8__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.
- {snakescan-1.6.7 → snakescan-1.6.8}/PKG-INFO +14 -29
- {snakescan-1.6.7 → snakescan-1.6.8}/README.md +12 -27
- {snakescan-1.6.7 → snakescan-1.6.8}/SnakeScan/CLI.py +1 -1
- {snakescan-1.6.7 → snakescan-1.6.8}/SnakeScan/__init__.py +3 -3
- {snakescan-1.6.7 → snakescan-1.6.8}/LICENSE +0 -0
- {snakescan-1.6.7 → snakescan-1.6.8}/SnakeScan/Check_subnet.py +0 -0
- {snakescan-1.6.7 → snakescan-1.6.8}/SnakeScan/Get_ssl.py +0 -0
- {snakescan-1.6.7 → snakescan-1.6.8}/SnakeScan/PoolExecutor.py +0 -0
- {snakescan-1.6.7 → snakescan-1.6.8}/pyproject.toml +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: SnakeScan
|
|
3
|
-
Version: 1.6.
|
|
4
|
-
Summary: IPv4 address scanner for collecting address information.Use carefully for your network safety.
|
|
3
|
+
Version: 1.6.8
|
|
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
|
|
5
5
|
Author: Den*Ram
|
|
6
6
|
Requires-Python: >=3.7
|
|
7
7
|
Description-Content-Type: text/markdown
|
|
@@ -16,12 +16,14 @@ Project-URL: Repository, https://github.com/Den-Ram/SnakeScan
|
|
|
16
16
|
# SnakeScan
|
|
17
17
|

|
|
18
18
|

|
|
19
|
-

|
|
20
|
+

|
|
21
|
+

|
|
22
|
+
|
|
23
|
+
Use the library in the terminal, because that's what it's focused on. If you don't want to use the terminal, run it in code, but then some new functions won't be present there.You will need to use it differently.
|
|
24
|
+
|
|
24
25
|
# Help with using the library
|
|
26
|
+
|
|
25
27
|
## If you use the library directly in your code:
|
|
26
28
|
```
|
|
27
29
|
import SnakeScan
|
|
@@ -57,34 +59,21 @@ snake -v #Shows the library version
|
|
|
57
59
|
-GS:
|
|
58
60
|
snake www.google.com -gs #Get a certificate from the official website. If you don't enter the hostname, you'll get this error [Errno 111] Connection refused
|
|
59
61
|
-T:
|
|
60
|
-
snake -t #Uses
|
|
62
|
+
snake -t #Uses threads for port scanning
|
|
61
63
|
-CH:
|
|
62
64
|
snake -ch #Scans the subnet for others IP
|
|
63
65
|
-L:
|
|
64
66
|
snake -l #Shows your public internet IP address. Internet connection required for use
|
|
65
67
|
-I:
|
|
66
68
|
snake www.google.com -i #Shows information about the IP address.Can receive information from IPV4 and IPV6
|
|
67
|
-
#You can also use all attributes in place:
|
|
68
|
-
```
|
|
69
|
-
snake -p 100,200,79-443 www.google.com -i -l -t -ch -sp
|
|
70
|
-
```
|
|
71
69
|
# Library changes
|
|
72
70
|
|
|
73
71
|
## Added class Watcher:
|
|
74
72
|
```
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
## Added multiple use Watcher:
|
|
80
|
-
```
|
|
81
|
-
from SnakeScan import Watcher
|
|
82
|
-
ports=[53,80,100,160]
|
|
83
|
-
Watchers=[]
|
|
84
|
-
for i in range(len(ports)):
|
|
85
|
-
Watchers.append(Watcher("127.0.0.1",ports[i]))
|
|
86
|
-
Watchers[i].start()
|
|
87
|
-
```
|
|
73
|
+
from SnakeScan import Watcher
|
|
74
|
+
Watcher = Watcher(host="localhost",port="80",timeout=1)
|
|
75
|
+
Watcher.start()
|
|
76
|
+
```
|
|
88
77
|
## Library added for use in terminal to use enter snake or Snake
|
|
89
78
|
```
|
|
90
79
|
usage: snake [-h] [-sp] [-v] [-i] [-p PORTS] [-t] [-ch]
|
|
@@ -107,7 +96,3 @@ options:
|
|
|
107
96
|
-ch, --check scan subnet
|
|
108
97
|
-l, --local view you public ip - need internet
|
|
109
98
|
```
|
|
110
|
-
## Added Info about ipv6
|
|
111
|
-
```
|
|
112
|
-
snake 2001:db8:: -i or snake [2001:4860:4860::8888] -i
|
|
113
|
-
```
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
# SnakeScan
|
|
2
2
|

|
|
3
3
|

|
|
4
|
-

|
|
5
|
+

|
|
6
|
+

|
|
7
|
+
|
|
8
|
+
Use the library in the terminal, because that's what it's focused on. If you don't want to use the terminal, run it in code, but then some new functions won't be present there.You will need to use it differently.
|
|
9
|
+
|
|
9
10
|
# Help with using the library
|
|
11
|
+
|
|
10
12
|
## If you use the library directly in your code:
|
|
11
13
|
```
|
|
12
14
|
import SnakeScan
|
|
@@ -42,34 +44,21 @@ snake -v #Shows the library version
|
|
|
42
44
|
-GS:
|
|
43
45
|
snake www.google.com -gs #Get a certificate from the official website. If you don't enter the hostname, you'll get this error [Errno 111] Connection refused
|
|
44
46
|
-T:
|
|
45
|
-
snake -t #Uses
|
|
47
|
+
snake -t #Uses threads for port scanning
|
|
46
48
|
-CH:
|
|
47
49
|
snake -ch #Scans the subnet for others IP
|
|
48
50
|
-L:
|
|
49
51
|
snake -l #Shows your public internet IP address. Internet connection required for use
|
|
50
52
|
-I:
|
|
51
53
|
snake www.google.com -i #Shows information about the IP address.Can receive information from IPV4 and IPV6
|
|
52
|
-
#You can also use all attributes in place:
|
|
53
|
-
```
|
|
54
|
-
snake -p 100,200,79-443 www.google.com -i -l -t -ch -sp
|
|
55
|
-
```
|
|
56
54
|
# Library changes
|
|
57
55
|
|
|
58
56
|
## Added class Watcher:
|
|
59
57
|
```
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
## Added multiple use Watcher:
|
|
65
|
-
```
|
|
66
|
-
from SnakeScan import Watcher
|
|
67
|
-
ports=[53,80,100,160]
|
|
68
|
-
Watchers=[]
|
|
69
|
-
for i in range(len(ports)):
|
|
70
|
-
Watchers.append(Watcher("127.0.0.1",ports[i]))
|
|
71
|
-
Watchers[i].start()
|
|
72
|
-
```
|
|
58
|
+
from SnakeScan import Watcher
|
|
59
|
+
Watcher = Watcher(host="localhost",port="80",timeout=1)
|
|
60
|
+
Watcher.start()
|
|
61
|
+
```
|
|
73
62
|
## Library added for use in terminal to use enter snake or Snake
|
|
74
63
|
```
|
|
75
64
|
usage: snake [-h] [-sp] [-v] [-i] [-p PORTS] [-t] [-ch]
|
|
@@ -91,8 +80,4 @@ options:
|
|
|
91
80
|
-t, --thread fast scan
|
|
92
81
|
-ch, --check scan subnet
|
|
93
82
|
-l, --local view you public ip - need internet
|
|
94
|
-
```
|
|
95
|
-
## Added Info about ipv6
|
|
96
|
-
```
|
|
97
|
-
snake 2001:db8:: -i or snake [2001:4860:4860::8888] -i
|
|
98
83
|
```
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"""IPv4 address scanner for collecting address information.Use carefully for your network safety.
|
|
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"""
|
|
2
2
|
|
|
3
|
-
__version__ = "1.6.
|
|
3
|
+
__version__ = "1.6.8"
|
|
4
4
|
import socket
|
|
5
5
|
import ipaddress
|
|
6
6
|
from art import tprint
|
|
@@ -47,7 +47,7 @@ class Watcher:
|
|
|
47
47
|
self.work = False
|
|
48
48
|
self.thread.join()
|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
#Run SnakeScan
|
|
51
51
|
def run():
|
|
52
52
|
portsopen = 0
|
|
53
53
|
portsclosed = 0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|