RAIDON

Openbullet 2 Plugins Page

Most popular plugin type.

Instead of just saving .txt files, plugins can push successful hits to Discord, Telegram, Slack, or a MySQL database for real-time alerting.


Create JwtSignBlock.cs:

using System.IdentityModel.Tokens.Jwt;
using System.Security.Cryptography;
using System.Text;
using Microsoft.IdentityModel.Tokens;
using OpenBullet2.Core.Models.Blocks;
using RuriLib.Models.Blocks;

[Block("CUSTOM", "JWT_SIGN", "Sign a JWT token")] public class JwtSignBlock : Block, ICustomBlock public string Name => "JWT Sign"; public string Description => "Signs a JWT token with HMAC-SHA256"; Openbullet 2 Plugins

public async Task<BlockResult> Execute(BlockContext context, Dictionary<string, string> parameters)
var payloadJson = parameters["payload"];
    var secret = parameters["secret"];
var securityKey = new SymmetricSecurityKey(Encoding.UTF8.GetBytes(secret));
    var credentials = new SigningCredentials(securityKey, SecurityAlgorithms.HmacSha256);
var handler = new JwtSecurityTokenHandler();
    var token = handler.CreateJwtSecurityToken(
        issuer: "OpenBullet",
        subject: null,
        audience: null,
        claims: null,
        expires: DateTime.UtcNow.AddHours(1),
        signingCredentials: credentials
    );
var tokenString = handler.WriteToken(token);
    context.SetVariable("jwt", tokenString);
return BlockResult.Successful;

From custom parsers to multi-proxy managers, OpenBullet 2 plugins turn a robust testing and automation platform into a limitless playground of integrations and tools — fueled by an active community and practical creativity. Most popular plugin type

OpenBullet 2 is built on .NET 6/7/8 (cross-platform). The plugin system uses MEF (Managed Extensibility Framework) or a similar dependency injection pattern. A plugin is a .NET class library that implements one or more predefined interfaces.

Core interfaces (simplified):

public interface IOb2Plugin
string Name  get; 
    string Description  get; 
    string Author  get; 
    Version Version  get;

public interface ICustomBlock : IOb2Plugin Task<BlockResult> Execute(BlockContext context, Dictionary<string, string> parameters); Create JwtSignBlock

public interface IRequestInterceptor : IOb2Plugin Task<HttpRequestMessage> OnRequest(HttpRequestMessage request, BotData botData); Task<HttpResponseMessage> OnResponse(HttpResponseMessage response, BotData botData);

public interface IDataProcessor : IOb2Plugin string Process(string input, string[] args);


OpenBullet 2 plugins transform a flexible core into an adaptable platform tailored to myriad workflows. With careful selection, testing, and responsible use, plugins let users automate smarter, scale efficiently, and innovate quickly—while the community shapes the future of the ecosystem.

Articles_bottom
SNL Awards_2026
AIC