Burp Suite User Forum

Create new post

How to activate burp pro license for Service account user?

Shrihari | Last updated: Mar 04, 2021 03:46AM UTC

How to activate burp pro license for Service account user? Service account user don't have RDP access to machine/server. We have tried solution in https://forum.portswigger.net/thread/automate-burp-license-activation-d7489f56 however getting errors. Can you provide PowerShell script to activate license?

Hannah, PortSwigger Agent | Last updated: Mar 04, 2021 10:03AM UTC

Hi You can find instructions on how to activate Burp Suite Professional here: https://portswigger.net/burp/documentation/desktop/getting-started/launching/activating-burp-licence If you are running Burp on a CLI-only environment, you will receive text prompts to install and activate Burp. If you are looking to run this automatically, since v2020.4 (when running Burp in headless mode), you can execute multiple commands at once by using pipes, heredocs, and so on. You can check this in our release notes here: https://portswigger.net/burp/releases/professional-community-2020-4 Please bear in mind that if you are performing a lot of activations, you will hit our activation limit. This will require you to email in for more activations.

Shrihari-Vasantrao | Last updated: Mar 04, 2021 01:18PM UTC

we've already gone through the information you've provided but it hasn't helped so far. Python script doesn't work for us. Do you have a powershell script to achieve the same?

Shrihari-Vasantrao | Last updated: Mar 05, 2021 06:00AM UTC

we are getting below error with python script - Traceback (most recent call last): March 5th 2021 10:15:06Error File "D:\Octopus\Work\20210305044415-427129-2\Runtime\MemberDigital\license-burp.py", line 23, in <module> March 5th 2021 10:15:06Error child.expect('Enter preferred activation method') March 5th 2021 10:15:06Error File "C:\Program Files\Python39\lib\site-packages\pexpect-4.8.0-py3.9.egg\pexpect\spawnbase.py", line 343, in expect March 5th 2021 10:15:06Error return self.expect_list(compiled_pattern_list, March 5th 2021 10:15:06Error File "C:\Program Files\Python39\lib\site-packages\pexpect-4.8.0-py3.9.egg\pexpect\spawnbase.py", line 372, in expect_list March 5th 2021 10:15:06Error return exp.expect_loop(timeout) March 5th 2021 10:15:06Error File "C:\Program Files\Python39\lib\site-packages\pexpect-4.8.0-py3.9.egg\pexpect\expect.py", line 181, in expect_loop March 5th 2021 10:15:06Error return self.timeout(e) March 5th 2021 10:15:06Error File "C:\Program Files\Python39\lib\site-packages\pexpect-4.8.0-py3.9.egg\pexpect\expect.py", line 144, in timeout March 5th 2021 10:15:06Error raise exc March 5th 2021 10:15:06Error pexpect.exceptions.TIMEOUT: <pexpect.popen_spawn.PopenSpawn object at 0x000002A54F5B5F70> March 5th 2021 10:15:06Error searcher: searcher_re: March 5th 2021 10:15:06Error 0: re.compile('Enter preferred activation method') March 5th 2021 10:15:06Error <pexpect.popen_spawn.PopenSpawn object at 0x000002A54F5B5F70> March 5th 2021 10:15:06Error searcher: searcher_re: March 5th 2021 10:15:06Error 0: re.compile('Enter preferred activation method')

Hannah, PortSwigger Agent | Last updated: Mar 08, 2021 04:11PM UTC

Hi It looks like that Python script is just for the activation of a Burp Suite Professional installation. As it was created 3 years ago, the wording of the prompts may have changed. Have you already downloaded and installed Burp on the machine? Could you provide some more information on what your use case is? Burp Suite Professional is best used in a GUI environment so you can take full advantage of the tools available.

Shrihari | Last updated: Mar 09, 2021 08:21AM UTC

We have downloaded and installed burp on the machine. We have to use it for automated scans and that the scans run as a gmsa-account, which is Microsoft recommended practice. Can you please provide updated python script or any alternate solution to activate license for gmsa-account?

Hannah, PortSwigger Agent | Last updated: Mar 11, 2021 12:40PM UTC

You can perform a silent installation of Burp in Windows using a .bat file. Please find instructions below: 1. Download the installer (.exe) 2. Put the following into a .bat file: "C:\Program Files\BurpSuitePro\jre\bin\java.exe" -Djava.awt.headless=true -jar "C:\Program Files\BurpSuitePro\burpsuite_pro.jar" 3. Put the following into a .txt file: y LICENSE-KEY-PASTED-HERE o 4. Put both files into the same directory and run the following command in Command Prompt from that location: install.bat < installer.txt

Shrihari | Last updated: Mar 16, 2021 10:32AM UTC

Hello Hannah, It seems all steps from batch are executed properly, no any error recorded. however license is not activated. When we run headless instance, it prompts again for license.

Shrihari | Last updated: Mar 16, 2021 10:32AM UTC

Hello Hannah, It seems all steps from batch are executed properly, no any error recorded. however license is not activated. When we run headless instance, it prompts again for license.

Shrihari | Last updated: Mar 16, 2021 10:34AM UTC

Note: we are not getting any message as "License activated successfully." or not getting any error.

Uthman, PortSwigger Agent | Last updated: Mar 16, 2021 03:51PM UTC

Hi Shrihari, Can you please email support@portswigger.net with a screen recording of Hannah's suggested steps? (running the batch script) Please provide a snippet of the license key in the email too. Do not share this on the forum.

You must be an existing, logged-in customer to reply to a thread. Please email us for additional support.