简体   繁体   中英

decode php file help

I had a file uploaded to my server called t.php in a directory called LANG

Can anyone decode this please, looks like it auto builds pages ..

(removed potentially malicious code; see the revision history)

The main text blobs come out to:

$x0b = "file_get_contents";
$x0c = "header";

$source = "http://www.megavideo.com/xml/videolink.php?v=$vid"

echo "<h2>There was a problem parsing your XML</h2>"

$x0c("Location: http://www.megavideo.com/previewplayer/?v=&width=640&height=480")

So yes, you've been compromised. There's no legitimate reason to obfuscate file_get_contents() calls, particularly when pointing at a video sharing site.

Those look like unix shellcodes. As to why they are uploaded as such, how did you upload them? FTP GUI client or command line tool or how?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM