Advertisement
agunq

heh

Nov 7th, 2019
297
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. #TODO bypass
  2.  
  3. require 'net/http'
  4. require 'uri'
  5.  
  6. uri = URI.parse("https://www.anjay.info/communication-of-spatial-concepts/")
  7. request = Net::HTTP::Post.new(uri)
  8. request.set_form_data(
  9. "eastsafelink_id" => "VWErNWlBZmpCUlMvT0pxVHE3YS84ajdXMFpNc2JGQTZNaUZOMFVKTEdmTWlYM2pSeURSYnF1SUkyYlhEbFZCbQ=="
  10. )
  11.  
  12. response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: uri.scheme == "https") do |http|
  13. http.request(request)
  14. end
  15.  
  16. puts response.body.match(/var a='(.*?)'/).captures
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement