r/learnhacking • u/omarww21 • 16h ago
Built a Python CLI wrapper (mm) to speed up authorized pentesting on Metasploitable 2
https://github.com/omar24265/minimsfI was spending too much time typing out long Metasploit commands and switching between Nmap, Whatweb, and msfconsole during lab exercises. So, I built a small Python wrapper called mm to streamline the workflow.
It does a few things:
mm s: Runsnmap -sS -sV -Oin one command.mm w: Chains Whatweb, Nikto, and Gobuster.mm v**,**mm sm**, etc.**: Presets for common Metasploitable 2 vulnerabilities (vsftpd, Samba, etc.).mm auto: Scans the target and automatically tries matching exploits.
It's built for authorized lab environments (Metasploitable/HTB) and requires a -y flag to confirm legal authorization before running any command.
The code is open-source (MIT license). I'd love to get feedback on the architecture or any features I should add.
Link to GitHub repo: [https://github.com/omar24265/minimsf]
Disclaimer: This tool is for educational and authorized testing purposes only.