sleeyax / burp-awesome-tls

Burp extension to evade TLS fingerprinting. Bypass WAF, spoof any browser.
GNU General Public License v3.0
1.19k stars 75 forks source link

Error: open ca.der: permission denied #35

Open NotoriousRebel opened 11 months ago

NotoriousRebel commented 11 months ago

Using Burp Suite Pro v2023.10.1.2 on an ubuntu 22 VM, when attempting to load the extention I get the following error:

image

What directory are these files created in? I looked in certificate.go but couldn't find it. If I know the target directory I can just chown it and that should fix this issue.

sleeyax commented 11 months ago

It's stored in the current working directory of burp. On my system this translates to the home directory (~) and thus the path of the file is ~/caKey.der.

We should probably improve this though and write to a more sensible location like ~/.config on Linux. Fortunately, go has a cross-platform function to determine the ideal config files directory: os.UserConfigDir(). Feel free to create a PR for this improvement!