Deserialization
nodejs
nodejs
Install
node-serialize
:
nodejsshell.py
Method:
Create the node reverse shell:
Once you have a serialized reverse shell, add it to this function:
Now serialize convert to
base64
the exploit using:
msfvenom
also has a module to generate payloads:
Another great tool is
ysoserial
Another way is to get command execution is by using this function:
We can generate a reverse shell out of this by encoding the command first to
base64
:
Now add that string to the function like this:
Now
URL
encode the payload and add it to the cookie.
Last updated