Minor fix

This commit is contained in:
Bernardo Damele 2010-11-28 23:33:51 +00:00
parent 472f4465a6
commit 75f7df75b6
3 changed files with 2 additions and 13 deletions

View File

@ -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

View File

@ -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>