Skip to content

Conversation

@GangGreenTemperTatum
Copy link
Collaborator

@GangGreenTemperTatum GangGreenTemperTatum commented Jan 21, 2025

closes #16

  • adds hot-loadable prompts structured to specific model tasks/areas of focus
  • example prompts relating to traditional API vulns

new UI for the proxy ext tab layout:

Configuration File: [Config Selector]
System Prompt: [Prompt Selector] [Reload Prompt]
[Stop Extension]
image image

AI-Generated Summary

PR Summary

Overview of Changes

Arrr! This hefty update be transforming the user interface and bolstering functionality in the 'burpference' code treasury. It introduces separate panels for both configuration selection and prompt selection, making for a tidier and more navigable deck for the sailors of code. Also, a new feature for reloading the prompt template at sea, without navigating back to port, has been added to keep the vessel afloat. By adding functions for loading and selecting prompt templates, it allows for a more dynamic and responsive experience. T'is a fine day for setting sails towards more customizable horizons!

Key Modifications

  1. Enhanced Configuration and Prompt Handling: A new panel for configuration controls and another for prompt selections are created, improving the interface. The configuration selections now reside within their own dedicated panel alongside a fresh prompt selector panel, which includes a label, a combo box for selecting prompts, and a reload button for the prompt template.
  2. Dynamic Prompt Template Reloading: Added the reloadPromptTemplate function to allow users to reload the prompt template directly from the UI, without the need for a restart or manual file manipulation.
  3. Prompt File Loading and Template Selection: Introduced loadPromptFiles and loadPromptTemplate functions. These are designed to dynamically load available prompt templates from a specified directory and select them through the UI, making template management seamless and efficient.
  4. Constants Update: Modified consts.py to include PROMPTS_DIR for better organization and to facilitate the new loading and handling of prompt templates.

Potential Impact

  • User Experience Enhancement: The addition of dedicated panels and dynamic loading functions significantly improves the user interface, making it more intuitive and user-friendly.
  • Increased Customization: With the ability to select and reload prompt templates on the fly, users can now tailor the tool to better fit their needs, improving the tool’s versatility.
  • Possible Compatibility Concerns: These changes, while beneficial, might introduce compatibility issues with existing configurations or extensions relying on the previous structure or paths. Care should be taken to ensure a smooth transition.

This summary was generated with ❤️ by rigging

@GangGreenTemperTatum GangGreenTemperTatum self-assigned this Jan 21, 2025
@GangGreenTemperTatum GangGreenTemperTatum added the enhancement New feature or request label Jan 21, 2025
@GangGreenTemperTatum GangGreenTemperTatum merged commit d6b684e into main Jan 21, 2025
1 check passed
@GangGreenTemperTatum GangGreenTemperTatum deleted the ads/eng-831-feature-burpference-hot-loadable-proxy-and-scanner-prompts branch January 21, 2025 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Hot loadable proxy and scanner prompts

2 participants