Thread: [sqlmap-users] Postgresql enum databases and tables problem
Brought to you by:
inquisb
From: black z. <tim...@gm...> - 2012-01-31 14:26:53
|
Not working postgresql DB select and extract tables "auto selected name public database" and columns in value query what is problem? i'm changed plugins/dbms/postgresql/fingerprint.py if conf.db not in PGSQL_SYSTEM_DBS and conf.db != "public": conf.db = "public" but this is not the solution What should be done? thanks :) sqlmap version: 1.0-dev (r4697) Python version: 2.7.2+ Operating system: posix Command line: sqlmap.py -u ********************************************************** --user-agent Googlebot --technique U --dbms postgresql --string Proxy -v 3 --threads 5 --sql-shell Technique: UNION Back-end DBMS: PostgreSQL (fingerprinted) Traceback (most recent call last): File "/home/z00/sqlmap-dev/_sqlmap.py", line 83, in main start() File "/home/z00/sqlmap-dev/lib/controller/controller.py", line 563, in start action() File "/home/z00/sqlmap-dev/lib/controller/action.py", line 121, in action conf.dbmsHandler.sqlShell() File "/home/z00/sqlmap-dev/plugins/generic/enumeration.py", line 2455, in sqlShell output = self.sqlQuery(query) File "/home/z00/sqlmap-dev/plugins/generic/enumeration.py", line 2401, in sqlQuery output = inject.getValue(query, fromUser=True) File "/home/z00/sqlmap-dev/lib/request/inject.py", line 435, in getValue value = __goInband(query, expected, unique, resumeValue, unpack, dump) File "/home/z00/sqlmap-dev/lib/request/inject.py", line 383, in __goInband output = unionUse(expression, unpack=unpack, dump=dump) File "/home/z00/sqlmap-dev/lib/techniques/union/use.py", line 232, in unionUse untilOrderChar = countedExpression.index(" ORDER BY ") ValueError: substring not found [*] shutting down at 16:17:43 |
From: Miroslav S. <mir...@gm...> - 2012-01-31 14:32:18
|
Hi. Sorry to you and to all, but I won't be able to go through all the issues today. I'll try to do it tomorrow morning. Kind regards, Miroslav Stampar On Jan 31, 2012 3:27 PM, "black zero" <tim...@gm...> wrote: > Not working postgresql DB select and extract tables "auto selected name > public database" and columns in value query what is problem? > > i'm changed plugins/dbms/postgresql/fingerprint.py > if conf.db not in PGSQL_SYSTEM_DBS and conf.db != "public": > conf.db = "public" > > but this is not the solution > What should be done? thanks :) > > sqlmap version: 1.0-dev (r4697) > Python version: 2.7.2+ > Operating system: posix > Command line: sqlmap.py -u > ********************************************************** --user-agent > Googlebot --technique U --dbms postgresql --string Proxy -v 3 --threads 5 > --sql-shell > Technique: UNION > Back-end DBMS: PostgreSQL (fingerprinted) > Traceback (most recent call last): > File "/home/z00/sqlmap-dev/_sqlmap.py", line 83, in main > start() > File "/home/z00/sqlmap-dev/lib/controller/controller.py", line 563, in > start > action() > File "/home/z00/sqlmap-dev/lib/controller/action.py", line 121, in action > conf.dbmsHandler.sqlShell() > File "/home/z00/sqlmap-dev/plugins/generic/enumeration.py", line 2455, > in sqlShell > output = self.sqlQuery(query) > File "/home/z00/sqlmap-dev/plugins/generic/enumeration.py", line 2401, > in sqlQuery > output = inject.getValue(query, fromUser=True) > File "/home/z00/sqlmap-dev/lib/request/inject.py", line 435, in getValue > value = __goInband(query, expected, unique, resumeValue, unpack, dump) > File "/home/z00/sqlmap-dev/lib/request/inject.py", line 383, in > __goInband > output = unionUse(expression, unpack=unpack, dump=dump) > File "/home/z00/sqlmap-dev/lib/techniques/union/use.py", line 232, in > unionUse > untilOrderChar = countedExpression.index(" ORDER BY ") > ValueError: substring not found > > [*] shutting down at 16:17:43 > > > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > sqlmap-users mailing list > sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlmap-users > > |
From: Miroslav S. <mir...@gm...> - 2012-02-01 10:00:23
|
Hi. That crash should be fixed with the latest commit (r4700). Kind regards, Miroslav Stampar On Tue, Jan 31, 2012 at 3:32 PM, Miroslav Stampar < mir...@gm...> wrote: > Hi. > > Sorry to you and to all, but I won't be able to go through all the issues > today. I'll try to do it tomorrow morning. > > Kind regards, > Miroslav Stampar > On Jan 31, 2012 3:27 PM, "black zero" <tim...@gm...> wrote: > >> Not working postgresql DB select and extract tables "auto selected name >> public database" and columns in value query what is problem? >> >> i'm changed plugins/dbms/postgresql/fingerprint.py >> if conf.db not in PGSQL_SYSTEM_DBS and conf.db != "public": >> conf.db = "public" >> >> but this is not the solution >> What should be done? thanks :) >> >> sqlmap version: 1.0-dev (r4697) >> Python version: 2.7.2+ >> Operating system: posix >> Command line: sqlmap.py -u >> ********************************************************** --user-agent >> Googlebot --technique U --dbms postgresql --string Proxy -v 3 --threads 5 >> --sql-shell >> Technique: UNION >> Back-end DBMS: PostgreSQL (fingerprinted) >> Traceback (most recent call last): >> File "/home/z00/sqlmap-dev/_sqlmap.py", line 83, in main >> start() >> File "/home/z00/sqlmap-dev/lib/controller/controller.py", line 563, in >> start >> action() >> File "/home/z00/sqlmap-dev/lib/controller/action.py", line 121, in >> action >> conf.dbmsHandler.sqlShell() >> File "/home/z00/sqlmap-dev/plugins/generic/enumeration.py", line 2455, >> in sqlShell >> output = self.sqlQuery(query) >> File "/home/z00/sqlmap-dev/plugins/generic/enumeration.py", line 2401, >> in sqlQuery >> output = inject.getValue(query, fromUser=True) >> File "/home/z00/sqlmap-dev/lib/request/inject.py", line 435, in getValue >> value = __goInband(query, expected, unique, resumeValue, unpack, dump) >> File "/home/z00/sqlmap-dev/lib/request/inject.py", line 383, in >> __goInband >> output = unionUse(expression, unpack=unpack, dump=dump) >> File "/home/z00/sqlmap-dev/lib/techniques/union/use.py", line 232, in >> unionUse >> untilOrderChar = countedExpression.index(" ORDER BY ") >> ValueError: substring not found >> >> [*] shutting down at 16:17:43 >> >> >> >> ------------------------------------------------------------------------------ >> Keep Your Developer Skills Current with LearnDevNow! >> The most comprehensive online learning library for Microsoft developers >> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, >> Metro Style Apps, more. Free future releases when you subscribe now! >> http://p.sf.net/sfu/learndevnow-d2d >> _______________________________________________ >> sqlmap-users mailing list >> sql...@li... >> https://lists.sourceforge.net/lists/listinfo/sqlmap-users >> >> -- Miroslav Stampar http://about.me/stamparm |