Skip to content

Instantly share code, notes, and snippets.

@iGh0st
Created June 18, 2014 18:36
Show Gist options
  • Save iGh0st/64883f0275d8f9da5c0e to your computer and use it in GitHub Desktop.
Save iGh0st/64883f0275d8f9da5c0e to your computer and use it in GitHub Desktop.
Exploit-DB
/* {
* Exploit-DB Searcher :)
* Coded By xSecurity
* Homepage : sec4ever.com - is-sec.com
* email : b0x@hotmail.com
* Skype : b0x-sa
* Special Thanks To : Mr.Dm4r
* Greets 2 : Lov3rDNS - b0x - RAB3OUN - FoX HaCkEr - No-QRQR - DeeF - abolalh - DameneDz - r0kin - All Members :)
* }
*/
@set_time_limit(0);
echo '
<form method="GET">
<title># Search For Exploits</title>
<body text="#FFFFFF" bgcolor="#000000">
<p align="center"><img src="http://www.exploit-db.com/wp-content/themes/exploit/images/exdb_logo2.png"></p>
<p align="left" dir="ltr"><b><font face="Tahoma" size="4">CMS Name :</font></b>
<input type="text" name="exploit" value="joomla">
<input type="submit" name="start" value="Search" /></p></form>';
# Style
echo '
<style>
input
{
border: 1px solid #777777;
background: #6e9e2d;
color: white;
font: bold 11px "Trebuchet MS";
padding: 4px;
}
</style>
';
$search = $_GET['exploit'];
$page1=(isset($_GET[p]) and $_GET[p]>=1)?intval($_GET[p]):1;
if($_GET['exploit']) {
$connect = @file_get_contents("http://www.exploit-db.com/search/?action=search&filter_page={$page1}&filter_description=$search");
preg_match_all('#<td class="list_explot_description">(.*?)</td>#si',$connect,$exploit);
foreach($exploit[1] as $exploits) {
echo $exploits."<br>";
}
$next = $page1+1;
$back = (($page1-1)==0)?1:$page1-1;
echo "<p align='left' dir='ltr'><font face='Tahoma' size='4'>
<a href='?exploit={$search}&p={$back}' style='text-decoration: none'>Back</a> |..|
<a href='?exploit={$search}&p={$next}' style='text-decoration: none'>NexT</a></font></p>";
}
echo '<p align="left" dir="ltr"><font face="Verdana" size="1">
+--------------------------------------------------------------------------+</font></p>
<p align="left" dir="ltr"><font face="Verdana" size="1"># By : xSecurity | b0x@hotmail.com | Sec4ever.CoM - is-Sec.CoM</font></p>
<p align="left" dir="ltr"><font face="Verdana" size="1"># Greets 2 :&nbsp;
Mr.Dm4r - Lov3rDNS - b0x - RAB3OUN - FoX HaCkEr - No-QRQR - DeeF - abolalh -
DameneDz - r0kin - All Sec4ever &amp; Is-Sec Members</font></p>';
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment