some helper scripts for pentesting

Marius Schwarz 65a91660a8 added regex support for services %!s(int64=4) %!d(string=hai) anos
README.md a6a52a8ee0 rename %!s(int64=4) %!d(string=hai) anos
create-meter.sh cf54a73537 some more scripts %!s(int64=5) %!d(string=hai) anos
example.gnmap 572ae5ecea random updates %!s(int64=4) %!d(string=hai) anos
example.json 572ae5ecea random updates %!s(int64=4) %!d(string=hai) anos
makeiplistunique.py 02c586fd30 new tool: makeiplistunique.py %!s(int64=4) %!d(string=hai) anos
nmap-get.py 65a91660a8 added regex support for services %!s(int64=4) %!d(string=hai) anos
nmap-parse.sh cf54a73537 some more scripts %!s(int64=5) %!d(string=hai) anos
nmap-to-iplist.sh a6a52a8ee0 rename %!s(int64=4) %!d(string=hai) anos
nmap-to-json.py 9ce1d9564d static fields are new to me ffs %!s(int64=4) %!d(string=hai) anos
scan.sh 7a759ea0d2 added some tools %!s(int64=4) %!d(string=hai) anos
shell-plug.sh fcb8acfb6d fix wordlist paths %!s(int64=5) %!d(string=hai) anos
smb-vuln-finder.sh c774e8fff3 added shell-plug %!s(int64=5) %!d(string=hai) anos

README.md

pentest-helpers

some helper scripts for pentesting

shell-plug.sh

little helper scripts includiong some often needed aliases and functions for keeping the target info and project folder in environment variables.

source this script in your .bashrc:

source ~/.pentest-helpers/shell-plug.sh

create-meter.sh

script to create linux and windows (x86/x64) meterpreter faster and with less typing.

scan.sh

nmap wrapper for the first scans that are always done (tcp initial, tcp full, udp).

nmap-parse.sh

Usefull in a big network with many hosts. Parser devides the hosts into files containing all hosts with a certain open port.

E.g Output files:

hosts/hosts.rdp     # all ips with an open rdp port
hosts/hosts.ssh     # all ips with an open ssh port
hosts/hosts.http    # ...
hosts/hosts.ftp
hosts/hosts.telnet

nmap-to-json.py

  • Takes nmaps gnmap file and converts it to json

Example Output: