Ever found and RCE but just can't seem to get a shell? Well we do have RCE right?? Let's Exfiltrate!!
This script works by using different means to quickly exfiltrate the output of RCE.
We try to smuggle information out of the target using commands such as CURL, WGET, certutil, etc
-
We start by defining a python module with function my_rce_function(cmd) to tell the script what to do to trigger RCE
-
An HTTP server is started to listen to output
-
We parse your RCE module and wrap it in the various smuggling commands to send back information