Results 1 to 5 of 5

Thread: GUI for sql map

  1. #1
    Just burned his ISO
    Join Date
    May 2012
    Posts
    4

    Default GUI for sql map

    I am trying to install this GUUI from http://code.google.com/p/gui-for-sqlmap/ in backtrack5 r3 gnome 64

    I have tried a few times and cant figure what to do.
    This is what happens.


    root@bt:~# sudo apt-get install python-tk python2.7 sakura
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    python-tk is already the newest version.
    E: Couldn't find package python2.7
    root@bt:~# cd sqlmap
    bash: cd: sqlmap: No such file or directory
    root@bt:~# git clone git://github.com/sqlmapproject/sqlmap.git
    Initialized empty Git repository in /root/sqlmap/.git/
    remote: Counting objects: 33176, done.
    remote: Compressing objects: 100% (7501/7501), done.
    remote: Total 33176 (delta 25619), reused 33142 (delta 25587)
    Receiving objects: 100% (33176/33176), 31.79 MiB | 48 KiB/s, done.
    Resolving deltas: 100% (25619/25619), done.
    root@bt:~# cd sqlmap
    root@bt:~/sqlmap# wget http://gui-for-sqlmap.googlecode.com.../sqm-60712.zip
    --2012-08-31 05:42:46-- http://gui-for-sqlmap.googlecode.com.../sqm-60712.zip
    Resolving gui-for-sqlmap.googlecode.com... 74.125.135.82, 2404:6800:4001:c01::52
    Connecting to gui-for-sqlmap.googlecode.com|74.125.135.82|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 26705 (26K) [application/zip]
    Saving to: `sqm-60712.zip'

    100%[======================================>] 26,705 54.3K/s in 0.5s

    2012-08-31 05:42:48 (54.3 KB/s) - `sqm-60712.zip' saved [26705/26705]

    root@bt:~/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:~/sqlmap# python2.7 sqm.pyw
    Traceback (most recent call last):
    File "sqm.pyw", line 7, in <module>
    from Tkinter import *
    File "/usr/local/lib/python2.7/lib-tk/Tkinter.py", line 39, in <module>
    import _tkinter # If this fails your Python may not be configured for Tk
    ImportError: No module named _tkinter
    root@bt:~/sqlmap#



    please guys what is the problem here? and feel free to move this thread if it is at the wrong place.

  2. #2
    My life is this forum thorin's Avatar
    Join Date
    Jan 2010
    Posts
    2,629

    Default Re: GUI for sql map

    sudo apt-get install python-tk python2.7 sakura
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    python-tk is already the newest version.
    E: Couldn't find package python2.7
    apt-get then doesn't bother to try installing sakura (according to the output you've provided).

    Later you try to run python2.7, though supposedly it doesn't exist because it wasn't installed.

    import _tkinter # If this fails your Python may not be configured for Tk
    Try a "which python" and then a "python --version". Let us know what it tells you...
    I'm a compulsive post editor, you might wanna wait until my post has been online for 5-10 mins before quoting it as it will likely change.

    I know I seem harsh in some of my replies. SORRY! But if you're doing something illegal or posting something that seems to be obvious BS I'm going to call you on it.

  3. #3
    Just burned his ISO
    Join Date
    May 2012
    Posts
    4

    Default Re: GUI for sql map

    root@bt:~# which python
    /usr/bin/python
    root@bt:~# python --version
    Python 2.6.5
    root@bt:~#



    Hmm, why is it not installing 2.7 ?

    Thanx for your fast reply

  4. #4
    My life is this forum thorin's Avatar
    Join Date
    Jan 2010
    Posts
    2,629

    Default Re: GUI for sql map

    Try:
    Code:
    aptitude search python
    Does it list 2.7?

    2.7 might not be in the BT repos, I'm not sure.
    I'm a compulsive post editor, you might wanna wait until my post has been online for 5-10 mins before quoting it as it will likely change.

    I know I seem harsh in some of my replies. SORRY! But if you're doing something illegal or posting something that seems to be obvious BS I'm going to call you on it.

  5. #5
    Just burned his ISO
    Join Date
    Aug 2012
    Posts
    1

    Default Re: GUI for sql map

    Please try to install Ttk Python wrapper.
    From: 'http://pypi.python.org/pypi/pyttk/0.3#downloads' get: pyttk-0.3.tar.gz or pyttk-0.3-py3k.tar.gz and just: # python setup.py install; For me, this works.
    Then:
    root@bt:~# cd /usr/share/applications
    root@bt:~# vim backtrack-sqlmap_GUI.desktop

    [Desktop Entry]
    Name=sqlmap GUI
    Encoding=UTF-8
    Exec=sh -c "cd /pentest/database/sqlmap/ && ./sqm.pyw;sudo -s"
    Icon=btmenu.png
    StartupNotify=false
    Terminal=false
    Type=Application
    Categories=bt-web-assessment-vulnerability-scanner;bt-web-exploitation-scanners;bt-db-mysql-assessment;bt-db-mssql-assessment;bt-db-oracle-assessment;bt-db-mysql-analysis;bt-db-mssql-analysis;bt-db-oracle-analysis;bt-db-mysql-exploit;bt-db-mssql-exploit;bt-db-oracle-exploit;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •