Skip to content

[BUG] Update fails in networks with self-signed certs in cert chain #1148

@L1-0

Description

@L1-0

Describe the bug
When i want to update ferox in a network with a firewall with packet inspection this is not possible nor overridable with the -k flag.

To Reproduce
Steps to reproduce the behavior:
Have an outdated version of feroxbuster
Have a network where the ssl cert is self signed

Expected behavior
The update should go through after informing the user of potential risks.

Traceback / Error Output

└─$ sudo feroxbuster --update
Checking target-arch... x86_64-linux
Checking current version... v2.10.2
Checking latest released version... v2.10.3
New release found! v2.10.2 --> v2.10.3
New release is compatible

feroxbuster release status:
  * Current exe: "/usr/bin/feroxbuster"
  * New exe release: "x86_64-linux-debug-feroxbuster.1.zip"
  * New exe download url: "https://api.github.com/repos/epi052/feroxbuster/releases/assets/164584332"

The new release will be downloaded/extracted and the existing binary will be replaced.
Do you want to continue? [Y/n] y
Downloading...

[ERROR] ReqwestError: error sending request for url (https://api.github.com/repos/epi052/feroxbuster/releases/assets/164584332): error trying to connect: error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:2091: (self-signed certificate in certificate chain)
└─$ feroxbuster -k --update
error: the argument '--update' cannot be used with one or more of the other specified arguments

Usage: feroxbuster [OPTIONS]

For more information, try '--help'.

Environment (please complete the following information):

  • feroxbuster version: 2.10.2
  • OS: kali linux, manually installed feroxbuster

Additional context
The user should be able to override this error.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions