SnakeScan 1.7.7__tar.gz → 1.7.9__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.7.7 → snakescan-1.7.9}/PKG-INFO +3 -7
- {snakescan-1.7.7 → snakescan-1.7.9}/README.md +2 -6
- {snakescan-1.7.7 → snakescan-1.7.9}/SnakeScan/CLI.py +8 -8
- {snakescan-1.7.7 → snakescan-1.7.9}/SnakeScan/Check_subnet.py +1 -1
- {snakescan-1.7.7 → snakescan-1.7.9}/SnakeScan/__init__.py +3 -3
- {snakescan-1.7.7 → snakescan-1.7.9}/LICENSE +0 -0
- {snakescan-1.7.7 → snakescan-1.7.9}/SnakeScan/Get_ssl.py +0 -0
- {snakescan-1.7.7 → snakescan-1.7.9}/SnakeScan/PoolExecutor.py +0 -0
- {snakescan-1.7.7 → snakescan-1.7.9}/SnakeScan/Pool_UDP_Executor.py +0 -0
- {snakescan-1.7.7 → snakescan-1.7.9}/pyproject.toml +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: SnakeScan
|
|
3
|
-
Version: 1.7.
|
|
3
|
+
Version: 1.7.9
|
|
4
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
|
|
@@ -20,14 +20,10 @@ This documentation was created with the assistance of the GeekBot language model
|
|
|
20
20
|
# 🐍 SnakeScan: A Robust Python Port Scanner
|
|
21
21
|
|
|
22
22
|
A versatile and efficient Python library designed for comprehensive network port scanning.
|
|
23
|
-
|
|
24
23
|
[](https://pypi.org/project/SnakeScan/)
|
|
25
|
-
|
|
26
24
|
[](https://opensource.org/licenses/MIT)
|
|
27
|
-
|
|
28
25
|
[](https://www.python.org/)
|
|
29
|
-
|
|
30
|
-
[](https://img.shields.io/badge/Status-Beta-yellow)
|
|
26
|
+
[](https://img.shields.io/badge/Status-Stable-green)
|
|
31
27
|
|
|
32
28
|
**SnakeScan** provides a flexible and powerful solution for network administrators, security professionals, and developers requiring reliable port scanning capabilities. From basic port verification to advanced, multi-threaded subnet analysis, SnakeScan delivers the tools necessary for effective network assessment.
|
|
33
29
|
|
|
@@ -99,4 +95,4 @@ watcher.start() # Begin monitoring!
|
|
|
99
95
|
|
|
100
96
|
---
|
|
101
97
|
|
|
102
|
-
**Latest Update:** 1.7.
|
|
98
|
+
**Latest Update:** 1.7.9 (Added full color output)
|
|
@@ -7,14 +7,10 @@ This documentation was created with the assistance of the GeekBot language model
|
|
|
7
7
|
# 🐍 SnakeScan: A Robust Python Port Scanner
|
|
8
8
|
|
|
9
9
|
A versatile and efficient Python library designed for comprehensive network port scanning.
|
|
10
|
-
|
|
11
10
|
[](https://pypi.org/project/SnakeScan/)
|
|
12
|
-
|
|
13
11
|
[](https://opensource.org/licenses/MIT)
|
|
14
|
-
|
|
15
12
|
[](https://www.python.org/)
|
|
16
|
-
|
|
17
|
-
[](https://img.shields.io/badge/Status-Beta-yellow)
|
|
13
|
+
[](https://img.shields.io/badge/Status-Stable-green)
|
|
18
14
|
|
|
19
15
|
**SnakeScan** provides a flexible and powerful solution for network administrators, security professionals, and developers requiring reliable port scanning capabilities. From basic port verification to advanced, multi-threaded subnet analysis, SnakeScan delivers the tools necessary for effective network assessment.
|
|
20
16
|
|
|
@@ -86,4 +82,4 @@ watcher.start() # Begin monitoring!
|
|
|
86
82
|
|
|
87
83
|
---
|
|
88
84
|
|
|
89
|
-
**Latest Update:** 1.7.
|
|
85
|
+
**Latest Update:** 1.7.9 (Added full color output)
|
|
@@ -74,7 +74,7 @@ ports = {
|
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
|
|
77
|
-
version = "1.7.
|
|
77
|
+
version = "1.7.9"
|
|
78
78
|
|
|
79
79
|
|
|
80
80
|
def is_port_open(host, port):
|
|
@@ -388,14 +388,14 @@ if SnakeArgs().ports:
|
|
|
388
388
|
if OpenPorts:
|
|
389
389
|
for i in OpenPorts:
|
|
390
390
|
print(f"Open{colored('|√|','green')}-->{ports[i]}|{i}|")
|
|
391
|
-
print(f"{host[n]}".center(
|
|
391
|
+
print(f"{colored(f'{host[n]}','light_cyan')}".center(69, "—"))
|
|
392
392
|
print(f"Closed{colored('|X|','red')}:{portsclosed}")
|
|
393
393
|
portsclosed = 0
|
|
394
394
|
print(f"Open{colored('|√|','green')}:{portsopen}")
|
|
395
395
|
portsopen = 0
|
|
396
396
|
print("—" * 60)
|
|
397
397
|
else:
|
|
398
|
-
print(f"{host[n]}".center(
|
|
398
|
+
print(f"{colored(f'{host[n]}','light_cyan')}".center(69, "—"))
|
|
399
399
|
print(f"Closed{colored('|X|','red')}:{portsclosed}")
|
|
400
400
|
portsclosed = 0
|
|
401
401
|
print(f"Open{colored('|√|','green')}:{portsopen}")
|
|
@@ -422,7 +422,7 @@ if SnakeArgs().info:
|
|
|
422
422
|
if host[0] == "None":
|
|
423
423
|
host[0] = "localhost"
|
|
424
424
|
for n in range(len(host)):
|
|
425
|
-
print(f"{host[n]}".center(
|
|
425
|
+
print(f"{colored(f'{host[n]}','light_cyan')}".center(69, "—"))
|
|
426
426
|
try:
|
|
427
427
|
host[n] = socket.gethostbyname(host[n])
|
|
428
428
|
except Exception as e:
|
|
@@ -499,7 +499,7 @@ if SnakeArgs().info:
|
|
|
499
499
|
|
|
500
500
|
if SnakeArgs().thread:
|
|
501
501
|
for n in range(len(host)):
|
|
502
|
-
print(f"{host[n]}".center(
|
|
502
|
+
print(f"{colored(f'{host[n]}','light_cyan')}".center(69, "—"))
|
|
503
503
|
|
|
504
504
|
for port in ports.keys():
|
|
505
505
|
t = Thread(
|
|
@@ -515,14 +515,14 @@ if SnakeArgs().version:
|
|
|
515
515
|
if SnakeArgs().speed:
|
|
516
516
|
if SnakeArgs().udp:
|
|
517
517
|
for n in range(len(host)):
|
|
518
|
-
print(f"{host[n]}".center(
|
|
518
|
+
print(f"{colored(f'{host[n]}','light_cyan')}".center(69, "—"))
|
|
519
519
|
PoolExecutorUDP(host[n])
|
|
520
520
|
sys.exit()
|
|
521
521
|
for n in range(len(host)):
|
|
522
|
-
print(f"{host[n]}".center(
|
|
522
|
+
print(f"{colored(f'{host[n]}','light_cyan')}".center(69, "—"))
|
|
523
523
|
PoolProcessExecutor(host[n])
|
|
524
524
|
if SnakeArgs().getssl:
|
|
525
525
|
for n in range(len(host)):
|
|
526
|
-
print(f"{host[n]}".center(
|
|
526
|
+
print(f"{colored(f'{host[n]}','light_cyan')}".center(69, "—"))
|
|
527
527
|
Get_ssl(host[n])
|
|
528
528
|
print("".center(60, "—"))
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"""IPv4 address scanner for collecting address information.Scan or get the IPv4 address from the IPv6 host"""
|
|
2
2
|
|
|
3
|
-
__version__ = "1.7.
|
|
3
|
+
__version__ = "1.7.9"
|
|
4
4
|
import socket
|
|
5
5
|
from time import sleep
|
|
6
6
|
from termcolor import colored
|
|
@@ -24,9 +24,9 @@ class Watcher:
|
|
|
24
24
|
connection = sock.connect_ex((self.host, self.port_user))
|
|
25
25
|
if previous != connection:
|
|
26
26
|
if connection == 0:
|
|
27
|
-
print(f"Service is up {self.host}-->|{self.port_user}|")
|
|
27
|
+
print(f"{colored(f'Service is up {self.host}-->|{self.port_user}|','light_green')}")
|
|
28
28
|
else:
|
|
29
|
-
print(f"Service is down {self.host}-->|{self.port_user}|")
|
|
29
|
+
print(f"{colored(f'Service is down {self.host}-->|{self.port_user}|','light_red')}")
|
|
30
30
|
previous = connection
|
|
31
31
|
except Exception as e:
|
|
32
32
|
print(f"Unable to create scanner object:{e}")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|