mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 03:23:48 +03:00
Minor fix
This commit is contained in:
parent
472f4465a6
commit
75f7df75b6
|
@ -66,12 +66,7 @@ def unescape(string, dbms):
|
|||
"Sybase": Sybase.unescape
|
||||
}
|
||||
|
||||
if isinstance(dbms, list):
|
||||
dbmsunescaper = unescaper[dbms[0]]
|
||||
else:
|
||||
dbmsunescaper = unescaper[dbms]
|
||||
|
||||
return dbmsunescaper(string)
|
||||
return unescaper[dbms](string)
|
||||
|
||||
def checkSqlInjection(place, parameter, value):
|
||||
# Store here the details about boundaries and payload used to
|
||||
|
|
|
@ -121,7 +121,7 @@ def __selectInjection():
|
|||
raise sqlmapUserQuitException
|
||||
else:
|
||||
errMsg = "invalid choice"
|
||||
raise sqlmapValueException, errMsg
|
||||
raise sqlmapValueException, errMsg
|
||||
|
||||
kb.injection = kb.injections[index]
|
||||
|
||||
|
|
|
@ -482,7 +482,6 @@ Formats:
|
|||
</response>
|
||||
<details>
|
||||
<dbms>Microsoft SQL Server</dbms>
|
||||
<dbms>Sybase</dbms>
|
||||
</details>
|
||||
</test>
|
||||
|
||||
|
@ -574,7 +573,6 @@ Formats:
|
|||
</response>
|
||||
<details>
|
||||
<dbms>Microsoft SQL Server</dbms>
|
||||
<dbms>Sybase</dbms>
|
||||
</details>
|
||||
</test>
|
||||
|
||||
|
@ -668,7 +666,6 @@ Formats:
|
|||
</response>
|
||||
<details>
|
||||
<dbms>Microsoft SQL Server</dbms>
|
||||
<dbms>Sybase</dbms>
|
||||
</details>
|
||||
</test>
|
||||
|
||||
|
@ -749,7 +746,6 @@ Formats:
|
|||
</response>
|
||||
<details>
|
||||
<dbms>Microsoft SQL Server</dbms>
|
||||
<dbms>Sybase</dbms>
|
||||
</details>
|
||||
</test>
|
||||
|
||||
|
@ -823,7 +819,6 @@ Formats:
|
|||
</response>
|
||||
<details>
|
||||
<dbms>Microsoft SQL Server</dbms>
|
||||
<dbms>Sybase</dbms>
|
||||
</details>
|
||||
</test>
|
||||
|
||||
|
@ -974,7 +969,6 @@ Formats:
|
|||
</response>
|
||||
<details>
|
||||
<dbms>Microsoft SQL Server</dbms>
|
||||
<dbms>Sybase</dbms>
|
||||
</details>
|
||||
</test>
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user