SnakeScan 1.4.5__tar.gz → 1.4.6__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.4.5
3
+ Version: 1.4.6
4
4
  Summary: Module SnakeScan using to scan port or ports in you device or other devices
5
5
  Author: Den*Ram
6
6
  Description-Content-Type: text/markdown
@@ -12,21 +12,23 @@ Requires-Dist: termcolor
12
12
  Project-URL: Homepage, https://github.com/Den-Ram/SnakeScan
13
13
  Project-URL: Repository, https://github.com/Den-Ram/SnakeScan
14
14
 
15
+ #SnakeScan
16
+ ![PyPI version](https://badge.fury.io/py/your_package_name.svg)
17
+ ![License](https://img.shields.io/badge/License-MIT-blue.svg)
18
+ Scanner to scan devices or watch if you server down or up in time work
19
+ ```
15
20
  import SnakeScan
16
-
17
- and use module to scan port
18
-
19
- --l need internet connection
20
- --h help
21
- --t threading port search
22
- --d dos
23
- --s single port search
24
- --i information about host
25
- Port or Host:--h to watch help
26
- Added class Watcher:
21
+ SnakeScan.run()
22
+ ```
23
+ ##Attrinutes
24
+ - --l need internet to view public ip you device
25
+ - --t threading port search
26
+ - --d dos
27
+ - --s single port search
28
+ - --i information about host
29
+ - --h in host /--h port in host
30
+ ##Added class Watcher:
31
+ ```
27
32
  for SnakeScan import Watcher
28
33
  Watcher(host:str,port:int)
29
- SnakeScan now run for command and import SnakeScan not run him
30
- import SnakeScan
31
- SnakeScan.run()
32
-
34
+ ```
@@ -0,0 +1,20 @@
1
+ #SnakeScan
2
+ ![PyPI version](https://badge.fury.io/py/your_package_name.svg)
3
+ ![License](https://img.shields.io/badge/License-MIT-blue.svg)
4
+ Scanner to scan devices or watch if you server down or up in time work
5
+ ```
6
+ import SnakeScan
7
+ SnakeScan.run()
8
+ ```
9
+ ##Attrinutes
10
+ - --l need internet to view public ip you device
11
+ - --t threading port search
12
+ - --d dos
13
+ - --s single port search
14
+ - --i information about 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
+ ```
@@ -1,5 +1,5 @@
1
1
  """Module SnakeScan using to scan port or ports in you device or other devices"""
2
- __version__="1.4.5"
2
+ __version__="1.4.6"
3
3
  import socket
4
4
  from art import tprint
5
5
  from datetime import datetime
@@ -94,7 +94,14 @@ def run():
94
94
  print(f"Build_{__version__}")
95
95
  continue
96
96
  if "--h" in host:
97
- print("Host:|--l,host --i,host --d|")
97
+ host=host.strip("--h")
98
+ host=host.strip()
99
+ if host == "port":
100
+ print("Port:|--s port,--t|")
101
+ if host:
102
+ pass
103
+ else:
104
+ print("Host:|--l,host --i,host --d|")
98
105
  continue
99
106
  if "--i" in host:
100
107
  host=host.strip("--i").strip()
@@ -210,12 +217,6 @@ def run():
210
217
  print(local)
211
218
  continue
212
219
  port_user=input(f"{colored('[$]','green')}Port-->")
213
- if "--v" in port_user:
214
- print(f"Build_{__version__}")
215
- continue
216
- if "--h" in port_user:
217
- print("Port:|--s port,--t|")
218
- continue
219
220
  if port_user == "":
220
221
  while True:
221
222
  print(f"{colored('Port','green')}{colored('[X]:Empty value','red')}")
snakescan-1.4.5/README.md DELETED
@@ -1,18 +0,0 @@
1
- import SnakeScan
2
-
3
- and use module to scan port
4
-
5
- --l need internet connection
6
- --h help
7
- --t threading port search
8
- --d dos
9
- --s single port search
10
- --i information about host
11
- Port or Host:--h to watch help
12
- Added class Watcher:
13
- for SnakeScan import Watcher
14
- Watcher(host:str,port:int)
15
- SnakeScan now run for command and import SnakeScan not run him
16
- import SnakeScan
17
- SnakeScan.run()
18
-
File without changes
File without changes