SnakeScan 1.2.2__tar.gz → 1.2.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,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: SnakeScan
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.4
|
|
4
4
|
Summary: Module SnakeScan
|
|
5
5
|
Author: Den*Ram
|
|
6
6
|
Description-Content-Type: text/markdown
|
|
@@ -10,15 +10,20 @@ Requires-Dist: art
|
|
|
10
10
|
Requires-Dist: tqdm
|
|
11
11
|
Requires-Dist: termcolor
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
Scanner to scan port
|
|
14
|
+
|
|
15
|
+
import SnakeScan
|
|
16
|
+
|
|
16
17
|
and use module to scan port
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
|
|
19
|
+
requires=>tqdm,termcolor,art
|
|
20
|
+
|
|
21
|
+
added new single search:
|
|
19
22
|
|
|
20
23
|
[$]Port--> --s 50
|
|
21
|
-
|
|
24
|
+
|
|
25
|
+
requires-python=>3.9
|
|
26
|
+
|
|
22
27
|
added new check all port search:
|
|
23
28
|
[$]Port--> --a
|
|
24
29
|
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
Scanner to scan port
|
|
2
|
+
|
|
3
|
+
import SnakeScan
|
|
4
|
+
|
|
5
|
+
and use module to scan port
|
|
6
|
+
|
|
7
|
+
requires=>tqdm,termcolor,art
|
|
8
|
+
|
|
9
|
+
added new single search:
|
|
10
|
+
|
|
11
|
+
[$]Port--> --s 50
|
|
12
|
+
|
|
13
|
+
requires-python=>3.9
|
|
14
|
+
|
|
15
|
+
added new check all port search:
|
|
16
|
+
[$]Port--> --a
|
|
17
|
+
|
|
18
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"""Module SnakeScan"""
|
|
2
|
-
__version__="1.2.
|
|
2
|
+
__version__="1.2.4"
|
|
3
3
|
import socket
|
|
4
4
|
from art import tprint
|
|
5
5
|
from datetime import datetime
|
|
@@ -65,6 +65,7 @@ while Run_now:
|
|
|
65
65
|
length=int(port_user)
|
|
66
66
|
except:
|
|
67
67
|
if "--a" in str(port_user):
|
|
68
|
+
print(f"Check All Ports".center(60,"-"))
|
|
68
69
|
for all in ports.keys():
|
|
69
70
|
if is_port_open(host,all):
|
|
70
71
|
print(f"Open{colored('|√|','green')}-->{ports[all]}|{all}|")
|
|
@@ -73,8 +74,9 @@ while Run_now:
|
|
|
73
74
|
print(f"Closed{colored('|X|','red')}-->{ports[all]}|{all}|")
|
|
74
75
|
except:
|
|
75
76
|
print(f"Closed{colored('|X|','red')}-->|{all}|")
|
|
76
|
-
|
|
77
|
+
continue
|
|
77
78
|
if "--s" in str(port_user):
|
|
79
|
+
print(f"{socket.gethostbyname(socket.gethostname())}-->{host}:")
|
|
78
80
|
port_user=port_single.strip().strip("--s")[1:len(port_user)]
|
|
79
81
|
for i in range(len(port_user)):
|
|
80
82
|
if port_user[i] == " ":
|
snakescan-1.2.2/README.md
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
Description
|
|
2
|
-
-------------------
|
|
3
|
-
Simple Scanner to scan port.Example:import SnakeScan
|
|
4
|
-
and use module to scan port
|
|
5
|
-
if him not run install in pip art,tqdm,termcolor and run.
|
|
6
|
-
added new single search example:
|
|
7
|
-
|
|
8
|
-
[$]Port--> --s 50
|
|
9
|
-
requires-python=>3.1.1
|
|
10
|
-
added new check all port search:
|
|
11
|
-
[$]Port--> --a
|
|
12
|
-
|
|
13
|
-
|
|
File without changes
|
|
File without changes
|