Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <!-- By Yassinox_TN -->
- <style>
- BODY {
- background-color : black;
- color : 009900;
- }
- .input {
- padding: 3px; color: #009900; text-shadow: #777777 0px 0px 3px; border: 1px solid #007700; background: transparent; box-shadow: 0px 0px 4px #007700; padding: 3px; -webkit-border-radius: 4px;
- }
- .button { display: block; width: 100%; height: 37px; margin-bottom: 15px; font-size: 14px; font-weight: bold; color: #007700; text-align: center; text-shadow: 0 1px rgba(255, 255, 255, 0.3); background: #aeaeae; background-clip: padding-box; border: 1px solid #284473; border-bottom-color: #223b66; border-radius: 4px; cursor: pointer; background-image:-webkit-linear-gradient(top, #eaeaea, #d0d0d0); background-image: -moz-linear-gradient(top, #eaeaea, #d0d0d0); background-image: -o-linear-gradient(top, #eaeaea, #d0d0d0); background-image: linear-gradient(to bottom, #eaeaea, #d0d0d0); -webkit-box-shadow: inset 0 1px rgba(255, 255, 255, 0.5), inset 0 0 7px rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.15); box-shadow: inset 0 1px rgba(255, 255, 255, 0.5), inset 0 0 7px rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.15); }
- </style>
- <link href='http://fonts.googleapis.com/css?family=Fredericka+the+Great' rel='stylesheet' type='text/css'>
- <center>
- <font color="#009900" face="Fredericka the Great" style="font-size: 80pt">YASSINOX.TN</font>
- <br>
- <hr color="#009900">
- <br>
- <form action="" method="POST">
- <input type="text" name="ip" class="input" placeholder="Server Ip">
- <select type="text" name="cms" class="input" placeholder="User login">
- <option value="wordpress">Wordpress</option>
- <option value="joomla">Joomla</option>
- <option value="OpenCart">OpenCart</option>
- <option value="WHMCS">WHMCS</option>
- </select>
- <input type="submit" name="submit" class="input" value=" Scan Server ">
- </form>
- </center>
- <?php
- $pat = ""; // Pattern
- $i = 0; // Set Variable I to Zero
- function get_data($url) { // Running Curl
- $ch = curl_init();
- $timeout = 5;
- curl_setopt($ch, CURLOPT_URL, $url);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
- $data = curl_exec($ch);
- curl_close($ch);
- return $data;
- }
- if (isset($_POST['submit']))
- {
- $hostip = $_POST['ip'];
- $cms = $_POST['cms'];
- if ($cms == "wordpress")
- {
- $pat = "?page_id=";
- }
- elseif ($cms == "joomla")
- {
- $pat = "index.php?option=com";
- }
- elseif ($cms == "OpenCart")
- {
- $pat = "index.php?route=";
- }
- elseif ($cms == "WHMCS")
- {
- $pat = "clientarea.php";
- }
- echo "<center>";
- echo "<table border='1' width=27%>";
- echo "<tr><td> ".$cms."</td>";
- while ($i <= 50) {
- $u = get_data("http://www.bing.com/search?q=ip%3A".$hostip."+".$pat."&count=50&first=".$i);
- //--------
- $text = $_GET['text'];
- $pattern = '#<div class="b_title"><h2><a href=(.*?) h=(.*?)>#';
- preg_match_all($pattern, $u, $findlink);
- foreach ($findlink[1] as $fl)
- {
- $fls = str_replace('"','',$fl);
- $pat = str_replace("index.php","",$pat);
- $sitesssss = '#(.*?)/'.$pat.'#';
- preg_match_all($sitesssss, $fls, $finallist);
- foreach ($finallist[1] as $fsl)
- {
- $fsl = str_replace("?","",$fsl);
- $fsl = str_replace("index.php","",$fsl);
- echo "<tr><td>".stripslashes($fsl)."</td>";
- }
- }
- $i = $i + 10;
- }
- }
- echo "</center>";
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement