[sqlmap-users] Host header invalid when following redirections
Brought to you by:
inquisb
From: rmillet <rmi...@gm...> - 2011-11-08 20:48:03
|
Hi, I have some questions about the redirections in sqlmap. The command I used with version sqlmap/1.0-dev (r4495): ./sqlmap.py -u ' http://192.168.1.42/redirect.php?url=http%3A%2F%2F127.0.0.1%2Fpage' The page on redirect.php on 192.168.1.42 redirects with a 302 Location header to http://127.0.0.1/page Is it possible to desactivate following of redirections ? When it follows the redirection, sqlmap connects to 127.0.0.1 - with in the Referer set to "http://192.168.1.42", is it normal that it is not the original URL ? - with Host header set to "192.168.1.42", this is a bug as it must be "127.0.0.1" Regards, |