SnakeScan 1.5.2__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
|
|
@@ -27,3 +27,10 @@ SnakeScan.run()
|
|
|
27
27
|
- --s single port search
|
|
28
28
|
- --i information about host
|
|
29
29
|
- --h in host /--h port in host
|
|
30
|
+
## Added class Watcher:
|
|
31
|
+
```
|
|
32
|
+
for SnakeScan import Watcher
|
|
33
|
+
Watcher(host:str,port:int)
|
|
34
|
+
```
|
|
35
|
+
## Changelog
|
|
36
|
+
v1.5.3-Added more fast threading scan
|
|
@@ -12,4 +12,11 @@ SnakeScan.run()
|
|
|
12
12
|
- --d dos
|
|
13
13
|
- --s single port search
|
|
14
14
|
- --i information about host
|
|
15
|
-
- --h in host /--h port in host
|
|
15
|
+
- --h in host /--h port in host
|
|
16
|
+
## Added class Watcher:
|
|
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()
|
|
File without changes
|
|
File without changes
|