Update README.md

Update details for Pickle payload.py
This commit is contained in:
Alvin Smith 2024-08-07 22:06:14 +12:00 committed by GitHub
parent 495183ab52
commit b830e382f2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -163,6 +163,8 @@ class P(object):
print(base64.b64encode(pickle.dumps(P())))
```
Before checking the bypass technique, try using `print(base64.b64encode(pickle.dumps(P(),2)))` to generate an object that is compatible with python2 if you're running python3.
For more information about escaping from **pickle jails** check:
{% content-ref url="../../generic-methodologies-and-resources/python/bypass-python-sandboxes/" %}