The Burp Suite User Forum was discontinued on the 1st November 2024.

Burp Suite User Forum

For support requests, go to the Support Center. To discuss with other Burp users, head to our Discord page.

SUPPORT CENTER DISCORD

API Rest withou GUI

JULIO | Last updated: Jan 10, 2022 01:57PM UTC

Dear support, I have installed burp PRO on an Ubuntu server I didn't find a way to include a key to access the REST Api so I made the configuration on a machine with GUI access and tried to use the UserConfigPro.json file on the Ubuntu server, without success the api with the key responds "not authorized". Do you have any solution for this difficulty?

JULIO | Last updated: Jan 10, 2022 02:19PM UTC

configuration files UserConfigPro.json "misc":{ "api":{ "address":"", "enabled":true, "insecure_mode":false, "keys":[ { "created":1641824014690, "enabled":true, "hashed_key":"HGsPyxbHCYYMBHLNPiG+8QY0e9KBxvDo8OL/lpObWxQ=", "name":"Scan1" }, { "created":1641824037289, "enabled":true, "hashed_key":"jf3wCtqrH+qfg4/HaMNj8gDAUv1sFKqIDLBISZ4x+Qo=", "name":"Automatscans" } ], "listen_mode":"all_interfaces", "port":8191 } Program Start: java -jar -Xmx4g /opt/BurpSuitePro/burpsuite_pro.jar -Djava.awt.headless=false --user-config-file=/opt/BurpSuitePro/UserConfigPro.json GET Rest API curl --location --request GET 'http://xxx.xxx.xxx.xxx:8191/VE5em8x0kKKbXU30uap9XCS7HeUFyXg4/' Response: { "error": "Unauthorized" }

Ben, PortSwigger Agent | Last updated: Jan 11, 2022 08:24AM UTC