Download a stable version of JRuby from JRuby Downloads
Select the jar for Linux (JRuby x.x.x Complete .jar) or Executable for Windows.
Import the environment from Burp Suite >> Extender >> Options >> Ruby Environment.
Import the Burp Suite Extender Core API
alert.rbrequire 'java'java_import 'burp.IBurpExtender'class BurpExtenderinclude IBurpExtenderdef registerExtenderCallbacks(callbacks)callbacks.setExtensionName("Rubyfu Alert!")callbacks.issueAlert("Alert: Ruby goes evil!")endend
Load the plugin alert.rb
Check Alerts tab
As Rubyfu project keeps groing, we've decided to develope our vesion of make a solid place for Ruby in the information security community. We've deceided to build a repository that makes building a Burp Suite extension in Ruby is very easy and understandable. Repository link
Buby is a mashup of JRuby with the popular commercial web security testing tool Burp Suite from PortSwigger. Burp is driven from and tied to JRuby with a Java extension using the BurpExtender API. This extension aims to add Ruby scriptability to Burp Suite with an interface comparable to the Burp's pure Java extension interface.