A go-based command-line tool to generate Burp Suite configuration files with custom IP/domain scopes.
To install burpconfiggenerator
, make sure you have Go 1.16 or later installed, and run the following command:
go install github.com/predator77799/burpconfiggenerator@latest
Make sure that your Go bin
directory (usually $GOPATH/bin
or $HOME/go/bin
) is included in your system's PATH
environment variable so you can use the installed binary directly.
After installing burpconfiggenerator
, you can generate a Burp Suite configuration file using the following command:
burpconfiggenerator --input path/to/scope.txt --output path/to/burp_config.json
Example input (scope.txt
):
192.168.1.1
192.168.1.2
192.168.1.3
Example output (burp_config.json
):
{
"target": {
"scope": {
"include": [
{
"enabled": "true",
"protocol": "any",
"host": "192.168.1.1"
},
{
"enabled": "true",
"protocol": "any",
"host": "192.168.1.2"
},
{
"enabled": "true",
"protocol": "any",
"host": "192.168.1.3"
}
],
"exclude": []
}
}
}
By default, if the flags are not provided, the program will use "scope.txt" as the input file and "burp_config.json" as the output file:
burpconfiggenerator
The scope.txt
file should contain a list of IP addresses or domain names, with one IP address/domain name per line. The generated configuration file will include these IP addresses/domain names as the in-scope targets for Burp Suite.