SHARE
TWEET

Untitled

a guest Jan 20th, 2019 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. require 'net/http'
  2.  
  3. File.open('ms_list.txt', 'r') do |f1|
  4.    while line = f1.gets  
  5.      Net::HTTP.get 'technet.microsoft.com', "/en-us/security/bulletin/#{line}"
  6.    end
  7. end
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21. /usr/lib/ruby/1.8/net/protocol.rb:135:in `sysread': end of file reached (EOFError)
  22.     from /usr/lib/ruby/1.8/net/protocol.rb:135:in `rbuf_fill'
  23.     from /usr/lib/ruby/1.8/timeout.rb:67:in `timeout'
  24.     from /usr/lib/ruby/1.8/timeout.rb:101:in `timeout'
  25.     from /usr/lib/ruby/1.8/net/protocol.rb:134:in `rbuf_fill'
  26.     from /usr/lib/ruby/1.8/net/protocol.rb:116:in `readuntil'
  27.     from /usr/lib/ruby/1.8/net/protocol.rb:126:in `readline'
  28.     from /usr/lib/ruby/1.8/net/http.rb:2028:in `read_status_line'
  29.     from /usr/lib/ruby/1.8/net/http.rb:2017:in `read_new'
  30.     from /usr/lib/ruby/1.8/net/http.rb:1051:in `request'
  31.     from /usr/lib/ruby/1.8/net/http.rb:948:in `request_get'
  32.     from /usr/lib/ruby/1.8/net/http.rb:375:in `get_response'
  33.     from /usr/lib/ruby/1.8/net/http.rb:543:in `start'
  34.     from /usr/lib/ruby/1.8/net/http.rb:374:in `get_response'
  35.     from /usr/lib/ruby/1.8/net/http.rb:356:in `get'
  36.     from ./list_ms_description.rb:9
  37.     from ./list_ms_description.rb:7:in `open'
  38.     from ./list_ms_description.rb:7
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top