Hi.
This is a known Python issue [1]. We've made a small "patch" [2] which will
warn you about it and "temporary" give you the possibility to run a sqlmap.
For example:
python sqlmap.py -hh
[13:53:03] [CRITICAL] there is a known Python issue (#1616979) related to
support for charset 'cp720'. Please visit '
http://blog.oneortheother.info/tip/python-fix-cp720-encoding/index.html'
and follow the instructions to be able to fix it
[13:53:03] [WARNING] temporary switching to charset 'cp1256'
Usage: python sqlmap.py [options]
....
Please download the latest revision to have sqlmap up to date.
Kind regards,
Miroslav Stampar
[1] http://bugs.python.org/issue1616979
[2] https://github.com/sqlmapproject/sqlmap/issues/513
On Tue, Aug 13, 2013 at 12:27 AM, Bola Adel <manfrompa...@gmail.com> wrote:
> C:\Python26>python c:\xd\sqlmap.py -h
>
> [00:25:06] [CRITICAL] unhandled exception in sqlmap/1.0-dev, retry your
> run with
> the latest development version from the GitHub repository. If the
> exception per
> sists, please send by e-mail to 'sqlmap-users@lists.sourceforge.net' or
> open a n
> ew issue at 'https://github.com/sqlmapproject/sqlmap/issues/new' with the
> follow
> ing text and any information required to reproduce the bug. The developers
> will
> try to reproduce the bug, fix it accordingly and get back to you.
> sqlmap version: 1.0-dev
> Python version: 2.6
> Operating system: nt
> Command line: c:\xd\sqlmap.py -h
> Technique: None
> Back-end DBMS: None (identified)
> ←[41m←[37mTraceback (most recent call last):
> File "c:\xd\sqlmap.py", line 71, in main
> cmdLineOptions.update(cmdLineParser().__dict__)
> File "c:\xd\lib\parse\cmdline.py", line 767, in cmdLineParser
> (args, _) = parser.parse_args(args)
> File "C:\Python26\lib\optparse.py", line 1378, in parse_args
> stop = self._process_args(largs, rargs, values)
> File "C:\Python26\lib\optparse.py", line 1422, in _process_args
> self._process_short_opts(rargs, values)
> File "C:\Python26\lib\optparse.py", line 1529, in _process_short_opts
> option.process(opt, value, values, self)
> File "C:\Python26\lib\optparse.py", line 782, in process
> self.action, self.dest, opt, value, values, parser)
> File "C:\Python26\lib\optparse.py", line 804, in take_action
> parser.print_help()
> File "C:\Python26\lib\optparse.py", line 1648, in print_help
> file.write(self.format_help().encode(encoding, "replace"))
> LookupError: unknown encoding: cp720
> ←[0m
> [*] shutting down at 00:25:06
>
> btw am using win7 64x and python26
> Thanks in advance
>
>
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> _______________________________________________
> sqlmap-users mailing list
> sqlmap-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sqlmap-users
>
>
--
Miroslav Stampar
http://about.me/stamparm
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
sqlmap-users mailing list
sqlmap-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlmap-users