SnakeScan 1.5.1__tar.gz → 1.5.3__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.5.
|
|
4
|
-
Summary: Module SnakeScan
|
|
3
|
+
Version: 1.5.3
|
|
4
|
+
Summary: Module SnakeScan
|
|
5
5
|
Author: Den*Ram
|
|
6
6
|
Description-Content-Type: text/markdown
|
|
7
7
|
License-Expression: MIT
|
|
@@ -21,30 +21,16 @@ import SnakeScan
|
|
|
21
21
|
SnakeScan.run()
|
|
22
22
|
```
|
|
23
23
|
## Help
|
|
24
|
-
|
|
25
24
|
- --l need internet to view public ip you device
|
|
26
25
|
- --t threading port search
|
|
27
26
|
- --d dos
|
|
28
27
|
- --s single port search
|
|
29
28
|
- --i information about host
|
|
30
29
|
- --h in host /--h port in host
|
|
31
|
-
|
|
32
30
|
## Added class Watcher:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
##Changelog
|
|
38
|
-
|
|
39
|
-
fixed dos and --t mode
|
|
40
|
-
## Added more imformation about host:
|
|
41
|
-
```
|
|
42
|
-
[$]Host-->www.example.com --i
|
|
43
|
-
Type IP: <class 'ipaddress.IPv4Address'>
|
|
44
|
-
Version IP: 4
|
|
45
|
-
Network: 2.21.240.0/24
|
|
46
|
-
Subnet mask: 255.255.255.0
|
|
47
|
-
Host:a2-21-240-137.deploy.static
|
|
48
|
-
akamaitechnologies.com
|
|
49
|
-
IP:2.21.240.137
|
|
50
|
-
```
|
|
31
|
+
```
|
|
32
|
+
for SnakeScan import Watcher
|
|
33
|
+
Watcher(host:str,port:int)
|
|
34
|
+
```
|
|
35
|
+
## Changelog
|
|
36
|
+
v1.5.3-Added more fast threading scan
|
|
@@ -7,30 +7,16 @@ import SnakeScan
|
|
|
7
7
|
SnakeScan.run()
|
|
8
8
|
```
|
|
9
9
|
## Help
|
|
10
|
-
|
|
11
10
|
- --l need internet to view public ip you device
|
|
12
11
|
- --t threading port search
|
|
13
12
|
- --d dos
|
|
14
13
|
- --s single port search
|
|
15
14
|
- --i information about host
|
|
16
15
|
- --h in host /--h port in host
|
|
17
|
-
|
|
18
16
|
## Added class Watcher:
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
##Changelog
|
|
24
|
-
|
|
25
|
-
fixed dos and --t mode
|
|
26
|
-
## Added more imformation about host:
|
|
27
|
-
```
|
|
28
|
-
[$]Host-->www.example.com --i
|
|
29
|
-
Type IP: <class 'ipaddress.IPv4Address'>
|
|
30
|
-
Version IP: 4
|
|
31
|
-
Network: 2.21.240.0/24
|
|
32
|
-
Subnet mask: 255.255.255.0
|
|
33
|
-
Host:a2-21-240-137.deploy.static
|
|
34
|
-
akamaitechnologies.com
|
|
35
|
-
IP:2.21.240.137
|
|
36
|
-
```
|
|
17
|
+
```
|
|
18
|
+
for SnakeScan import Watcher
|
|
19
|
+
Watcher(host:str,port:int)
|
|
20
|
+
```
|
|
21
|
+
## Changelog
|
|
22
|
+
v1.5.3-Added more fast threading scan
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"""Module SnakeScan
|
|
2
|
-
__version__="1.5.
|
|
1
|
+
"""Module SnakeScan"""
|
|
2
|
+
__version__="1.5.3"
|
|
3
3
|
import socket
|
|
4
4
|
import ipaddress
|
|
5
5
|
from art import tprint
|
|
@@ -7,7 +7,6 @@ from datetime import datetime
|
|
|
7
7
|
from tqdm import tqdm
|
|
8
8
|
from termcolor import colored
|
|
9
9
|
from threading import Thread, Timer
|
|
10
|
-
import time
|
|
11
10
|
next = None
|
|
12
11
|
class Watcher():
|
|
13
12
|
def __init__(self,host,port_user,sleep=0.5):
|
|
@@ -254,8 +253,10 @@ def run():
|
|
|
254
253
|
print(f"Thread".center(60,"-"))
|
|
255
254
|
for all in ports.keys():
|
|
256
255
|
t=Thread(target=is_port_open_threads,kwargs={"host":host,"port":all})
|
|
256
|
+
threading.append(t)
|
|
257
257
|
t.start()
|
|
258
|
-
|
|
258
|
+
for t in threading:
|
|
259
|
+
t.join()
|
|
259
260
|
if "--s" in str(port_user):
|
|
260
261
|
port_user=port_single.strip("--s")
|
|
261
262
|
port_user=port_user.split()
|
|
@@ -323,5 +324,4 @@ def run():
|
|
|
323
324
|
portsclosed=0
|
|
324
325
|
print(f"Open{colored('|√|','green')}:{portsopen}")
|
|
325
326
|
portsopen=0
|
|
326
|
-
print("-"*60)
|
|
327
|
-
run()
|
|
327
|
+
print("-"*60)
|
|
File without changes
|
|
File without changes
|