#!/usr/bin/ruby
File.open('useragent-5.txt', 'r') do |line|
  while line = line.gets
    H=`curl -s -i http://challenge01.root-me.org/webserveur/ch2/ -A '#{line}'`
  puts H
end
end