how to install gui-for-sqlmap

这个是个帮助你确定你需要的sqlmap选项的……毕竟一些强大的工具的选项实在太多了。。官网:http://code.google.com/p/gui-for-sqlmap/

backtrack5 下面

下载

拷贝到sqlmap文件夹

root@bt :~# cp sqm-60712.zip /pentest/database/sqlmap
然后 unzip sqm-60712.zip

root@bt :/pentest/database/sqlmap# unzip sqm-60712.zip
Archive:  sqm-60712.zip
  inflating: sqm.pyw                
   creating: SQM/
   creating: SQM/REQUEST/
   creating: SQM/SESSION/
   creating: SQM/TRAFFIC/
   creating: SQM/PATH_TRAVERSAL/
  inflating: SQM/PATH_TRAVERSAL/unix-httpd-log.txt 
  inflating: SQM/PATH_TRAVERSAL/cpanel.txt 
  inflating: SQM/PATH_TRAVERSAL/path-traversal-windows.txt 
   creating: SQM/SHELL/
 extracting: SQM/SHELL/mini.txt     
   creating: SQM/CONFIGFILE/
root@bt :/pentest/database/sqlmap# ls
doc    plugins    shell        sqlmap.py    sqm-60712.zip  txt
extra  procs      sqlmap.conf  _sqlmap.pyc  sqm.pyw        udf
lib    README.md  _sqlmap.py   SQM          tamper         xml
root@bt :/pentest/database/sqlmap# ./sqm.pyw

就可以看到界面了

如果出错了的话  那么可能还没安装 pytty

此处下载 http://pypi.python.org/packages/source/p/pyttk/

root@bt :~# tar zxvf pyttk-0.3.2.tar.gz
pyttk-0.3.2/
pyttk-0.3.2/doc/
pyttk-0.3.2/PKG-INFO
pyttk-0.3.2/README
pyttk-0.3.2/setup.py
pyttk-0.3.2/test/
pyttk-0.3.2/ttk.py
pyttk-0.3.2/test/README
pyttk-0.3.2/test/runtests.py
pyttk-0.3.2/test/support.py
pyttk-0.3.2/test/test_extensions.py
pyttk-0.3.2/test/test_functions.py
pyttk-0.3.2/test/test_style.py
pyttk-0.3.2/test/test_widgets.py
pyttk-0.3.2/doc/_sources/
pyttk-0.3.2/doc/_static/
pyttk-0.3.2/doc/genindex.html
pyttk-0.3.2/doc/index.html
pyttk-0.3.2/doc/modindex.html
pyttk-0.3.2/doc/search.html
pyttk-0.3.2/doc/searchindex.json
pyttk-0.3.2/doc/ttk.html
pyttk-0.3.2/doc/_static/contents.png
pyttk-0.3.2/doc/_static/default.css
pyttk-0.3.2/doc/_static/doctools.js
pyttk-0.3.2/doc/_static/file.png
pyttk-0.3.2/doc/_static/interface.js
pyttk-0.3.2/doc/_static/jquery.js
pyttk-0.3.2/doc/_static/minus.png
pyttk-0.3.2/doc/_static/navigation.png
pyttk-0.3.2/doc/_static/plus.png
pyttk-0.3.2/doc/_static/pygments.css
pyttk-0.3.2/doc/_static/rightsidebar.css
pyttk-0.3.2/doc/_static/searchtools.js
pyttk-0.3.2/doc/_static/sphinxdoc.css
pyttk-0.3.2/doc/_static/stickysidebar.css
pyttk-0.3.2/doc/_static/traditional.css
pyttk-0.3.2/doc/_sources/index.txt
pyttk-0.3.2/doc/_sources/ttk.txt
root@bt :~# cd pyttk-0.3.2
root@bt :~/pyttk-0.3.2# ls
doc  PKG-INFO  README  setup.py  test  ttk.py
root@bt :~/pyttk-0.3.2# python setup.py
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: no commands supplied
root@bt :~/pyttk-0.3.2# python setup.py --help
Common commands: (see '--help-commands' for more)

  setup.py build      will build the package underneath 'build/'
  setup.py install    will install the package

Global options:
  --verbose (-v)      run verbosely (default)
  --quiet (-q)        run quietly (turns verbosity off)
  --dry-run (-n)      don't actually do anything
  --help (-h)         show detailed help message
  --command-packages  list of packages that provide distutils commands

Information display options (just display information, ignore any commands)
  --help-commands     list all available commands
  --name              print package name
  --version (-V)      print package version
  --fullname          print <package name>-<version>
  --author            print the author's name
  --author-email      print the author's email address
  --maintainer        print the maintainer's name
  --maintainer-email  print the maintainer's email address
  --contact           print the maintainer's name if known, else the author's
  --contact-email     print the maintainer's email address if known, else the
                      author's
  --url               print the URL for this package
  --license           print the license of the package
  --licence           alias for --license
  --description       print the package description
  --long-description  print the long package description
  --platforms         print the list of platforms
  --classifiers       print the list of classifiers
  --keywords          print the list of keywords
  --provides          print the list of packages/modules provided
  --requires          print the list of packages/modules required
  --obsoletes         print the list of packages/modules made obsolete

usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

root@bt :~/pyttk-0.3.2# python setup.py build
running build
running build_py
creating build
creating build/lib.linux-i686-2.6
copying ttk.py -> build/lib.linux-i686-2.6
root@bt :~/pyttk-0.3.2# python setup.py install
running install
running build
running build_py
running install_lib
copying build/lib.linux-i686-2.6/ttk.py -> /usr/local/lib/python2.6/dist-packages
byte-compiling /usr/local/lib/python2.6/dist-packages/ttk.py to ttk.pyc
running install_egg_info
Writing /usr/local/lib/python2.6/dist-packages/pyttk-0.3.2.egg-info

你可能感兴趣的:(how to install gui-for-sqlmap)