Skip to content

Instantly share code, notes, and snippets.

@SadProcessor
Last active April 13, 2016 21:44
Show Gist options
  • Save SadProcessor/c6efddafa25b04260dbe9b734d6b36f2 to your computer and use it in GitHub Desktop.
Save SadProcessor/c6efddafa25b04260dbe9b734d6b36f2 to your computer and use it in GitHub Desktop.
3rd party Code: If you can't read it, you shouldn't run it...
#############################################################################
$t = "3rd party Code: If you can't read it, you shouldn't run it..."
#############################################################################
$V = @('a';'e';'i';'o';'u';'y';'A';'E';'I';'O';'U';'Y')
foreach($x in $v){$t = $t.replace($x,('"+$v['+($v.IndexOf($x))+']+"'))}
$t = '$V = @("a";"e";"i";"o";"u";"y";"A";"E";"I";"O";"U";"Y");'+'"'+$t+'"'|`
clip.exe
#############################################################################
# press F5 in console & ctrl-V into a new powershell console for demo #
#############################################################################
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment