pnutmap 0.1.0__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.
- pnutmap-0.1.0/LICENSE +21 -0
- pnutmap-0.1.0/PKG-INFO +75 -0
- pnutmap-0.1.0/README.md +60 -0
- pnutmap-0.1.0/main.py +58 -0
- pnutmap-0.1.0/pnutmap.egg-info/PKG-INFO +75 -0
- pnutmap-0.1.0/pnutmap.egg-info/SOURCES.txt +8 -0
- pnutmap-0.1.0/pnutmap.egg-info/dependency_links.txt +1 -0
- pnutmap-0.1.0/pnutmap.egg-info/top_level.txt +1 -0
- pnutmap-0.1.0/pyproject.toml +23 -0
- pnutmap-0.1.0/setup.cfg +4 -0
pnutmap-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 realpnut
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
pnutmap-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: pnutmap
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: A simple python wrapper for nmap
|
|
5
|
+
Author-email: Peanut <pnutvacation@gmail.com>
|
|
6
|
+
Project-URL: Homepage, https://github.com/realpnut/pnmap
|
|
7
|
+
Project-URL: Bug Tracker, https://github.com/realpnut/pnmap/issues
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
+
Classifier: Operating System :: OS Independent
|
|
11
|
+
Requires-Python: >=3.7
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
License-File: LICENSE
|
|
14
|
+
Dynamic: license-file
|
|
15
|
+
|
|
16
|
+
# pnmap
|
|
17
|
+
|
|
18
|
+

|
|
19
|
+

|
|
20
|
+

|
|
21
|
+

|
|
22
|
+
|
|
23
|
+
## about
|
|
24
|
+
|
|
25
|
+
pnmap is a simple interactive Python wrapper for `nmap` designed for fast network scanning from the terminal.
|
|
26
|
+
|
|
27
|
+
it provides an easier way to run common reconnaissance commands without manually typing full nmap flags every time.
|
|
28
|
+
|
|
29
|
+
built for Linux environments, learning, lab use, and authorized security testing.
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## features
|
|
34
|
+
|
|
35
|
+
- quick scan (-F)
|
|
36
|
+
- full scan (-p-)
|
|
37
|
+
- service detection (-sV)
|
|
38
|
+
- os detection (-O)
|
|
39
|
+
- aggressive scan (-A)
|
|
40
|
+
- stealth scan (-sS)
|
|
41
|
+
- ping discovery (-sn)
|
|
42
|
+
- vulnerability scan (--script vuln)
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
## requirements
|
|
47
|
+
|
|
48
|
+
- Linux (Debian, Ubuntu, Arch, Kali, etc.)
|
|
49
|
+
- Python 3.x
|
|
50
|
+
- nmap installed
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
## installation (linux)
|
|
55
|
+
|
|
56
|
+
### Debian / Ubuntu / Kali
|
|
57
|
+
```bash
|
|
58
|
+
sudo apt update
|
|
59
|
+
sudo apt install nmap -y
|
|
60
|
+
git clone https://github.com/realpnut/pnmap.git
|
|
61
|
+
cd pnmap
|
|
62
|
+
python3 main.py
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
## disclaimer
|
|
66
|
+
|
|
67
|
+
this tool is intended for educational purposes and authorized security testing only.
|
|
68
|
+
|
|
69
|
+
do not use it against systems you do not own or have explicit permission to test.
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
## license
|
|
74
|
+
|
|
75
|
+
MIT License
|
pnutmap-0.1.0/README.md
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# pnmap
|
|
2
|
+
|
|
3
|
+

|
|
4
|
+

|
|
5
|
+

|
|
6
|
+

|
|
7
|
+
|
|
8
|
+
## about
|
|
9
|
+
|
|
10
|
+
pnmap is a simple interactive Python wrapper for `nmap` designed for fast network scanning from the terminal.
|
|
11
|
+
|
|
12
|
+
it provides an easier way to run common reconnaissance commands without manually typing full nmap flags every time.
|
|
13
|
+
|
|
14
|
+
built for Linux environments, learning, lab use, and authorized security testing.
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## features
|
|
19
|
+
|
|
20
|
+
- quick scan (-F)
|
|
21
|
+
- full scan (-p-)
|
|
22
|
+
- service detection (-sV)
|
|
23
|
+
- os detection (-O)
|
|
24
|
+
- aggressive scan (-A)
|
|
25
|
+
- stealth scan (-sS)
|
|
26
|
+
- ping discovery (-sn)
|
|
27
|
+
- vulnerability scan (--script vuln)
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## requirements
|
|
32
|
+
|
|
33
|
+
- Linux (Debian, Ubuntu, Arch, Kali, etc.)
|
|
34
|
+
- Python 3.x
|
|
35
|
+
- nmap installed
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## installation (linux)
|
|
40
|
+
|
|
41
|
+
### Debian / Ubuntu / Kali
|
|
42
|
+
```bash
|
|
43
|
+
sudo apt update
|
|
44
|
+
sudo apt install nmap -y
|
|
45
|
+
git clone https://github.com/realpnut/pnmap.git
|
|
46
|
+
cd pnmap
|
|
47
|
+
python3 main.py
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## disclaimer
|
|
51
|
+
|
|
52
|
+
this tool is intended for educational purposes and authorized security testing only.
|
|
53
|
+
|
|
54
|
+
do not use it against systems you do not own or have explicit permission to test.
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
## license
|
|
59
|
+
|
|
60
|
+
MIT License
|
pnutmap-0.1.0/main.py
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import os
|
|
2
|
+
def menu():
|
|
3
|
+
print("""
|
|
4
|
+
▄▖▖ ▖▖ ▖
|
|
5
|
+
▙▌▛▖▌▛▖▞▌▀▌▛▌
|
|
6
|
+
▌ ▌▝▌▌▝ ▌█▌▙▌
|
|
7
|
+
▌ v0.1.0
|
|
8
|
+
+------------------------+------------------------+
|
|
9
|
+
| 1. Quick Scan | 6. Stealth Scan |
|
|
10
|
+
| 2. Full Scan | 7. Ping Discovery |
|
|
11
|
+
| 3. Service Detection | 8. Vulnerability Scan |
|
|
12
|
+
| 4. OS Detection | 9. Show this menu |
|
|
13
|
+
| 5. Aggressive Scan | 0. Exit |
|
|
14
|
+
+------------------------+------------------------+
|
|
15
|
+
""")
|
|
16
|
+
|
|
17
|
+
menu()
|
|
18
|
+
while True:
|
|
19
|
+
opt = input("Select an option: ")
|
|
20
|
+
if opt == '1':
|
|
21
|
+
target = input("Enter target IP or hostname: ")
|
|
22
|
+
print("Performing Quick Scan...")
|
|
23
|
+
os.system(f"nmap -T4 -F {target}")
|
|
24
|
+
elif opt == '2':
|
|
25
|
+
target = input("Enter target IP or hostname: ")
|
|
26
|
+
print("Performing Full Scan...")
|
|
27
|
+
os.system(f"nmap -p- -T4 {target}")
|
|
28
|
+
elif opt == '3':
|
|
29
|
+
target = input("Enter target IP or hostname: ")
|
|
30
|
+
print("Performing Service Detection...")
|
|
31
|
+
os.system(f"nmap -sV {target}")
|
|
32
|
+
elif opt == '4':
|
|
33
|
+
target = input("Enter target IP or hostname: ")
|
|
34
|
+
print("Performing OS Detection...")
|
|
35
|
+
os.system(f"nmap -O {target}")
|
|
36
|
+
elif opt == '5':
|
|
37
|
+
target = input("Enter target IP or hostname: ")
|
|
38
|
+
print("Performing Aggressive Scan...")
|
|
39
|
+
os.system(f"nmap -A {target}")
|
|
40
|
+
elif opt == '6':
|
|
41
|
+
target = input("Enter target IP or hostname: ")
|
|
42
|
+
print("Performing Stealth Scan...")
|
|
43
|
+
os.system(f"nmap -sS {target}")
|
|
44
|
+
elif opt == '7':
|
|
45
|
+
target = input("Enter target IP or hostname: ")
|
|
46
|
+
print("Performing Ping Discovery...")
|
|
47
|
+
os.system(f"nmap -sn {target}")
|
|
48
|
+
elif opt == '8':
|
|
49
|
+
target = input("Enter target IP or hostname: ")
|
|
50
|
+
print("Performing Vulnerability Scan...")
|
|
51
|
+
os.system(f"nmap --script vuln {target}")
|
|
52
|
+
elif opt == '9':
|
|
53
|
+
menu()
|
|
54
|
+
elif opt == '0':
|
|
55
|
+
print("Exiting...")
|
|
56
|
+
break
|
|
57
|
+
else:
|
|
58
|
+
print("Invalid option. Please try again.")
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: pnutmap
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: A simple python wrapper for nmap
|
|
5
|
+
Author-email: Peanut <pnutvacation@gmail.com>
|
|
6
|
+
Project-URL: Homepage, https://github.com/realpnut/pnmap
|
|
7
|
+
Project-URL: Bug Tracker, https://github.com/realpnut/pnmap/issues
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
+
Classifier: Operating System :: OS Independent
|
|
11
|
+
Requires-Python: >=3.7
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
License-File: LICENSE
|
|
14
|
+
Dynamic: license-file
|
|
15
|
+
|
|
16
|
+
# pnmap
|
|
17
|
+
|
|
18
|
+

|
|
19
|
+

|
|
20
|
+

|
|
21
|
+

|
|
22
|
+
|
|
23
|
+
## about
|
|
24
|
+
|
|
25
|
+
pnmap is a simple interactive Python wrapper for `nmap` designed for fast network scanning from the terminal.
|
|
26
|
+
|
|
27
|
+
it provides an easier way to run common reconnaissance commands without manually typing full nmap flags every time.
|
|
28
|
+
|
|
29
|
+
built for Linux environments, learning, lab use, and authorized security testing.
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## features
|
|
34
|
+
|
|
35
|
+
- quick scan (-F)
|
|
36
|
+
- full scan (-p-)
|
|
37
|
+
- service detection (-sV)
|
|
38
|
+
- os detection (-O)
|
|
39
|
+
- aggressive scan (-A)
|
|
40
|
+
- stealth scan (-sS)
|
|
41
|
+
- ping discovery (-sn)
|
|
42
|
+
- vulnerability scan (--script vuln)
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
## requirements
|
|
47
|
+
|
|
48
|
+
- Linux (Debian, Ubuntu, Arch, Kali, etc.)
|
|
49
|
+
- Python 3.x
|
|
50
|
+
- nmap installed
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
## installation (linux)
|
|
55
|
+
|
|
56
|
+
### Debian / Ubuntu / Kali
|
|
57
|
+
```bash
|
|
58
|
+
sudo apt update
|
|
59
|
+
sudo apt install nmap -y
|
|
60
|
+
git clone https://github.com/realpnut/pnmap.git
|
|
61
|
+
cd pnmap
|
|
62
|
+
python3 main.py
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
## disclaimer
|
|
66
|
+
|
|
67
|
+
this tool is intended for educational purposes and authorized security testing only.
|
|
68
|
+
|
|
69
|
+
do not use it against systems you do not own or have explicit permission to test.
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
## license
|
|
74
|
+
|
|
75
|
+
MIT License
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
main
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=61.0.0"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "pnutmap"
|
|
7
|
+
version = "0.1.0"
|
|
8
|
+
authors = [
|
|
9
|
+
{ name="Peanut", email="pnutvacation@gmail.com" },
|
|
10
|
+
]
|
|
11
|
+
description = "A simple python wrapper for nmap"
|
|
12
|
+
readme = "README.md"
|
|
13
|
+
requires-python = ">=3.7"
|
|
14
|
+
classifiers = [
|
|
15
|
+
"Programming Language :: Python :: 3",
|
|
16
|
+
"License :: OSI Approved :: MIT License",
|
|
17
|
+
"Operating System :: OS Independent",
|
|
18
|
+
]
|
|
19
|
+
dependencies = []
|
|
20
|
+
|
|
21
|
+
[project.urls]
|
|
22
|
+
"Homepage" = "https://github.com/realpnut/pnmap"
|
|
23
|
+
"Bug Tracker" = "https://github.com/realpnut/pnmap/issues"
|
pnutmap-0.1.0/setup.cfg
ADDED