Closed adidsec closed 3 years ago
Hi, unfortunately I haven't encountered such behaviour yet. However, it looks like a bug in the extension. As I workaround I suggest you to locate and move extension configuration file. On my system it is located in
~/.java/.userPrefs/burp/extensions/_!&8!]!"`!&@!`!!g!%0!bw"j!'s=/prefs.xml
I'm not sure if this directory is random, so I also paste fragment of the config structure so you can spot it easier.
$ head prefs.xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE map SYSTEM "http://java.sun.com/dtd/preferences.dtd">
<map MAP_XML_VERSION="1.0">
<entry key="ENTRY_1" value="{ "enabled": true, "rule": { "host": "^example\\.com$", "path": "^/$", "port": "^80$", "protocol": "HTTP" }, "entryInput": "SFRUUC8xLjEgMjAwIE9LDQpBZ2U6IDU4MjEyMw0KQ2FjaGUtQ29udHJvbDogbWF4LWFnZT02MDQ4MDANCkNvbnRlbnQtVHlwZTogdGV4dC9odG1sOyBjaGFyc2V0PVVURi04DQpEYXRlOiBUaHUsIDI1IEp1biAyMDIwIDE2OjI4OjU5IEdNVA0KRXRhZzogIjMxNDc1MjY5NDcrZ3ppcCINCkV4cGlyZXM6IFRodSwgMDIgSnVsIDIwMjAgMTY6Mjg6NTkgR01UDQpMYXN0LU1vZGlmaWVkOiBUaHUsIDE3IE9jdCAyMDE5IDA3OjE4OjI2IEdNVA0KU2VydmVyOiBFQ1MgKGRjYi83RUM5KQ0KVmFyeTogQWNjZXB0LUVuY29kaW5nDQpYLUNhY2hlOiBISVQNCkNvbnRlbnQtTGVuZ3RoOiAxMjU0DQpDb25uZWN0aW9uOiBjbG9zZQ0KDQo8IWRvY3R5cGUgaHRtbD4KPGh0bWw+CjxoZWFkPgogICAgPHRpdGxlPkFBQUFBIERvbWFpbjwvdGl0bGU+CgogICAgPG1ldGEgY2hhcnNldD0idXRmLTgiIC8+CiAgICA8bWV0YSBodHRwLWVxdWl2PSJDb250ZW50LXR5cGUiIGNvbnRlbnQ9InRleHQvaHRtbDsgY2hhcnNldD11dGYtOCIgLz4KICAgIDx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zZSBpbiBpbGx1c3RyYXRpdmUgZXhhbXBsZXMgaW4gZG9jdW1lbnRzLiBZb3UgbWF5IHVzZSB0aGlzCiAgICBkb21haW4gaW4gbGl0ZXJhdHVyZSB3aXRob3V0IHByaW9yIGNvb3JkaW5hdGlvbiBvciBhc2tpbmcgZm9yIHBlcm1pc3Npb24uPC9wPgogICAgPHA+PGEgaHJlZj0iaHR0cHM6Ly93d3cuaWFuYS5vcmcvZG9tYWlucy9leGFtcGxlIj5Nb3JlIGluZm9ybWF0aW9uLi4uPC9hPjwvcD4KPC9kaXY+CjwvYm9keT4KPC9odG1sPgo\u003d", "entryType": "DirectEntry" }"/>
If it helped could you send me your configuration file so I could investigate it? If your configuration consist of information that you don't want to share publicly, you can send it directly to me: mmmdspl(at)gmail.com gpg
Thanks for the quick response, it's a slightly different location on my build and it's not a plain XML file but i've backed up the file and removed the original and it's working now :)
I'm pretty sure my config might have a backup of a previous test but if it helps, the file i did have wasn't XML, wonder if it was corrupted at some point, or could portswigger have changed the format?
example of the head of the file:
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~S??????????????????[ENTRY_17_63
I checked Burp 1.7 and 2.x, both of them use XML format for extension settings. I'm not familiar with the format you attached and I have no idea why your configuration file was in such a state.
Hi, I've not used the addon for a while so i'm not sure if this is a java issue, a burp issue or a legacy thing where maybe i've an old version of a config somewhere but i've got the latest version from the BappStore and i'm getting the following error. Any idea if this is a bug in the addon or something environmental? I've tried an earlier version of burp and get the same error but i don't know where the addon stores its config.
Any suggestions?
Thanks,