23 lines
364 B
Plaintext
23 lines
364 B
Plaintext
|
#!/usr/bin/env ruby
|
||
|
# frozen_string_literal: true
|
||
|
|
||
|
require "bundler/setup"
|
||
|
require "rex"
|
||
|
|
||
|
puts <<~STR
|
||
|
__
|
||
|
/ _)
|
||
|
_.----._/ /
|
||
|
/ /
|
||
|
__/ ( | ( |
|
||
|
/__.-'|_|--|_|
|
||
|
|
||
|
Ruby Exchange (Rex)
|
||
|
Author: Tim Kächele
|
||
|
License: AGPLv3
|
||
|
STR
|
||
|
|
||
|
EM.run {
|
||
|
Rex::Server::SimpleServerSetup.new(ARGV[0], ARGV[1].to_i).start
|
||
|
}
|