Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Index of / - .php files when saved don't show

I found a websites wp-include's directory and they hav't hidden parent directories. Meaning I can view files like this:

[Image: 29e14b4397a54cfb44c3ce342109408e.png]

However, everytime I right click and save link as for a .php file. It saves and nothing is in the file. How can I download these files to see the php code? They can't just be empty documents.
It's impossible. Otherwise you could download the config.php and just hack it actually.
pepe the frog
[Image: otsgvt.png]
Are you serious? Are you 100% serious? Or just a bad troll?
You cant download them via a browser or using the CLI. For one, you can use a browser because you dont have read access to the files and you cant use the command line because PHP is server-side. Unless you can change the privileges on the server itself pertaining these files, thats all youre going to get: a directory listing. If someone tells you otherwise, theyre bullshitting.

EDIT: Holy crap lol i seen all these replies when I submitted my response. I stand corrected.
Try to find a other vulnerability, since php is a server sided language you wont see a thing, however if you find a LFD, or an lfi where you can use the base64 encode, then you can get the php code
I laugh at the php file part.

And you cannot see anything as PHP is server sided.
Try finding a vuln, as stated above.
[Image: boostdroid-signature.gif]


Possibly Related Threads...
Thread / Author Replies Views Last Post
by koroboDec 4, 2017 03:34 PM 3 202 Dec 4, 2017 03:34 PM
Last Post: device
by langsam12Oct 22, 2016 05:48 PM 1 176 Oct 22, 2016 05:48 PM
Last Post: f1re_w1re
by moe00Mar 18, 2014 01:53 PM 26 533 Mar 18, 2014 01:53 PM
Last Post: 24/7