Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!usr/bin/ruby
- require 'webrick'
- ## Baypass some sec
- ## Baypass ovh cloud
- ## baypass some server use Cagefs :D
- ## Hamza Killer
- print"[+]====================[+]\n"
- print"[+] Ruby Server Gen [+]\n"
- print"[+] HamZa-Xdz(killer) [+]\n"
- print"[+]====================[+]\n"
- print"Usage ruby x.rb port\n"
- print" ruby x.rb 5050 \n"
- port=ARGV[0]
- begin
- if port
- xdz = WEBrick::HTTPServer.new(:Port => port, :DocumentRoot => Dir.pwd);
- trap('INT') {
- xdz.shutdown };
- xdz.start
- end
- rescue
- puts "Some Error Her -_- \n"
- exit
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement