Closed michaelsmitasin closed 5 years ago
The documentation refers to using XML for the config-file, but when attempting to do so, for example:
java -Xmx1G -Djava.awt.headless=true -classpath burpsuite_pro.jar burp.StartBurp --project-file=example.burp --config-file=example.xml
Where example.xml is:
`<?xml version="1.0" encoding="UTF-8"?>
`
It returns the error as if it expects JSON:
Invalid JSON configuration found at: >>> <<< ?xml versi - Unexpected '<' at [line 1, column 1]
You're usingthe wrong command line argument. Note that the documentation says use-c (--config) <file> to pass the XML config file.
-c (--config) <file>
--config-file is for passing Burp's own project config file.
--config-file
The documentation refers to using XML for the config-file, but when attempting to do so, for example:
java -Xmx1G -Djava.awt.headless=true -classpath burpsuite_pro.jar burp.StartBurp --project-file=example.burp --config-file=example.xml
Where example.xml is:
`<?xml version="1.0" encoding="UTF-8"?>
`
It returns the error as if it expects JSON:
Invalid JSON configuration found at: >>> <<< ?xml versi - Unexpected '<' at [line 1, column 1]