🍗 Wiki

Ronin

Ronin

Ronin is a Free and Open Source Ruby Toolkit for Security Research and Development.

1. Installation

gem install ronin

2. Write a webhook in three lines

require 'ronin/listener/http'

Ronin::Listener::HTTP.listen(host: '127.0.0.1', port: 8080) do |request|
  puts "#{request.method} #{request.path} #{request.version}"
end

You can write a full feature webhook in 9 lines.

require 'ronin/listener/http'

Ronin::Listener::HTTP.listen(host: '127.0.0.1', port: 8080) do |request|
  puts "#{request.method} #{request.path} #{request.version}"

  request.headers.each do |name,value|
    puts "#{name}: #{value}"
  end

  puts request.body if request.body
  puts
end