W3AF Error Fix: HTTPResponse object has no attribute path


I was using w3af for one audit and I faced the following error:

Failed to initialize the 404 detection, original exception was: “‘HTTPResponse’ object has no attribute ‘path'”.

While searching for a fix, I noticed it’s a little bit common on Kali users.
I found the fix by this patch provided from the contributors here:


So, open /usr/share/w3af/core/controllers/core_helpers/fingerprint_404.py
Delete line 184:
Add the following two lines instead:
four_oh_data = FourOhFourResponseFactory(j)

One thought on “W3AF Error Fix: HTTPResponse object has no attribute path”

  1. Sending Error Message Response Object Not Found and other critical errors can occur when your Windows operating system becomes corrupted.

Leave a Reply

Your email address will not be published. Required fields are marked *