Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/portswigger/example-event-listeners
https://github.com/portswigger/example-event-listeners
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/portswigger/example-event-listeners
- Owner: PortSwigger
- Created: 2017-02-14T05:03:19.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-12-23T00:07:10.000Z (about 3 years ago)
- Last Synced: 2023-09-07T06:46:14.560Z (over 1 year ago)
- Language: Java
- Size: 3.91 KB
- Stars: 15
- Watchers: 3
- Forks: 14
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sample Burp Suite extension: event listeners
This extension demonstrates how to register listeners for various runtime
events:
- HTTP requests and responses for all Burp tools.
- HTTP messages intercepted by the Proxy.
- Addition of new scan issues.
- The extension being unloaded by the user.The sample extension simply prints a message to its output stream when an event
occurs.Registering an extension state listener is particularly important for any
extension that starts background threads or opens system resources (such as
files or database connections). The extension should listen for itself being
unloaded by the user, and should terminate any background threads or close any
open resources when this event occurs. This good practice enables the user to
fully unload the extension via the Burp UI.This repository includes source code for Java, Python and Ruby.