SnakeScan 1.3.0__tar.gz → 1.3.2__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,9 +1,8 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: SnakeScan
3
- Version: 1.3.0
3
+ Version: 1.3.2
4
4
  Summary: Module SnakeScan
5
5
  Author: Den*Ram
6
- Requires-Python: >=3.9
7
6
  Description-Content-Type: text/markdown
8
7
  License-Expression: MIT
9
8
  License-File: LICENSE
@@ -14,24 +13,18 @@ Project-URL: Homepage, https://github.com/Den-Ram/SnakeScan
14
13
  Project-URL: Repository, https://github.com/Den-Ram/SnakeScan
15
14
 
16
15
  Scanner to scan port
17
-
18
16
  import SnakeScan
19
-
20
17
  and use module to scan port
21
-
22
18
  requires=>tqdm,termcolor,art
23
-
24
- added new single search:
25
-
26
- [$]Port--> --s 50
27
-
28
- requires-python=>3.9
29
-
30
- added new check all port search:
19
+ For full compatibility, I recommend using python 3.x.x
20
+ [*]added new check all port search:
31
21
  [$]Port--> --a
32
- added new check all port using thread:
22
+ [*]added new check all port using thread:
33
23
  [$]Port--> --t
34
- added new dos attack:
24
+ [*]added new dos attack:
35
25
  [$]Host-->https://example.com --d
26
+ [*]added new check you ip:
27
+ --l and you need internet connection to use him
28
+ added new help
36
29
 
37
30
 
@@ -0,0 +1,16 @@
1
+ Scanner to scan port
2
+ import SnakeScan
3
+ and use module to scan port
4
+ requires=>tqdm,termcolor,art
5
+ For full compatibility, I recommend using python 3.x.x
6
+ [*]added new check all port search:
7
+ [$]Port--> --a
8
+ [*]added new check all port using thread:
9
+ [$]Port--> --t
10
+ [*]added new dos attack:
11
+ [$]Host-->https://example.com --d
12
+ [*]added new check you ip:
13
+ --l and you need internet connection to use him
14
+ added new help
15
+
16
+
@@ -1,5 +1,5 @@
1
1
  """Module SnakeScan"""
2
- __version__="1.3.0"
2
+ __version__="1.3.2"
3
3
  import socket
4
4
  from art import tprint
5
5
  from datetime import datetime
@@ -175,8 +175,18 @@ while Run_now:
175
175
  host=input(f"{colored('[$]','green')}Host-->")
176
176
  if host:
177
177
  break
178
- if host == "localhost":
179
- host=socket.gethostbyname(socket.gethostname())
178
+ if "--l" in host:
179
+ local=""
180
+ s=socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
181
+ try:
182
+ s.connect(('10.255.255.255',1))
183
+ local=s.getsockname()[0]
184
+ except Exception as e:
185
+ local=f"127.0.0.1:{e}"
186
+ finally:
187
+ s.close()
188
+ print(local)
189
+ continue
180
190
  port_user=input(f"{colored('[$]','green')}Port-->")
181
191
  if port_user == "":
182
192
  while True:
@@ -11,7 +11,6 @@ dependencies = [
11
11
  "termcolor",
12
12
  ]
13
13
  readme = "README.md"
14
- requires-python = ">=3.9"
15
14
  license = "MIT"
16
15
  license-files = ["LICENSE"]
17
16
  dynamic = ["version", "description"]
snakescan-1.3.0/README.md DELETED
@@ -1,22 +0,0 @@
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
- added new check all port using thread:
18
- [$]Port--> --t
19
- added new dos attack:
20
- [$]Host-->https://example.com --d
21
-
22
-
File without changes