Open
Description
What's the problem (or question)?
sqlmap will sometimes trigger a login event when pointed at a login page by bypassing the actual login during its testing process. If this happens, it would be awesome to get the actual string (to then use with curl, burp, or other tools) to be displayed, or otherwise to give the user a notification saying "oops, it looks like we logged in, here's the resulting session cookie".
Do you have an idea for a solution?
Yes - just display the data that is already collected for debug purposes to the user. This could be appended to the 302 redirect handler so that if 'suddenly when testing a page it gets redirected to another page', its highly likely that one of the tests has bypassed the login.