Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/user/bin/ruby
- require 'net/http'
- require 'open-uri'
- # HaMza KIller :D
- # To all Sec4ever members :D
- class String
- def black; "\033[30m#{self}\033[0m" end
- def red; "\033[31m#{self}\033[0m" end
- def green; "\033[32m#{self}\033[0m" end
- def brown; "\033[33m#{self}\033[0m" end
- def blue; "\033[34m#{self}\033[0m" end
- def magenta; "\033[35m#{self}\033[0m" end
- def cyan; "\033[36m#{self}\033[0m" end
- def gray; "\033[37m#{self}\033[0m" end
- def bg_red; "\033[41m#{self}\033[0m" end
- end
- def scr(xze)
- uri = URI.parse(xze)
- f = open(uri)
- xd=f.readlines.join
- # if(xd =~ /<div id="whmcsheader">/i || xd =~/<div class="whmcscontainer">/i)
- xs="[ Whmcs ]".green
- elsif(xd =~ /wp-includes/i ||xd =~ /wp-content/)
- xs="[ wordpress ]".blue
- elsif(xd =~ ~ /joomla/i || xd =~ /\/component\//i || xd =~ /com\_/i)
- xs="[ Joomla ]".brown
- elsif(xd =~ ~ /<input type="hidden" name="my_post_key"/i || xd =~ /mybb.com/i || xd =~ /mybb/i || xd =~ /onclick="MyBB.quickLogin()/i)
- xs="[ MyBB ]".cyan
- elsif(xd =~ ~ /4images /i || xd =~ /<img src=".\/templates\/default_960px\/images\/header_top_left.gif/i || xd =~ / Powered by <b>4images<\/b>/i)
- xs="[ 4images ]".magenta
- elsif(xd =~ /id="vbulletin_css">/i || xd =~ /vbulletin/ )
- xs="[ vBulletin ]".gray
- elsif(xd =~ /Drupal/i ||xd =~ /<textarea id="contactComment" rows="6" cols="48"><\/textarea>/ )
- xs="[ Drupal ]".red
- else
- xs="[ UNKNOWN ]".bg_red
- end
- return xs
- end
- def get(ip)
- end
- print"[+] Revers IP And Get All sites in Server :D \n"
- print"[+] Sec4ever.com Hamza killer :D \n"
- print"# Enter IP :"
- sit=gets.chomp
- print"# IP :#{sit}\n"
- print"# Start w0rking .... \n"
- path="/domains.php"
- http = Net::HTTP.new("domains.yougetsignal.com", 80)
- posts="remoteAddress=#{sit}"
- resp, data = http.post(path, posts)
- mp=resp.body.scan(/\[\"(.*?)\",/i)
- for p in mp
- xsz=p[0]
- px=scr("http://#{xsz}")
- print "#{xsz} => #{px} \n"
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement