# 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:

```
```