Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (22 sloc) 711 Bytes
#
# KING SABRI | @KINGSABRI
# BurpSuite Extension | Pure Alert message implementation
#
# Ruby requires
require 'java'
# Java imports
# Burp Suite API imports
java_import 'burp.IBurpExtender'
#
# BurpExtender, the main Extender API ِِclass to register all extensions and interfaces
#
class BurpExtender
include IBurpExtender
attr_reader :callbacks
# IBurpExtender::registerExtenderCallbacks(IBurpExtenderCallbacks callbacks);
def registerExtenderCallbacks(callbacks)
@callbacks = callbacks
@callbacks.setExtensionName('Ruby | Pure Alert Message') # Set Extension name
@callbacks.issueAlert('Alert: This is a message has been sent to Alert')
end
end
You can’t perform that action at this time.