Skip to content

Instantly share code, notes, and snippets.

View 0xFLTNT's full-sized avatar

0xFLTNT 0xFLTNT

View GitHub Profile
@insi2304
insi2304 / run_masscan.sh
Created December 31, 2019 09:38
Run Masscan on subdomains
#!/bin/bash
for i in `cat domains`;
do
j=`dig +short $i | tail -n1`
echo $j >> domain_ip.txt
done
for k in `cat domain_ip.txt | sort -u`
do
echo "Trying scanning hostname" $k
if [ -z "$k" ]