Advertisement
Guest User

Joomla version checker

a guest
Jan 12th, 2013
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1.  
  2. <html>
  3. <head>
  4. <meta http-equiv="content-type" content="text/html; charset=windows-1256" />
  5. <title>Joomla Version Checker v.01</title>
  6. <br /><br /><font color="#33FFFF" face="Georgia" size="4"> ~!! Check joomla version !!~ </font>
  7. <br /> <br /><br /><br />
  8. <style type="text/css">
  9. body{
  10. background-color: #000000;
  11. text-align: center;
  12. color: #999999;
  13. }
  14. </style>
  15. </head>
  16. <body>
  17. <form method="POST" action="" />
  18. Site : <input type="text" name="site" size="30"/>
  19. <input type="submit" value="submit" />
  20. </form>
  21. <?php
  22.  
  23. /**
  24. * @author : SD-r1z
  25. * @copyright : 2012
  26. * @Greet : To all Sec4ever Memeberz .. and my SD friendz :D
  27. * @Specail : Thanks To Damane-DZ
  28. * @DESCRITPTION : The script show the version of joomla if exists
  29. */
  30. $site = $_POST["site"];
  31.  
  32. if (isset($_POST["site"])) {
  33.  
  34. $whois = @file_get_contents($site);
  35.  
  36. if($whois){
  37.  
  38. preg_match("@mla!([^|]+)- O@", $whois, $ver);
  39.  
  40. echo '<font color="white"><center>JoomLa Version : </font>';
  41. echo '<font color="red">'.$ver[1].'<br></font></center>';
  42. }
  43. }
  44. ?>
  45. <br /><br /><br /><br />
  46. </body>
  47. <p align="center" style="color: #999999" style="font:bold">Coded by <span style="color: #FF0000">SD-r1z</span> </p>
  48. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement