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 "Sybase": Sybase.unescape
} }
if isinstance(dbms, list): return unescaper[dbms](string)
dbmsunescaper = unescaper[dbms[0]]
else:
dbmsunescaper = unescaper[dbms]
return dbmsunescaper(string)
def checkSqlInjection(place, parameter, value): def checkSqlInjection(place, parameter, value):
# Store here the details about boundaries and payload used to # Store here the details about boundaries and payload used to

View File

@ -482,7 +482,6 @@ Formats:
</response> </response>
<details> <details>
<dbms>Microsoft SQL Server</dbms> <dbms>Microsoft SQL Server</dbms>
<dbms>Sybase</dbms>
</details> </details>
</test> </test>
@ -574,7 +573,6 @@ Formats:
</response> </response>
<details> <details>
<dbms>Microsoft SQL Server</dbms> <dbms>Microsoft SQL Server</dbms>
<dbms>Sybase</dbms>
</details> </details>
</test> </test>
@ -668,7 +666,6 @@ Formats:
</response> </response>
<details> <details>
<dbms>Microsoft SQL Server</dbms> <dbms>Microsoft SQL Server</dbms>
<dbms>Sybase</dbms>
</details> </details>
</test> </test>
@ -749,7 +746,6 @@ Formats:
</response> </response>
<details> <details>
<dbms>Microsoft SQL Server</dbms> <dbms>Microsoft SQL Server</dbms>
<dbms>Sybase</dbms>
</details> </details>
</test> </test>
@ -823,7 +819,6 @@ Formats:
</response> </response>
<details> <details>
<dbms>Microsoft SQL Server</dbms> <dbms>Microsoft SQL Server</dbms>
<dbms>Sybase</dbms>
</details> </details>
</test> </test>
@ -974,7 +969,6 @@ Formats:
</response> </response>
<details> <details>
<dbms>Microsoft SQL Server</dbms> <dbms>Microsoft SQL Server</dbms>
<dbms>Sybase</dbms>
</details> </details>
</test> </test>