Skip to content

Compiling

Dayanç Soyadlı edited this page Nov 10, 2018 · 1 revision

After the (run) command you will see a screen like this :

creator > run

[+] Hidden Process Base64 Encoded Powershell Reverse Shell generated                [+]

[+] How to compile : gcc lib/decode.c lib/pwshell.c -o pwshell                      [+]

[+]                     Technique = strstr                                          [+]

[+] After compiling you can send the reverse shell(pwshell.exe) to the victim       [+]

This screen gives a few info like where is generated reverse shell or how can you compile the file.

As you can see in this screen after the (run) command mcreator putting the (C) File to lib/ directory in mcreator/ directory.

You can go to there and run this compile command to make reverse shell ready.

gcc lib/decode.c lib/pwshell.c -o pwshell

You can change the name of file if you want or you can change the compile directory.

Clone this wiki locally