Skip to content

Instantly share code, notes, and snippets.

View Uyavuz24's full-sized avatar
:octocat:
lovin cat videos

UYavuz Uyavuz24

:octocat:
lovin cat videos
View GitHub Profile
@priyanshus
priyanshus / port-scan.sh
Last active September 7, 2024 08:39
NMAP scan for a list of subdomains
#!/bin/bash
#Performs port scan using nmap
print_usage() {
cat << _EOF_
Utility to scan open ports. Can be used to scan ports for a domain or a list of domains specified in a file.
Example Usage:
-h, --help Show brief help
-d, --domain Domain name or ip to scan
-f, --file Spefify a file containing domains/IPs to scan