Burp Suite User Forum

Login to post

Unattended installation is not "unattended"

Andriy | Last updated: Jun 21, 2022 08:40AM UTC

OS: Ubuntu 20.04 1. Downloaded latest burpsuite_enterprise_linux_v2022_5.sh 2. Copied "response.varfile" file from you documentation page: https://portswigger.net/burp/documentation/enterprise/getting-started/unattended-installation 3. Run command: ~$ cat response.varfile beuser=burpsuite beuserandgroup=burpsuite\:burpsuite dataDirectory=/var/lib/BurpSuiteEnterpriseEdition databaseBackupsDirectory=/var/lib/BurpSuiteEnterpriseEdition dbType=h2 escapedDataDir=/var/lib/BurpSuiteEnterpriseEdition escapedInstallationDir=/opt/burpsuite_enterprise jreHome=/opt/burpsuite_enterprise/jre logsDirectory=/var/log/BurpSuiteEnterpriseEdition platformScriptSuffix=sh sys.adminRights$Boolean=true sys.component.agent$Boolean=true sys.component.db$Boolean=true sys.component.enterprise$Boolean=true sys.component.web$Boolean=true sys.installationDir=/opt/burpsuite_enterprise sys.languageId=en sys.programGroupDisabled$Boolean=true webserver_port$Integer=8080 ~$ sudo sh burpsuite_enterprise_linux_v2022_5.sh -c -q -varfile response.varfile Unpacking JRE ... Starting Installer ... Welcome to the Burp Suite Enterprise Edition Setup Wizard This will install Burp Suite Enterprise Edition on your computer Select the folder where you would like Burp Suite Enterprise Edition to be installed. Where should Burp Suite Enterprise Edition be installed? [/opt/burpsuite_enterprise] Problem: So it still asks for the manual input. From my understanding it was suppose to install everything silently without asking me.

James, PortSwigger Agent | Last updated: Jun 21, 2022 10:07AM UTC

Hi Andriy,

Thanks for your message.

Please remove the "-c" from the command, so:
sudo sh burpsuite_enterprise_linux_v2022_5.sh -q -varfile response.varfile

I have asked our documentation team to update the page to remove this from the command, apologies for any inconvenience.

Andriy | Last updated: Jun 21, 2022 11:35AM UTC

Thank you. Can you please point me to a document where I can get more information on unattended installs. In particular, I would like to know how to provide host for the external database (PostgreSQL).

James, PortSwigger Agent | Last updated: Jun 21, 2022 03:39PM UTC

Hi Andriy,

There are two many different varfile variants to list them all in the documentation, so the recommended approach mentioned is to run a manual test installation once, which will generate a varfile that you can use for the production automated install. Here is an example varfile to use your own Postgres database:
# install4j response file for Burp Suite Enterprise Edition 2022.5
beuser=burpsuite
beuserandgroup=burpsuite\:burpsuite
dataDirectory=/var/lib/BurpSuiteEnterpriseEdition
dbType=postgres
escapedDataDir=/var/lib/BurpSuiteEnterpriseEdition
escapedInstallationDir=/opt/burpsuite_enterprise
jreHome=/opt/burpsuite_enterprise/jre
logsDirectory=/var/log/BurpSuiteEnterpriseEdition
platformScriptSuffix=sh
sys.adminRights$Boolean=true
sys.component.agent$Boolean=true
sys.component.db$Boolean=false
sys.component.enterprise$Boolean=true
sys.component.web$Boolean=true
sys.installationDir=/opt/burpsuite_enterprise
sys.languageId=en
sys.programGroupDisabled$Boolean=true
webserver_port$Integer=8443
Points to note:
1) When using an external database, the default port of 8443 must be used for initial installation, you can change this after install in the user interface if you want to.

2) Due to using an external database, the user interface will be accessible on HTTPS using a temporary self-signed certificate e.g https://localhost:8443 - this can be changed after the installation is complete.

3) The database connection and database user information is entered in the browser user interface at the above URL after the command line install has completed.

4) Please also check you have run our database setup script for Postgres and followed this guide before starting the install: https://portswigger.net/burp/documentation/enterprise/getting-started/setup-ext-db

Andriy | Last updated: Jun 27, 2022 02:56PM UTC

Thank you! But is there a way to set JDBC string not through Web UI ? I would like to fully automate installation of the BSE.

James, PortSwigger Agent | Last updated: Jun 27, 2022 03:20PM UTC

Hi Andriy,

The database connection information must be entered manually, in the web browser. This only has to be done once at the point of initial server installation and is not required when installing additional scanning machines.

You need to Log in to post a reply. Or register here, for free.