the-robot / sqliv

massive SQL injection vulnerability scanner
https://en.kali.tools/all/?tool=1334
GNU General Public License v3.0
1.16k stars 376 forks source link

ValueError: dictionary update sequence element #0 has length 1; 2 is required #2

Closed Shazgul closed 7 years ago

Shazgul commented 7 years ago

Used Mode: 2

Used Dork: league.php?id=

Full Log: Website Information

Domain Name : github.com Protocol : https Path : /paquettg/leaguewrap/blob/master/src/LeagueWrap/Api/League.php Query[s] :

Checking the Website whether it's up or down. [+] Connected, URL is valid.

Traceback (most recent call last): File "sqlivul.py", line 246, in main() File "sqlivul.py", line 89, in init self.urlreq(self.readfile()) File "sqlivul.py", line 124, in urlreq self.scanurl(site) File "sqlivul.py", line 206, in scanurl parms = dict([item.split("=") for item in parsed_url[4].split("&")]) ValueError: dictionary update sequence element #0 has length 1; 2 is required

the-robot commented 7 years ago

Okay I fixed the code in line 203 of sqlivul.py to handle no query cases. It should be able to handle it by now. Thanks for your comment. Also, ext/pysearch.py has minor changes to handle HTTP Error 503.