Skip to content

Instantly share code, notes, and snippets.

@ahhh
Created September 12, 2018 19:27
Show Gist options
  • Save ahhh/abe2ba8ce2aa9d9d321ef43cf657645a to your computer and use it in GitHub Desktop.
Save ahhh/abe2ba8ce2aa9d9d321ef43cf657645a to your computer and use it in GitHub Desktop.
A short script to run gobuster across a list of IP addresses: https://github.com/OJ/gobuster
#!/bin/bash
filename='ips.txt'
outdir=$filename"_out/"
mkdir $outdir
filelines=`cat $filename`
echo Start
for line in $filelines ; do
urls="https://"$line"/"
outfile=$outdir$line
./gobuster -k -u $urls -w ./wordlist.txt -o $outfile
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment