Re: [sqlmap-users] --method=GET vs. --data=
Brought to you by:
inquisb
From: Miroslav S. <mir...@gm...> - 2011-02-12 19:49:08
|
hi all. as of r3311 we've removed --method option by a request from buawig. from now on usage of --data will imply that the method is POST. kr On Tue, Feb 1, 2011 at 11:30 PM, Bernardo Damele A. G. <ber...@gm...> wrote: > 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 > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > sqlmap-users mailing list > sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlmap-users > -- Miroslav Stampar E-mail: miroslav.stampar (at) gmail.com Alternate: miroslav.stampar (at) mail.ru PGP Key ID: 0xB5397B1B Location: Zagreb, Croatia |