Re: [sqlmap-users] unhandled exception
Brought to you by:
inquisb
From: Andres R. <and...@gm...> - 2009-11-01 15:36:15
|
Bernardo, I'm just guessing without really looking at the code, but this seems to be because of a fixed path "sqlmap-0.7/shell/uploader.php" in your code, that uses "/" as a directory separator, when in Windows that is not valid. You should use things like: uploader = os.path.join(os.getcwd(),'shell','uploader.php') Hope this helps, Cheers, On Sun, Nov 1, 2009 at 12:23 PM, Adi Mutu <adi...@ya...> wrote: > > [17:14:37] [ERROR] unhandled exception in sqlmap/0.7, please copy the > command line and the following text and send by e-mail to sqlmap- > us...@li.... The developer will fix it as soon as possible: > sqlmap version: 0.7 > Python version: 2.6 > Operating system: win32 > Traceback (most recent call last): > File "C:\Documents and > Settings\Adrian\Desktop\toolz\sqli\sqlmap-0.7\sqlmap.py", line 84, in main > start() > File "C:\Documents and > Settings\Adrian\Desktop\toolz\sqli\sqlmap-0.7\lib\controller\controller.py", > line 263, in start > action() > File "C:\Documents and > Settings\Adrian\Desktop\toolz\sqli\sqlmap-0.7\lib\controller\action.py", > line 140, in action > conf.dbmsHandler.osShell() > File "C:\Documents and > Settings\Adrian\Desktop\toolz\sqli\sqlmap-0.7\plugins\generic\takeover.py", > line 295, in osShell > backdoorUrl = self.__webBackdoorInit() > File "C:\Documents and > Settings\Adrian\Desktop\toolz\sqli\sqlmap-0.7\plugins\generic\takeover.py", > line 170, in __webBackdoorInit > uploaderStr = fileToStr("%s/%s" % (paths.SQLMAP_SHELL_PATH, > uploaderName)) > File "C:\Documents and > Settings\Adrian\Desktop\toolz\sqli\sqlmap-0.7\lib\core\common.py", line 384, > in fileToStr > filePointer = open(fileName, "r") > IOError: [Errno 2] No such file or directory: 'C:\\Documents and > Settings\\Adrian\\Desktop\\toolz\\sqli\\sqlmap-0.7/shell/uploader.php' > > > [*] shutting down at: 17:14:37 > > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > sqlmap-users mailing list > sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlmap-users > > -- Andrés Riancho Founder, Bonsai - Information Security http://www.bonsai-sec.com/ http://w3af.sf.net/ |