mirror of
https://github.com/HackTricks-wiki/hacktricks.git
synced 2025-10-10 18:36:50 +00:00
33 lines
563 B
Markdown
33 lines
563 B
Markdown
# Python
|
|
|
|
{{#include ../../banners/hacktricks-training.md}}
|
|
|
|
## Server using python
|
|
|
|
test a possible **code execution**, using the function _str()_:
|
|
|
|
```python
|
|
"+str(True)+" #If the string True is printed, then it is vulnerable
|
|
```
|
|
|
|
### Tricks
|
|
|
|
|
|
{{#ref}}
|
|
../../generic-methodologies-and-resources/python/bypass-python-sandboxes/README.md
|
|
{{#endref}}
|
|
|
|
|
|
{{#ref}}
|
|
../../pentesting-web/ssti-server-side-template-injection/README.md
|
|
{{#endref}}
|
|
|
|
|
|
{{#ref}}
|
|
../../pentesting-web/deserialization/README.md
|
|
{{#endref}}
|
|
|
|
{{#include ../../banners/hacktricks-training.md}}
|
|
|
|
|