oudommeas/andiparos

Feature Request: Add the HTTP response number after the directories/files names if it's different than "200 OK"

Closed this issue · 5 comments

Hi all,

I have a little request for the site map :)
Could you add the HTTP response number after the directories/files names if 
it's different than "200 OK"

To add this functionality, add the following code before "return leafName;" of 
the getLeafName method in the src/org/parosproxy/paros/model/SiteMap.java file :

if( msg.getResponseHeader().getStatusCode() != 200)
            leafName = leafName + "  [" + msg.getResponseHeader().getStatusCode() + "]";


Regards,

Nicolas K.

Original issue reported on code.google.com by nicolas....@gmail.com on 28 Jun 2010 at 10:47

This will be integrated as an option in the next release of Andiparos.

Regards,
Axel

Original comment by a.c.neumann on 28 Jun 2010 at 11:36

  • Changed state: Accepted

Original comment by a.c.neumann on 28 Jun 2010 at 11:37

Hi Nicolas,

i just integrated the feature of adding the HTTP response code to the sitemap 
nodes. I wondered why you only want to have the status code added when it is 
different than "200 OK". For the moment, i add the status code to each sitemap 
node.

Could you please explain your idea for only adding Non-"200 OK"s?

Regards,
Axel

Original comment by a.c.neumann on 29 Jun 2010 at 5:41

  • Changed state: Started
Adding all status codes is great too.
Benefit to only add status codes different than 200 permits to quickly warn if 
a folder or a file has an unusual response, which is quite useful during a 
penetration test :)

Original comment by nicolas....@gmail.com on 1 Jul 2010 at 8:15

Implemented as requested

Original comment by a.c.neumann on 2 Jul 2010 at 12:28

  • Changed state: Fixed