Re: [sqlmap-users] paramToDict function
Brought to you by:
inquisb
From: Miroslav S. <mir...@gm...> - 2010-01-02 22:30:52
|
On Sat, Jan 2, 2010 at 4:35 PM, Adi Mutu <adi...@ya...> wrote: > In the above function I'm a little confused about the next variables: > > 1)testableParameters __testableParameters is a simple boolean variable used for flagging if the function went properly regarding extracting of parameters into returning dictionary. If not, user is warned accordingly. > 2)conf.parameters used to store user provided parameters, like GET/POST data > 3)conf.testParameter used to store testable parameter(s) supplied by command option -p > > 4)and this condition test: > > condition = not conf.testParameter > condition |= parameter in conf.testParameter > > if condition: > value = elem[1] > testableParameters[parameter] = value either the testable parameter(s) is/are not supplied by command option -p at all or particular parameter by that name (stored in variable parameter) must be inside dictionary conf.testParameter for this condition to be true - if that's the case, returning dictionary testableParameters used by this function is filled with the proper value. Kind regards. > > Can you please clarify these a little? > Cheers, > > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > sqlmap-users mailing list > sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlmap-users > > |