Hi all,
Let me first introduce myself, because this is my first post to this group.
I am Gerwout (yep, that name is impossible to pronounce if Dutch isn't your native language...) and I have worked in the security field for almost 10 years. I have done quite some development (mainly in other languages than JAVA), but I am not a JAVA expert, so please keep that in mind while reading through this post.
I was looking into the attack module and I've noticed for a specific domain that I was testing (can't mention the name, it's internal anyway) that I would always get the "Failed to attack the URL" message. I increased the verbosity of debugging in log4j.properties and that didn't give me any pointers as well. So, I checked out all the code, got my IDE up and running and checked myself what was going on for this specific domain. I've identified the problem and I was planning to implement a fix, however I need some advice, so let me explain the problem. I will use a dummy domain in my example.
- If this use case happens, there should be a reason mentioned in the Failed to attack message.
- Create a configuration option (maybe under connection?) that enables the usage of circular redirects and give the option to define the maximum number of allowed redirects to the same page (i.e. ClientPNames.ALLOW_CIRCULAR_REDIRECTS and ClientPNames.MAX_REDIRECTS). This should fix this problem.
I have another question as well. Is there any reason that the private method getHttpSender in the QuickStart extension is stateless by default? I think it makes sense for an automated module to have cookie support enabled by default.
And last, but not least: are there already plans to move to a newer version of that Apache HTTP library?
Cheers,
Gerwout