Advertisement
hamzakiller21

Web-rev

Jun 12th, 2014
427
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 1.95 KB | None | 0 0
  1. #!/user/bin/ruby
  2. require 'net/http'
  3. require 'open-uri'
  4. # HaMza KIller :D
  5. # To all Sec4ever members :D
  6.  
  7. class String
  8. def black;          "\033[30m#{self}\033[0m" end
  9. def red;            "\033[31m#{self}\033[0m" end
  10. def green;          "\033[32m#{self}\033[0m" end
  11. def  brown;         "\033[33m#{self}\033[0m" end
  12. def blue;           "\033[34m#{self}\033[0m" end
  13. def magenta;        "\033[35m#{self}\033[0m" end
  14. def cyan;           "\033[36m#{self}\033[0m" end
  15. def gray;           "\033[37m#{self}\033[0m" end
  16. def bg_red;         "\033[41m#{self}\033[0m" end
  17. end
  18. def scr(xze)
  19. uri = URI.parse(xze)
  20. f = open(uri)
  21. xd=f.readlines.join
  22. # if(xd =~ /<div id="whmcsheader">/i || xd =~/<div class="whmcscontainer">/i)
  23. xs="[ Whmcs ]".green
  24. elsif(xd =~ /wp-includes/i ||xd =~ /wp-content/)
  25. xs="[ wordpress ]".blue
  26. elsif(xd =~ ~ /joomla/i || xd =~ /\/component\//i || xd =~ /com\_/i)
  27. xs="[ Joomla ]".brown
  28. elsif(xd =~ ~ /<input type="hidden" name="my_post_key"/i || xd =~ /mybb.com/i || xd =~ /mybb/i || xd =~ /onclick="MyBB.quickLogin()/i)
  29. xs="[ MyBB ]".cyan
  30. elsif(xd =~ ~ /4images /i || xd =~ /<img src=".\/templates\/default_960px\/images\/header_top_left.gif/i || xd =~ / Powered by <b>4images<\/b>/i)
  31. xs="[ 4images ]".magenta
  32. elsif(xd =~ /id="vbulletin_css">/i || xd =~ /vbulletin/  )
  33. xs="[ vBulletin ]".gray
  34. elsif(xd =~ /Drupal/i ||xd =~ /<textarea id="contactComment" rows="6" cols="48"><\/textarea>/ )
  35. xs="[ Drupal ]".red
  36. else
  37. xs="[ UNKNOWN ]".bg_red
  38. end
  39. return xs
  40. end
  41.  
  42. def get(ip)
  43.  
  44.  
  45. end
  46. print"[+] Revers IP And Get All sites in Server :D \n"
  47. print"[+] Sec4ever.com Hamza killer :D \n"
  48. print"# Enter IP  :"
  49. sit=gets.chomp
  50. print"# IP :#{sit}\n"
  51. print"# Start w0rking .... \n"
  52. path="/domains.php"
  53. http = Net::HTTP.new("domains.yougetsignal.com", 80)
  54. posts="remoteAddress=#{sit}"
  55. resp, data  = http.post(path, posts)
  56. mp=resp.body.scan(/\[\"(.*?)\",/i)
  57.  
  58. for p in mp
  59. xsz=p[0]
  60. px=scr("http://#{xsz}")
  61.  
  62. print "#{xsz}  => #{px}  \n"
  63. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement