Re: [sqlmap-users] --method=GET vs. --data=
Brought to you by:
inquisb
From: Bernardo D. A. G. <ber...@gm...> - 2011-02-01 22:30:17
|
Hi, On 1 February 2011 22:16, <bu...@gm...> wrote: > ... > If --data= is used it seams always to result in POST requests regardless > of the --method switch > "--data=DATA Data string to be sent through POST" Yes, this is as per design choice. > this rises the question: What do you need --method for if the absence of > --data results in GET request and the presence of --data results in POST > requests. In fact we do not. > I would propose the following behaviour: > > - remove the --method switch and make the method depending on the fact > that --data switch was used or not I think that I agree on this. Cheers, -- Bernardo Damele A. G. E-mail / Jabber: bernardo.damele (at) gmail.com Mobile: +447788962949 (UK 07788962949) PGP Key ID: 0x05F5A30F |