silentsignal / burp-piper

Piper Burp Suite Extender plugin
https://blog.silentsignal.eu/2020/03/27/unix-style-approach-to-web-application-testing/
GNU General Public License v3.0
113 stars 12 forks source link

Load settings based on env variable #29

Closed v-p-b closed 2 years ago

v-p-b commented 2 years ago

If PIPER_CONFIG environment variable is set, Piper will try to load a configuration from the file specified by the variable.

Filenames ending with .yml or .yaml are interpreted as YAML configs, otherwise Protobuf is assumed.

If something goes wrong, Piper gracefully falls back to default config (user-specific saved settings are skipped).

v-p-b commented 2 years ago

1923d8e is a workaround to the 2) of https://github.com/silentsignal/burp-piper/issues/23#issuecomment-1161950942