Thread: [sqlmap-users] Direct access to mysql database
Brought to you by:
inquisb
From: Marcell F. <fod...@gm...> - 2013-05-12 07:53:51
|
Heya, I needed direct access to mysql server and got error: [03:24:45] [CRITICAL] sqlmap requires 'python pymysql' third-party library in order to directly connect to the database MySQL. Download from ' https://github.com/petehunt/PyMySQL/' Now I got "This repository is temporarily unavailable." error and also tried to install like in this tutorial copy/pasted from web: Direct connection to the database -------------------------------------------------- Installing Py-MySQL Dependency git clone https://github.com/petehunt/PyMySQL/ cd PyMySQL python setup.py install cd .. rm -rf PyMySQL ./sqlmap.py -d mysql://root:""@192.168.56.102:5123/OWASP10 First line fails. Would be great if this library was included in default install. Thanks in advance, Marcell |
From: Miroslav S. <mir...@gm...> - 2013-05-12 11:43:38
|
Hi Marcell. We can't include all those dependencies as it would make sqlmap package even bigger than it's now. Also, direct connection feature is an "optional" one. There could be (privilege?) complications with a PyMySQL setup. While you are not able to do the following command, you won't be able to properly run "-d" against MySQL: python -c "import pymysql" Optionally, you can try to run: python-sqlalchemy and rerun the -d... SQLAlchemy is an optional way how sqlmap handles direct connections. Kind regards, Miroslav Stampar On Sun, May 12, 2013 at 9:53 AM, Marcell Fodor <fod...@gm...>wrote: > Heya, > > I needed direct access to mysql server and got error: > [03:24:45] [CRITICAL] sqlmap requires 'python pymysql' third-party library > in order to directly connect to the database MySQL. Download from ' > https://github.com/petehunt/PyMySQL/' > > Now I got "This repository is temporarily unavailable." error and also > tried to install like in this tutorial copy/pasted from web: > > Direct connection to the database > -------------------------------------------------- > > Installing Py-MySQL Dependency > > git clone https://github.com/petehunt/PyMySQL/ > cd PyMySQL > python setup.py install > cd .. > rm -rf PyMySQL > > ./sqlmap.py -d mysql://root:""@192.168.56.102:5123/OWASP10 > > First line fails. > > > Would be great if this library was included in default install. > > Thanks in advance, > > Marcell > > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and > their applications. This 200-page book is written by three acclaimed > leaders in the field. The early access version is available now. > Download your free book today! http://p.sf.net/sfu/neotech_d2d_may > _______________________________________________ > sqlmap-users mailing list > sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlmap-users > > -- Miroslav Stampar http://about.me/stamparm |
From: Marco M. <mm...@gm...> - 2013-10-17 09:44:24
|
Hi boys... I was thinking of an innovation, you can change that when sqlmap enumerates the users (especially those of mysql) if found in the character meets a "@" try the next automatically with "localhost"?? for save times? best regards Marco Mirandola 2013/5/12 Miroslav Stampar <mir...@gm...> > Hi Marcell. > > We can't include all those dependencies as it would make sqlmap package > even bigger than it's now. Also, direct connection feature is an "optional" > one. > > There could be (privilege?) complications with a PyMySQL setup. > > While you are not able to do the following command, you won't be able to > properly run "-d" against MySQL: > > python -c "import pymysql" > > Optionally, you can try to run: > python-sqlalchemy > > and rerun the -d... SQLAlchemy is an optional way how sqlmap handles > direct connections. > > Kind regards, > Miroslav Stampar > > > On Sun, May 12, 2013 at 9:53 AM, Marcell Fodor <fod...@gm...>wrote: > >> Heya, >> >> I needed direct access to mysql server and got error: >> [03:24:45] [CRITICAL] sqlmap requires 'python pymysql' third-party >> library in order to directly connect to the database MySQL. Download from ' >> https://github.com/petehunt/PyMySQL/' >> >> Now I got "This repository is temporarily unavailable." error and also >> tried to install like in this tutorial copy/pasted from web: >> >> Direct connection to the database >> -------------------------------------------------- >> >> Installing Py-MySQL Dependency >> >> git clone https://github.com/petehunt/PyMySQL/ >> cd PyMySQL >> python setup.py install >> cd .. >> rm -rf PyMySQL >> >> ./sqlmap.py -d mysql://root:""@192.168.56.102:5123/OWASP10 >> >> First line fails. >> >> >> Would be great if this library was included in default install. >> >> Thanks in advance, >> >> Marcell >> >> >> >> ------------------------------------------------------------------------------ >> Learn Graph Databases - Download FREE O'Reilly Book >> "Graph Databases" is the definitive new guide to graph databases and >> their applications. This 200-page book is written by three acclaimed >> leaders in the field. The early access version is available now. >> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may >> _______________________________________________ >> sqlmap-users mailing list >> sql...@li... >> https://lists.sourceforge.net/lists/listinfo/sqlmap-users >> >> > > > -- > Miroslav Stampar > http://about.me/stamparm > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and > their applications. This 200-page book is written by three acclaimed > leaders in the field. The early access version is available now. > Download your free book today! http://p.sf.net/sfu/neotech_d2d_may > _______________________________________________ > sqlmap-users mailing list > sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlmap-users > > |