Re: [sqlmap-users] --eval and Cookie values
Brought to you by:
inquisb
From: Miroslav S. <mir...@gm...> - 2013-07-31 18:42:33
|
Hi. Please update to the latest revision and try to use --cookie-del=" " Kind regards On Jul 31, 2013 5:49 PM, "Sebastian Nerz" <seb...@sy...> wrote: > Hi, > > thanks! If multiple cookies are now listed with spaces separating them, > eval will fail with an indent-error: > > diff --git a/lib/request/connect.py b/lib/request/connect.py > index 9056121..92d04e3 100644 > --- a/lib/request/connect.py > +++ b/lib/request/connect.py > @@ -755,6 +755,7 @@ class Connect(object): > for part in cookie.split(conf.pDel or > DEFAULT_COOKIE_DELIMITER): > if '=' in part: > name, value = part.split('=', 1) > + name = name.strip() > value = urldecode(value, convall=True) > evaluateCode("%s=%s" % (name, repr(value)), > variables) > > No promises, but it works here ;) > > All the best, > > Sebastian > > Am 31.07.2013 17:30, schrieb Miroslav Stampar: > > Hi. > > > > It should be supported now :) [1] > > > > Kind regards, > > Miroslav Stampar > > > > [1] > > > https://github.com/sqlmapproject/sqlmap/commit/ca44b23d2064d02833093cc8a1d0a75e446ec86a > > > > > > On Wed, Jul 31, 2013 at 12:40 PM, Sebastian Nerz <seb...@sy... > >wrote: > > > >> Hi, > >> > >> is there a way to access (read/write) Cookie values in custom defined > >> Python code (--eval)? > >> > >> Thanks :) > >> > >> All the best, > >> > >> Sebastian Nerz > >> > >> > >> > >> > ------------------------------------------------------------------------------ > >> Get your SQL database under version control now! > >> Version control is standard for application code, but databases havent > >> caught up. So what steps can you take to put your SQL databases under > >> version control? Why should you start doing it? Read more to find out. > >> > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk > >> _______________________________________________ > >> sqlmap-users mailing list > >> sql...@li... > >> https://lists.sourceforge.net/lists/listinfo/sqlmap-users > >> > >> > > > > > > > > |