hacktricks/pentesting/pentesting-web/python.md

19 lines
410 B
Markdown
Raw Normal View History

# Python
## 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
```
2021-06-26 13:01:09 +00:00
### Tricks
2021-10-06 10:13:49 +00:00
{% page-ref page="../../misc/basic-python/bypass-python-sandboxes/" %}
2021-06-26 13:01:09 +00:00
{% page-ref page="../../pentesting-web/ssti-server-side-template-injection/" %}
{% page-ref page="../../pentesting-web/deserialization/" %}