Skip to content
/ copy-for Public

Burp Suite Extension: Copy For...

License

Notifications You must be signed in to change notification settings

sullo/copy-for

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Burp Extension: Copy For

c4

Purpose

This Burp extension adds a sub-menu under the "Extensions" contextual menu (when you right-click in a request) which allows you to create a command-line to run a particular tool using the the selected HTTP request . The formatted command will then be stored in the clipboard.

Additionally, custom commands can be added via the configuration menu.

Menu Selection

The default Copy For commands are:

  • curl
  • ffuf
  • jwt_tool.py
  • Nikto
  • Nmap
  • Nuclei
  • wget

Commands

Commands are defined in the configuration panel. Each tool can be customized and saved. Config Screen

Variable replacement in the commands works by parsing values from the request and replacing with the ones listed below:

{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) 

The default tool configs are:

"jwt_tool": "python3 jwt_tool.py -t '{url}' {headers} -M at",
"nikto": "nikto.pl -F htm -S . -o . -h '{url}' -p {port}",
"nmap": "nmap {hostname} -oA {filename} -Pn -p- -sCV",
"nuclei": "nuclei -u '{baseurl}' -me {directory} -H 'User-Agent: {ua}'",
"ffuf": "ffuf -u {baseurl}/FUZZ {headers}",
"curl": "curl -X {method} {headers} '{url}'",
"wget": "wget '{url}' {headers}",
"ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:132.0) Gecko/20100101 Firefox/132.0"

Change any flags to suit your needs.

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!

image

About

Burp Suite Extension: Copy For...

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages