mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 11:33:47 +03:00
Minor improvement to PostgreSQL signatures file to identify Windows.
Minor improvement to Microsoft SQL Server "limit" queries.
This commit is contained in:
parent
9e0d890171
commit
2cc3bb2f6a
|
@ -5,6 +5,11 @@
|
||||||
<info dbms_version="1"/>
|
<info dbms_version="1"/>
|
||||||
</regexp>
|
</regexp>
|
||||||
|
|
||||||
|
<!-- Windows -->
|
||||||
|
<regexp value="Visual C\+\+">
|
||||||
|
<info type="Windows"/>
|
||||||
|
</regexp>
|
||||||
|
|
||||||
<!-- Ubuntu -->
|
<!-- Ubuntu -->
|
||||||
<regexp value="PostgreSQL\s+(8\.2\.7)\s+on\s+.*?\s+\(Ubuntu 4\.2\.3-2ubuntu4\)">
|
<regexp value="PostgreSQL\s+(8\.2\.7)\s+on\s+.*?\s+\(Ubuntu 4\.2\.3-2ubuntu4\)">
|
||||||
<info dbms_version="1" type="Linux" distrib="Ubuntu" release="8.04" codename="Hardy Heron"/>
|
<info dbms_version="1" type="Linux" distrib="Ubuntu" release="8.04" codename="Hardy Heron"/>
|
||||||
|
|
|
@ -169,9 +169,9 @@
|
||||||
<isnull query="ISNULL(%s, ' ')"/>
|
<isnull query="ISNULL(%s, ' ')"/>
|
||||||
<delimiter query="+"/>
|
<delimiter query="+"/>
|
||||||
<limit query="SELECT TOP %d "/>
|
<limit query="SELECT TOP %d "/>
|
||||||
<limitregexp query="SELECT\s+TOP\s+1\s+.+?\s+FROM\s+.+?\s+WHERE\s+.+?\s+NOT\s+IN\s+\(SELECT\s+TOP\s+[\d]+\s+"/>
|
<limitregexp query="SELECT\s+TOP\s+([\d]+)\s+.+?\s+FROM\s+.+?\s+WHERE\s+.+?\s+NOT\s+IN\s+\(SELECT\s+TOP\s+([\d]+)\s+"/>
|
||||||
<limitgroupstart/>
|
<limitgroupstart query="2"/>
|
||||||
<limitgroupstop/>
|
<limitgroupstop query="1"/>
|
||||||
<limitstring/>
|
<limitstring/>
|
||||||
<order query="ORDER BY %s ASC"/>
|
<order query="ORDER BY %s ASC"/>
|
||||||
<count query="COUNT(%s)"/>
|
<count query="COUNT(%s)"/>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user