Skip to content

Instantly share code, notes, and snippets.

@pry0cc
Created April 7, 2022 13:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pry0cc/77adca02b1ac4e19304927ef3b4df10c to your computer and use it in GitHub Desktop.
Save pry0cc/77adca02b1ac4e19304927ef3b4df10c to your computer and use it in GitHub Desktop.
#!/bin/bash
url="$1"
domain=$(echo "$url" | unfurl domain)
pat=$(echo "$url" | unfurl path)
nmap -T4 -p80,443 -Pn -sV "$domain" --script http-ntlm-info --script-args http-ntlm-info.root="$pat"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment