codewatchorg / Burp-UserAgent

Automatically modify the User-Agent header in all Burp requests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Burp-UserAgent

Automatically modify the User-Agent header in all Burp requests.

Burp UserAgent

Update or set the User-Agent header in all requests to a specific value.

The extension uses the Firefox UserAgentSwitcher XML file format, and the default XML file for the extension is found here: http://techpatterns.com/downloads/firefox/useragentswitcher.xml. If you create your own XML file, it needs to be named useragents.xml and be placed in the same directory as the main Burp jar file or the directory in which the extension is installed.

There are probably limited use cases for this extension, but at times I have found the need to use a tool or browser through Burp that didn't have an option for configuring the User-Agent header. This was an easy extension to write so I thought why not.

Usage

Steps include:

  1. Add extension to burp
  2. Create a session handling rule in Burp that invokes this extension
  3. Modify the scope to include applicable tools and URLs
  4. Configure the User-Agent header you want to use in the "Burp UserAgent" tab
  5. Test away

About

Automatically modify the User-Agent header in all Burp requests


Languages

Language:Java 100.0%