Skip to content

burp_ca script does not work if the system does not have a hostname command #940

@andrekeller

Description

@andrekeller

I modern distros, it's not always guaranteed to have a hostname command. hostnamectl replaces it.
While this is easy to workaround it seems like this restriction is unnecessary.

Looking at https://github.com/grke/burp/blob/master/configs/certs/CA/burp_ca.in it seems that the whole hostname lookup logic runs only to determine the fallback value of the cmdline option. So it could fail silently and the evalution of cmdline arguments could enforce the -n argument if the fallback value is empty.

Not a huge deal though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions