Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <style>
- html { background:url(http://www.ajithkp560.hostei.com/images/background.gif) black; }
- #result{ -moz-border-radius: 10px; border-radius: 10px; border:1px solid green; padding:4px 8px; line-height:16px; background:#111111; color:#aaa; margin:0 0 8px 0; min-height:100px;}
- textarea { background-color:#111111; border:1px groove #333; color:green; }
- textarea:hover { text-decoration:none; border:1px dashed #333; }
- hr { border:1px solid #222222; }
- .tbl{ width:100%; padding:4px 0; color:#888; font-size:15px; text-align:center; }
- .tbl a{ text-decoration:none; color:green; font-size:15px; vertical-align:middle; }
- .tbl a:hover{text-decoration:underline;}
- .tbl td{ border-bottom:1px solid #222222; padding:0 8px; line-height:24px; vertical-align:middle; width: 300px; }
- .tbl th{ padding:3px 8px; font-weight:normal; background:#222222; color:#555; vertical-align:middle; }
- .tbl tr:hover{ background:#181818; }
- input { font-size:11px; background:#191919; color:green; margin:0 4px; border:1px solid #222222; }
- .input_big { width:75px; height:30px; background:#191919; color:green; margin:0 4px; border:1px solid #222222; font-size:17px; }
- </style>
- <title>WP Scanner By Ajithkp560</title>
- <?php
- if(!isset($_POST['sites']))
- {
- ?>
- <div id=result><center><h2>Input Website</h2><hr /><br /><br /><form method=post><input name='sites' size=60><br /><input type=submit class=input_big value=' >> ' /></form><br /><br /><hr /><br /><br /></center></div>
- <?php
- }
- else
- {
- set_time_limit(0);
- echo "<div id=result><center><h2>Scanner Report</h2><hr /><br /><br /><table class=tbl><tr><th>Sites</th><th>Version</th></tr>";
- $uri_in=$_POST['sites'];
- $rty=$uri_in;
- if(strtolower(substr($rty,0,4))!=="http")
- {
- $rty="http://$rty";
- }
- $urlzzx="$rty/wp-includes/";
- if(function_exists('curl_init'))
- {
- $ch = curl_init($urlzzx);
- curl_setopt($ch, CURLOPT_NOBODY, true);
- curl_exec($ch);
- $status_code=curl_getinfo($ch, CURLINFO_HTTP_CODE);
- curl_close($ch);
- if($status_code!=404)
- {
- echo "<tr><td style='text-align:left'><font color=orange>Checking : </font> <font color=7171C6> $rty </font></td>";
- echo "<td style='text-align:left'><font color=green>Wordpress ".version($rty)."</font></td></tr>";
- }
- else
- {
- echo "<font color=red>Not Wordpress</font>";
- }
- }
- echo "</table><br /><br /><hr /><br /><br /></div>";
- }
- function version($rty)
- {
- set_time_limit(0);
- $verz=array("2.0" => "a306a72ce0f250e5f67132dc6bcb2ccb","2.1" => "4f04728cb4631a553c4266c14b9846aa","2.2" => "25e1e78d5b0c221e98e14c6e8c62084f","2.3" => "83c83d0f0a71bd57c320d93e59991c53","2.5" => "7293453cf0ff5a9a4cfe8cebd5b5a71a","2.6" => "61740709537bd19fb6e03b7e11eb8812","2.7" => "e6bbc53a727f3af003af272fd229b0b2","2.8.5" => "56c606da29ea9b8f8d823eeab8038ee8","2.9.1" => "128e75ed19d49a94a771586bf83265ec","3" => "7bb1a2544d68472f8c4db9941d5b0e3e","3.0.0" => "128e75ed19d49a94a771586bf83265ec","3.0.1" => "0711a6aa3862ac0dd2f9ef1a3d26f809","3.0.2" => "0711a6aa3862ac0dd2f9ef1a3d26f809","3.0.3" => "0711a6aa3862ac0dd2f9ef1a3d26f809","3.0.4" => "0711a6aa3862ac0dd2f9ef1a3d26f809","3.0.5" => "0711a6aa3862ac0dd2f9ef1a3d26f809","3.0.6" => "0711a6aa3862ac0dd2f9ef1a3d26f809","3.1" => "c67211f73b63e773e626127aa95338c2","3.1.1" => "1786644689f0495f07d5ae1737395108","3.1.2" => "1786644689f0495f07d5ae1737395108","3.1.3" => "1786644689f0495f07d5ae1737395108","3.1.4" => "1786644689f0495f07d5ae1737395108","3.2" => "b2c6b6d221c816948248b453046355eb","3.2.1" => "b2c6b6d221c816948248b453046355eb","3.3.1" => "9754385dabfc67c8b6d49ad4acba25c3","3.3.2" => "9754385dabfc67c8b6d49ad4acba25c3");
- $ff="$rty/wp/wp-includes/js/tinymce/tiny_mce.js";
- $mddd5=md5(file_get_contents($ff));
- foreach($verz as $v => $md5)
- {
- if(strstr($md5, $mddd5))
- {
- return $v;
- }
- else
- {
- $v="<font color=red>???</font>";
- return($v);
- }
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment