Skip to content

Instantly share code, notes, and snippets.

@ryan-wendel
ryan-wendel / enum_host.sh
Last active December 15, 2023 17:41
nmap script I use to enumerate hosts and pull banners with amap. Could probably use to add a few more protocols. I'll get on that...
#!/bin/bash
HOST="$1"
BASE="$2"
SCAN_UDP="1"
GRAB_BANNERS="1"
TOP_TCP_PORTS="100"
TOP_UDP_PORTS="50"