惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
Docker
F
Fortinet All Blogs
爱范儿
爱范儿
博客园 - Franky
MyScale Blog
MyScale Blog
罗磊的独立博客
博客园 - 三生石上(FineUI控件)
B
Blog
P
Proofpoint News Feed
IT之家
IT之家
宝玉的分享
宝玉的分享
D
DataBreaches.Net
S
SegmentFault 最新的问题
Microsoft Azure Blog
Microsoft Azure Blog
GbyAI
GbyAI
M
MIT News - Artificial intelligence
L
LangChain Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
月光博客
月光博客
雷峰网
雷峰网
Stack Overflow Blog
Stack Overflow Blog
量子位
V
V2EX
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻

Black Hills Information Security, Inc.

Bad Habits: An ANTISOC Operation Same Problem, Different Angles: When Red Team and Blue Team Actually Talk to Each Other How to Identify and Exploit New Vulnerabilities Swapper – A Pure Regex Match/Replace Burp Extension A Practical Guide to BloodHound Data Collection Network Engineering Basics Signed, Trusted, and Abused: Proxy Execution via WebView2 Getting Started In Pentesting – Advice From The BHIS Pentest Lead Cloud Security: Tips and Resources for Securing the Cloud Lessons From A Chatbot Incident How to Lead Effective Tabletops Understanding GRC: How to Navigate Risks and Compliance Standards The “P” in PAM is for Persistence: Linux Persistence Technique Malware Analysis: How to Analyze and Understand Malware OSINT: How to Find, Use, and Control Open-Source Intelligence What to Do with Your First Home Lab When the SOC Goes to Deadwood: A Night to Remember Social Engineering and Microsoft SSPR: The Road to Pwnage is Paved with Good Intentions Common Cyber Threats Finding the Right Penetration Testing Company Deceptive-Auditing: An Active Directory Honeypots Tool The Curious Case of the Comburglar How to Set Smart Goals (That Actually Work For You) Inside the BHIS SOC: A Conversation with Hayden Covington Abusing Delegation with Impacket (Part 3): Resource-Based Constrained Delegation Why You Got Hacked – 2025 Super Edition Abusing Delegation with Impacket (Part 2): Constrained Delegation Abusing Delegation with Impacket (Part 1): Unconstrained Delegation GoSpoof – Turning Attacks into Intel Model Context Protocol (MCP)
Burp Suite Extension: Copy For
BHIS · 2025-03-07 · via Black Hills Information Security, Inc.

, , ,

Chris has been working in security for 30 years, mainly doing penetration testing in both consulting and corporate environments. Chris is the author of the Nikto web scanner, founder of the RVAsec conference, and has been involved in many OSS projects and community efforts.

If you’ve ever had to take a request from Burp and turn it into a command line, especially for jwt_tool.py, you know it can be painful—but no more! The “Copy For” extension is here to save valuable time.

This simple extension allows you to quickly generate command-line syntax for security tools directly from Burp Suite’s context menu.

What is Copy For?

Copy For is a Burp Suite extension that enables pentesters to effortlessly copy formatted commands for popular security tools. It integrates into Burp’s UI by adding new options to the Extensions context menu when you right-click on a request.

Why Use Copy For?

As a pentester, you often need to switch between Burp Suite and other command-line tools during your assessments. Manually crafting commands for these tools can be time-consuming and error prone. Copy For eliminates this hassle by automatically generating properly formatted commands based on the selected request in Burp.

Key Features

Built-in Commands: Copy For comes with built-in support for several popular tools, including:

  • curl – command line tool and library for transferring data with URLs
  • ffuf – Fuzz Faster U Fool
  • jwt_tool.py – The JSON Web Token Toolkit v2
  • Nikto – Web scanner
  • Nmap – The Network Mapper
  • Nuclei – Vulnerability Scanner
  • Wget – Retrieves files via the most widely used Internet protocols

You can also add your own custom commands, allowing you to extend the functionality to suit your specific needs.

Variable Substitution: The extension uses a variable substitution system, automatically populating commands with relevant information from the selected request. The substitutions are:

  •         {baseurl} – Base URL (protocol , user/pass, port, domain)
  •         {body} – Request body (if present)
  •         {directory} – Path-safe directory name based on base URL
  •         {url} – Full URL
  •         {filename} – Path-safe filename based on hostname
  •         {headers} – Request headers
  •         {hostname} – Hostname header value
  •         {method} – HTTP method
  •         {port} – Port number
  •         {ua} – User Agent (default is Firefox)

For the built-in commands, some items like {headers} will be formatted into the proper command-line switches (such as “-h” or “-H” depending on the tool).

Configurable Flags: Each tool’s command flags can be customized through the extension’s configuration panel, giving you full control over the generated commands.

Default Tool Configuration

Custom Commands: An arbitrary number of custom commands can be added via the configuration panel, allowing you to add what you need without source code changes!

Add Custom Command

Save Configuration: The extension can save the current configuration in the Burp Project by pressing Update Running Config (which will keep the settings for the current project only), or in a JSON configuration file that can be loaded into any Burp Project.

Save Configuration

How Copy For Works

When you right-click on a request in Burp Suite, Copy For adds menu items for each tool. Upon selecting a tool from the menu, Copy For analyzes the request and extracts relevant information, and replaces placeholders with actual values.

Context Menu Items

The fully formed command is automatically copied to the clipboard.

Installation

Until the extension makes it to the BApp Store, simply download the python file directly or via git and tell Burp how to find it. You will also need to install Jython if you do not already have it.

  1. Clone the extension using git (or download the file directly):

git clone https://github.com/sullo/copy-for.git

  • Press the Add button in Burp’s Extensions tab.
  • Set the extension type to Python.
  • Press the “Select file…” button and navigate to the location you saved the extension’s code.
  • Press the Next button to complete the process.
Installation Process

Summary & Acknowledgements

Copy For is a handy addition to any pentester’s toolkit. By automating the tedious task of command generation, it allows you to focus on what really matters – finding and exploiting vulnerabilities. Whether you’re a seasoned professional or just starting out in the field, Copy For will help you work more efficiently and effectively in Burp Suite.

This extension builds on the idea of these other fine “Copy As” tools available in the BApp store:

Burp Extensions


Ready to learn more?

Level up your skills with affordable classes from Antisyphon!

Pay-What-You-Can Training

Available live/virtual and on-demand