Saturday, September 28, 2019

Script for /usr/bin/theharvester

Wrote this quick script to run theharvester:

#!/bin/bash
# Script runs the harvester
dns="domain.local"
sources="baidu bing crtsh censys cymon dogpile google googleCSE virustotal netcraft linkedin pgp twitter vhost yahoo"
numbResults="100"

for i in $sources; do
    theharvester -d $dns -l $numbResults -b $i -h -f mb-$i
done


No comments:

Post a Comment

Test Authentication from Linux Console using python3 pexpect

Working with the IT420 lab, you will discover that we need to discover a vulnerable user account.  The following python3 script uses the pex...