Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # <script type="text/javascript">document.write(Base64.decode(str_rot13("ZGN0YwRmZF4mZP40Zt==")))</script>
- require 'open-uri'
- require 'nokogiri'
- require 'base64'
- doc = Nokogiri::HTML(open('https://www.cool-proxy.net/proxies/http_proxy_list/sort:score/direction:desc'))
- doc.css('table tr td').each do |node|
- nodeText = node.children[0].text
- if nodeText['document.write']
- nodeText['document.write(Base64.decode(str_rot13("'] = ""
- nodeText['")))'] = ""
- puts Base64.decode64(nodeText);
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement