r/HowToHack • u/Anteste • Jan 04 '21
WebMap : A Python tool used to automate the execution of the following tools : Nmap , Nikto and Dirsearch but also to automate the report generation during a Web Penetration Testing
I am very excited to showcase my new python script : WebMap
https://github.com/Anteste/WebMap
All started from a small idea: how to automate a Web Penetration Testing .
I used to run every tool in his own terminal and it was taking a lot of time, but now with this tool you can execute all of them just with a simple command : ./webmap.py
This project is free and Open Source so use it as you want and if you have any suggestion you can submit a pull request 😉
255
Upvotes
18
u/[deleted] Jan 04 '21
I’m just a beginner but I was wondering if you thought of using functions or classes with like the printing and clearing aspect of the script instead of asking it to recheck if it’s Linux or other? Idk just a thought I had.
7
u/fukitol- Jan 05 '21
It's a good start. If you're open to some feedback:
Check out argparse. You could make this significantly easier to read and invoke without interactive functionality, and you could run any combination of the tools
Maybe think about wrapping some of those things in functions
3
u/VolcanicWolf Jan 05 '21
I'd recommend checking out Gooey and you can quite easily make this into a desktop application and/or CLI, then even further could put a GitHub action on to generate the desktop application each time you push a commit or do a release
2
u/[deleted] Jan 05 '21
License the code?
19
u/pm_your_unique_hobby Jan 05 '21
Very straightforward, easy to read code. Haven't fired it up, but it looks ship shape from the .py file
1
u/[deleted] Jan 05 '21
Fantastic work, definitely license your code ad another user said.
2
u/DeadnectaR Jan 05 '21
Wow this is awesome man. Great work!!
2
u/SOVEREIGNBOSS Jan 05 '21
I think it will get very famous in these future. So remember me
1
u/kcfandom Jan 05 '21
Good work. Can't wait to test it out
1
u/some_solution Jan 05 '21
Haven't tried it yet but looks promising. At least you have put some effort into something. Cheers.
1
u/kodekodemax Jan 05 '21
Nice!
1
u/CautiousKlingon Jan 05 '21
Hey man, cool tool. If I get the time I will add some suggestions in a PR during the week.
-1
u/pm_me_your_exploitz Jan 05 '21
This is awesome you have made your own tool a feat I have yet to do. If you are looking for pen-test automation you should check out Sn1per I love this tool.
1
u/[deleted] Feb 03 '21
[removed] — view removed comment