pnutmap 0.1.0__py3-none-any.whl

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.
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
+ ![Python](https://img.shields.io/badge/python-3.x-3776AB?style=flat-square)
19
+ ![Nmap](https://img.shields.io/badge/powered%20by-nmap-4CAF50?style=flat-square)
20
+ ![Status](https://img.shields.io/badge/status-active-success?style=flat-square)
21
+ ![License](https://img.shields.io/badge/license-MIT-lightgrey?style=flat-square)
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,6 @@
1
+ main.py,sha256=sZ9ECfuJugNk1igwd0fhwF2PF8wscZ1UqN94pIczhpg,2237
2
+ pnutmap-0.1.0.dist-info/licenses/LICENSE,sha256=x1yjMGLc5uHfat40pOVaOqewr2st14eWsMQ9bs-J-Cg,1065
3
+ pnutmap-0.1.0.dist-info/METADATA,sha256=9B1UvaoaPCM19kr_QaFkP79_uEFdrIHwsqroLJyB8cQ,1864
4
+ pnutmap-0.1.0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
5
+ pnutmap-0.1.0.dist-info/top_level.txt,sha256=ZAMgPdWghn6xTRBO6Kc3ML1y3ZrZLnjZlqbboKXc_AE,5
6
+ pnutmap-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (82.0.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -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.
@@ -0,0 +1 @@
1
+ main