Skip to content

bui-manage deletes / destroys burp-server.conf under certain conditions

Hi Ziirish,

I would like to report two VERY unpleasant things that took me quite long time to fix.

burp-server.conf deleted / destroyed

  • I started from point where everything was working correctly
  • I have noticed that working_dir_recovery_method was set to DELETE
  • Via vim I have changed to resume, while buirp-ui was running
  • When I have opened burp-ui and went into new client configuration, burp-ui config page started to complain about value inserted for working_dir_recovery_method in burp-server config
  • I confirmed again resume and saved - this has probably broke the configuration
  • I don't have completely the original file but I have tried to reconstruct it from default config - attached as config-1.conf - what I know for sure is that port = 5971 was repeated there many times. I'm not sure if it was the last parameter in the file.
  • After saving, config has changed - see config-2.conf
    • mode = ? string:server - reason why burp-server did not start
    • Notice how many times is there port = 5971 - probably added on each burpui container restart

bui-manage setup-burp issue

  • I wanted to have complete config with descriptions (and I did not know what else was broken), so I went back to default burp-server config - config-3.conf
  • When burp-server container was restarted, it worked correcly until burpui container was restarted
  • Once burpui container was restarted content of burp-server.conf got deleted, burp-server restarted and stopped working
  • This was solved by adding port = 5971 to the end of the file - config-4.conf - this works now and burpui container restart did not delete it
  • Based on comments in config-1.conf - # The port and address options have been removed in 2.2.10, so question is why burpui insists on this option and deletes the config if it's not there. ;-)

With kind regards,

Jan

config-1.conf

config-2.conf

config-3.conf

config-4.conf