mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-23 01:56:36 +03:00
fa0507ab39
version, release, distribution, codename and service pack) by parsing the DBMS banner value when both -f and -b are provided: adapted the code and added XML files defining regular expressions for matching. Example of the -f -b output now on MySQL 5.0.67 running on latest Ubuntu: --8<-- back-end DBMS: active fingerprint: MySQL >= 5.0.38 and < 5.1.2 comment injection fingerprint: MySQL 5.0.67 banner parsing fingerprint: MySQL 5.0.67 html error message fingerprint: MySQL back-end DBMS operating system: Linux Ubuntu 8.10 (Intrepid) --8<--
87 lines
1.9 KiB
XML
87 lines
1.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<root>
|
|
<!-- Windows -->
|
|
<regexp value="(Windows|Win32)">
|
|
<info type="Windows"/>
|
|
</regexp>
|
|
|
|
<regexp value="Microsoft.*7\.0.*Service Pack (\d)">
|
|
<info type="Windows" distrib="Vista" sp="1"/>
|
|
</regexp>
|
|
|
|
<regexp value="Microsoft.*6\.0.*Service Pack (\d)">
|
|
<info type="Windows" distrib="2003" sp="1"/>
|
|
</regexp>
|
|
|
|
<regexp value="Microsoft.*5\.1.*Service Pack (\d)">
|
|
<info type="Windows" distrib="XP" sp="1"/>
|
|
</regexp>
|
|
|
|
<regexp value="Microsoft.*5\.0.*Service Pack (\d)">
|
|
<info type="Windows" distrib="2000" sp="1"/>
|
|
</regexp>
|
|
|
|
<!-- Linux -->
|
|
<regexp value="Linux">
|
|
<info type="Linux"/>
|
|
</regexp>
|
|
|
|
<regexp value="Cobalt">
|
|
<info type="Linux" distrib="Cobalt"/>
|
|
</regexp>
|
|
|
|
<regexp value="Conectiva">
|
|
<info type="Linux" distrib="Conectiva"/>
|
|
</regexp>
|
|
|
|
<regexp value="Debian">
|
|
<info type="Linux" distrib="Debian or Ubuntu"/>
|
|
</regexp>
|
|
|
|
<regexp value="Fedora">
|
|
<info type="Linux" distrib="Fedora"/>
|
|
</regexp>
|
|
|
|
<regexp value="Gentoo">
|
|
<info type="Linux" distrib="Gentoo"/>
|
|
</regexp>
|
|
|
|
<regexp value="Knoppix">
|
|
<info type="Linux" distrib="Knoppix"/>
|
|
</regexp>
|
|
|
|
<regexp value="(Mandrake|Mandriva)">
|
|
<info type="Linux" distrib="Mandrake"/>
|
|
</regexp>
|
|
|
|
<regexp value="Red[\-\_\ ]*Hat">
|
|
<info type="Linux" distrib="RedHat"/>
|
|
</regexp>
|
|
|
|
<regexp value="SuSE">
|
|
<info type="Linux" distrib="SuSE"/>
|
|
</regexp>
|
|
|
|
<regexp value="Ubuntu">
|
|
<info type="Linux" distrib="Ubuntu"/>
|
|
</regexp>
|
|
|
|
<!-- Unices -->
|
|
<regexp value="FreeBSD">
|
|
<info type="FreeBSD"/>
|
|
</regexp>
|
|
|
|
<regexp value="NetBSD">
|
|
<info type="NetBSD"/>
|
|
</regexp>
|
|
|
|
<regexp value="OpenBSD">
|
|
<info type="OpenBSD"/>
|
|
</regexp>
|
|
|
|
<regexp value="Darwin">
|
|
<info type="Mac OSX"/>
|
|
</regexp>
|
|
</root>
|