mirror of
https://github.com/carlospolop/hacktricks
synced 2024-11-21 20:23:18 +00:00
GitBook: [master] one page and one asset modified
This commit is contained in:
parent
82bdf06844
commit
b1b10f518f
2 changed files with 9 additions and 0 deletions
BIN
.gitbook/assets/image (610).png
Normal file
BIN
.gitbook/assets/image (610).png
Normal file
Binary file not shown.
After Width: | Height: | Size: 69 KiB |
|
@ -2,6 +2,15 @@
|
|||
|
||||
## Laravel Tricks
|
||||
|
||||
### Debugging mode
|
||||
|
||||
If Laravel is in **debugging mode** you will be able to access the **code** and **sensitive data**.
|
||||
For example `http://127.0.0.1:8000/profiles`:
|
||||
|
||||
![](../../.gitbook/assets/image%20%28610%29.png)
|
||||
|
||||
This is usually needed for exploiting other Laravel RCE CVEs.
|
||||
|
||||
### .env
|
||||
|
||||
Laravel saves the APP it uses to encrypt the cookies and other credentials inside a file called `.env` that can be accessed using some path traversal under: `/../.env`
|
||||
|
|
Loading…
Reference in a new issue