SQLSUS not workingWeb Application Penetration Testing

Begin Learning Cyber Security for FREE Now!

FREE REGISTRATION
Already a Member Login Here

Home Forums Courses Web Application Penetration Testing SQLSUS not working

This topic contains 18 replies, has 11 voices, and was last updated by  Sumy 1 year, 12 months ago.

Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #63283

    djorijun
    Participant

    I’m going through the Web Penetration Testing videos and have hit a wall.

    I keep getting the error “can’t use ‘defined(@array)’ Maybe you should just omit the defined()?) at /usr/bin/sqlsus line 83.”
    When attempting to run sqlsus. I’ve made an attempt to install sqlsus manually and this did not fix it. I’ve also run several apt-get’s to see if there was an update to Kali and no dice.

    • This topic was modified 3 years, 8 months ago by  djorijun.
    #63732

    mcdavex
    Participant

    yeah. it is a bug in the script after perl was updated. 0.7.2-1kali1 has a fix, so “apt-get update” followed by “apt-get install sqlsus” should install the fix for you

    #64628

    djorijun
    Participant

    When I run the above commands it says 0.7.2-1 is already installed. After a reboot I run sqlsus and receive the same error from my first post.

    #64685

    mcdavex
    Participant

    Shouldn’t need to reboot. does your output of
    dpkg-query -l sqlsus
    match

    ||/ Name           Version      Architecture Description
    +++-==============-============-============-=================================
    ii  sqlsus         0.7.2-1kali1 all          MySQL injection tool

    ??

    #64693

    djorijun
    Participant

    Here is the output I receive

    Desired=Unknown/Install/Remove/Purge/Hold
    | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
    |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
    ||/ Name Version Architecture Description
    +++-==============-============-============-=================================
    ii sqlsus 0.7.2-1 all MySQL injection and takeover tool

    #64703

    mcdavex
    Participant

    Looks like you are having deb package management problems then – you are definitely running the old version. try
    apt-cache show sqlsus | grep Filename
    if you don’t get the output
    Filename: pool/main/s/sqlsus/sqlsus_0.7.2-1kali1_all.deb
    then your apt-get cache is not showing the latest values. “apt-get update” should have updated that cache for you, but if it is corrupt “apt-get check” should verify the cache is accurate. If the above line is accurate, then “apt get install sqlsus” should update your outdated script to the new version.

    #64730

    mcdavex
    Participant

    worst case you can pull http://repo.kali.org/kali/pool/main/s/sqlsus/sqlsus_0.7.2-1kali1_all.deb and install it manually 😀

    #64741

    djorijun
    Participant

    Looks like the manual install did it for me. Thanks @mcdavex for all your help.

    #64756

    mcdavex
    Participant

    You are welcome, and good luck with the course 🙂

    #66278

    Omar ElKhatib
    Participant

    Same her but i solve it with download another version

    #81426

    WarLord
    Participant

    The apt-get update and apt-get install sqlsus worked for me!

    Thanks!

    #89923

    chandu meenavalli
    Participant

    Hi all,
    I’m getting the following error. Kindly I appreciate any help.

    sqlsus version 0.7.2

    Copyright (c) 2008-2011 Jérémy Ruffet (sativouf)

    [!] – ERROR – Unable to extract server from url_start, check your configuration file

    #90322

    mohit sharma
    Participant

    SQL sus is not working ,it throws an error “[!] – ERROR – Unable to extract server from url_start, check your configuration file”
    Hope somebody can help to resolve this

    #90831

    cybermo
    Participant

    ,?

    #96105

    john400
    Participant

    I tried installing it manually but it isn’t working. I am getting the same error

    [!] – ERROR – Unable to extract server from url_start, check your configuration file
    Really require help. Is this some issue related to sqlsus not installed properly or the server not placed at the link?

    #106684

    itayangi100
    Participant

    Hi,

    I was having the same problem as you:
    [!] – ERROR – Unable to extract server from url_start, check your configuration file
    That’s When I ran the command sqlsus attack (after creating it of course).

    I’ve found a solution for the problem by typing:
    sqlsus ./attack

    Hope it helps you.

    #107232

    abha2903
    Participant

    Thanx @itayangi. It worked for me.

    #112223

    Sumy
    Participant

    Error.unable to extractconfiguration file

    #112224

    Sumy
    Participant

    Error.unable to extractconfiguration file`

Viewing 19 posts - 1 through 19 (of 19 total)

You must be logged in to reply to this topic.

Our Revolution

We believe Cyber Security training should accessible for everyone, everywhere. Everyone deserves the OPPORTUNITY to learn, begin and grow a career in this fascinating field. Therefore, Cybrary is the world's largest community where people, companies and training come together to give everyone the ability to collaborate in an open source way that is revolutionizing the cyber security educational experience.

We recommend always using caution when following any link

Are you sure you want to continue?

Continue
Cancel