Update of banner regexes

This commit is contained in:
Miroslav Stampar 2020-12-08 14:41:19 +01:00
parent bce1cfe00f
commit c0aa8565a1
5 changed files with 100 additions and 23 deletions

View File

@ -34,7 +34,7 @@
<!-- Reference: https://msdn.microsoft.com/en-us/library/windows/desktop/ms724832%28v=vs.85%29.aspx --> <!-- Reference: https://msdn.microsoft.com/en-us/library/windows/desktop/ms724832%28v=vs.85%29.aspx -->
<regexp value="Windows.*\b10\.0"> <regexp value="Windows.*\b10\.0">
<info type="Windows" distrib="2016|10"/> <info type="Windows" distrib="2019|2016|10"/>
</regexp> </regexp>
<regexp value="Windows.*\b6\.3"> <regexp value="Windows.*\b6\.3">
@ -151,7 +151,7 @@
<info type="Linux" distrib="Ubuntu"/> <info type="Linux" distrib="Ubuntu"/>
</regexp> </regexp>
<!-- Unices --> <!-- BSD -->
<regexp value="FreeBSD"> <regexp value="FreeBSD">
<info type="FreeBSD"/> <info type="FreeBSD"/>

View File

@ -64,6 +64,10 @@
<info dbms_version="1" type="Linux" distrib="Debian" release="12" codename="bookworm"/> <info dbms_version="1" type="Linux" distrib="Debian" release="12" codename="bookworm"/>
</regexp> </regexp>
<regexp value="^([\d\.]+)[\-\_]Debian[\-\_][\d\.]+trixie">
<info dbms_version="1" type="Linux" distrib="Debian" release="13" codename="trixie"/>
</regexp>
<regexp value="^([\d\.]+)[\-\_]Debian[\-\_][\d\.]+(sid|unstable)"> <regexp value="^([\d\.]+)[\-\_]Debian[\-\_][\d\.]+(sid|unstable)">
<info dbms_version="1" type="Linux" distrib="Debian" codename="unstable"/> <info dbms_version="1" type="Linux" distrib="Debian" codename="unstable"/>
</regexp> </regexp>

View File

@ -10,7 +10,7 @@
<!-- Microsoft IIS --> <!-- Microsoft IIS -->
<regexp value="Microsoft-IIS/(10\.0)"> <regexp value="Microsoft-IIS/(10\.0)">
<info technology="Microsoft IIS" tech_version="1" type="Windows" distrib="2016|10"/> <info technology="Microsoft IIS" tech_version="1" type="Windows" distrib="2019|2016|10"/>
</regexp> </regexp>
<regexp value="Microsoft-IIS/(8\.5)"> <regexp value="Microsoft-IIS/(8\.5)">
@ -74,23 +74,27 @@
<!-- Apache: CentOS --> <!-- Apache: CentOS -->
<regexp value="Apache/2\.0\.46 \(CentOS\)"> <regexp value="Apache/2\.0\.46 \(CentOS\)">
<info type="Linux" distrib="CentOS" release="3.9"/> <info type="Linux" distrib="CentOS" release="3"/>
</regexp> </regexp>
<regexp value="Apache/2\.0\.52 \(CentOS\)"> <regexp value="Apache/2\.0\.52 \(CentOS\)">
<info type="Linux" distrib="CentOS" release="4.9"/> <info type="Linux" distrib="CentOS" release="4"/>
</regexp> </regexp>
<regexp value="Apache/2\.2\.3 \(CentOS\)"> <regexp value="Apache/2\.2\.3 \(CentOS\)">
<info type="Linux" distrib="CentOS" release="5.10"/> <info type="Linux" distrib="CentOS" release="5"/>
</regexp> </regexp>
<regexp value="Apache/2\.2\.15 \(CentOS\)"> <regexp value="Apache/2\.2\.15 \(CentOS\)">
<info type="Linux" distrib="CentOS" release="6.8"/> <info type="Linux" distrib="CentOS" release="6"/>
</regexp> </regexp>
<regexp value="Apache/2\.4\.6 \(CentOS\)"> <regexp value="Apache/2\.4\.6 \(CentOS\)">
<info type="Linux" distrib="CentOS" release="7-1708"/> <info type="Linux" distrib="CentOS" release="7"/>
</regexp>
<regexp value="Apache/2\.4\.37 \(CentOS\)">
<info type="Linux" distrib="CentOS" release="8"/>
</regexp> </regexp>
<!-- Apache: Debian --> <!-- Apache: Debian -->
@ -131,36 +135,32 @@
<info type="Linux" distrib="Debian" release="3.1" codename="sarge"/> <info type="Linux" distrib="Debian" release="3.1" codename="sarge"/>
</regexp> </regexp>
<regexp value="Apache/1\.3\.34 \(Debian GNU\/Linux\)">
<info type="Linux" distrib="Debian" release="4.0" codename="etch"/>
</regexp>
<regexp value="Apache/2\.2\.3 \(Debian\)"> <regexp value="Apache/2\.2\.3 \(Debian\)">
<info type="Linux" distrib="Debian" release="4.0" codename="etch"/> <info type="Linux" distrib="Debian" release="4" codename="etch"/>
</regexp>
<regexp value="Apache/2\.2\.6 \(Debian\)">
<info type="Linux" distrib="Debian" release="4.0" codename="etch" updated="True"/>
</regexp> </regexp>
<regexp value="Apache/2\.2\.9 \(Debian\)"> <regexp value="Apache/2\.2\.9 \(Debian\)">
<info type="Linux" distrib="Debian" release="5.0" codename="lenny"/> <info type="Linux" distrib="Debian" release="5" codename="lenny"/>
</regexp> </regexp>
<regexp value="Apache/2\.2\.16 \(Debian\)"> <regexp value="Apache/2\.2\.16 \(Debian\)">
<info type="Linux" distrib="Debian" release="6.0" codename="squeeze"/> <info type="Linux" distrib="Debian" release="6" codename="squeeze"/>
</regexp> </regexp>
<regexp value="Apache/2\.2\.22 \(Debian\)"> <regexp value="Apache/2\.2\.22 \(Debian\)">
<info type="Linux" distrib="Debian" release="7.0" codename="wheezy"/> <info type="Linux" distrib="Debian" release="7" codename="wheezy"/>
</regexp> </regexp>
<regexp value="Apache/2\.4\.10 \(Debian\)"> <regexp value="Apache/2\.4\.10 \(Debian\)">
<info type="Linux" distrib="Debian" release="8.0" codename="jessie"/> <info type="Linux" distrib="Debian" release="8" codename="jessie"/>
</regexp> </regexp>
<regexp value="Apache/2\.4\.25 \(Debian\)"> <regexp value="Apache/2\.4\.25 \(Debian\)">
<info type="Linux" distrib="Debian" release="9.0" codename="stretch"/> <info type="Linux" distrib="Debian" release="9" codename="stretch"/>
</regexp>
<regexp value="Apache/2\.4\.38 \(Debian\)">
<info type="Linux" distrib="Debian" release="10" codename="buster"/>
</regexp> </regexp>
<!-- Apache: Fedora --> <!-- Apache: Fedora -->
@ -293,6 +293,31 @@
<info type="Linux" distrib="Fedora" release="27"/> <info type="Linux" distrib="Fedora" release="27"/>
</regexp> </regexp>
<regexp value="Apache/2\.4\.33 \(Fedora\)">
<info type="Linux" distrib="Fedora" release="28"/>
</regexp>
<regexp value="Apache/2\.4\.34 \(Fedora\)">
<info type="Linux" distrib="Fedora" release="29"/>
</regexp>
<regexp value="Apache/2\.4\.39 \(Fedora\)">
<info type="Linux" distrib="Fedora" release="30"/>
</regexp>
<regexp value="Apache/2\.4\.41 \(Fedora\)">
<info type="Linux" distrib="Fedora" release="31"/>
</regexp>
<regexp value="Apache/2\.4\.43 \(Fedora\)">
<info type="Linux" distrib="Fedora" release="32"/>
</regexp>
<regexp value="Apache/2\.4\.46 \(Fedora\)">
<info type="Linux" distrib="Fedora" release="33"/>
</regexp>
<!-- Apache: FreeBSD --> <!-- Apache: FreeBSD -->
<regexp value="Apache/2\.0\.16 \(FreeBSD\)"> <regexp value="Apache/2\.0\.16 \(FreeBSD\)">
@ -407,6 +432,14 @@
<info type="FreeBSD" release="11.1"/> <info type="FreeBSD" release="11.1"/>
</regexp> </regexp>
<regexp value="Apache/2\.4\.39 \(FreeBSD\)">
<info type="FreeBSD" release="11.3"/>
</regexp>
<regexp value="Apache/2\.4\.46 \(FreeBSD\)">
<info type="FreeBSD" release="12.2"/>
</regexp>
<!-- Apache: Mandrake / Mandriva --> <!-- Apache: Mandrake / Mandriva -->
<regexp value="Apache/1\.3\.6 \(Unix\)\s+\(Mandrake/Linux\)"> <regexp value="Apache/1\.3\.6 \(Unix\)\s+\(Mandrake/Linux\)">
@ -587,6 +620,10 @@
<info type="Linux" distrib="Red Hat" release="Enterprise 7" codename="Maipo"/> <info type="Linux" distrib="Red Hat" release="Enterprise 7" codename="Maipo"/>
</regexp> </regexp>
<regexp value="Apache/2\.4\.37 \(Red Hat\)">
<info type="Linux" distrib="Red Hat" release="Enterprise 8" codename="Ootpa"/>
</regexp>
<!-- Apache: SuSE --> <!-- Apache: SuSE -->
<regexp value="Apache/1\.3\.6 \(Unix\) \(SuSE/Linux\)"> <regexp value="Apache/1\.3\.6 \(Unix\) \(SuSE/Linux\)">
@ -714,6 +751,14 @@
<info type="Linux" distrib="SuSE" release="42.2|42.3"/> <info type="Linux" distrib="SuSE" release="42.2|42.3"/>
</regexp> </regexp>
<regexp value="Apache/2\.4\.33 \(Linux/SuSE\)">
<info type="Linux" distrib="SuSE" release="15"/>
</regexp>
<regexp value="Apache/2\.4\.43 \(Linux/SuSE\)">
<info type="Linux" distrib="SuSE" release="15.2"/>
</regexp>
<!-- Apache: Ubuntu --> <!-- Apache: Ubuntu -->
<regexp value="Apache/2\.0\.50 \(Ubuntu\)"> <regexp value="Apache/2\.0\.50 \(Ubuntu\)">
@ -800,6 +845,22 @@
<info type="Linux" distrib="Ubuntu" release="17.10" codename="artful"/> <info type="Linux" distrib="Ubuntu" release="17.10" codename="artful"/>
</regexp> </regexp>
<regexp value="Apache/2\.4\.29 \(Ubuntu\)">
<info type="Linux" distrib="Ubuntu" release="18.04" codename="bionic"/>
</regexp>
<regexp value="Apache/2\.4\.34 \(Ubuntu\)">
<info type="Linux" distrib="Ubuntu" release="18.10" codename="cosmic"/>
</regexp>
<regexp value="Apache/2\.4\.38 \(Ubuntu\)">
<info type="Linux" distrib="Ubuntu" release="19.04" codename="disco"/>
</regexp>
<regexp value="Apache/2\.4\.41 \(Ubuntu\)">
<info type="Linux" distrib="Ubuntu" release="19.10|20.04" codename="eoan|focal"/>
</regexp>
<!-- Nginx --> <!-- Nginx -->
<regexp value="nginx$"> <regexp value="nginx$">

View File

@ -19,6 +19,18 @@
<info technology="EasyEngine" tech_version="1"/> <info technology="EasyEngine" tech_version="1"/>
</regexp> </regexp>
<regexp value="Phusion Passenger ([\d\.]+)">
<info technology="Phusion Passenger" tech_version="1"/>
</regexp>
<regexp value="Craft CMS">
<info technology="Craft CMS"/>
</regexp>
<regexp value="Express">
<info technology="Express"/>
</regexp>
<regexp value="PleskLin"> <regexp value="PleskLin">
<info technology="Plesk" type="Linux"/> <info technology="Plesk" type="Linux"/>
</regexp> </regexp>

View File

@ -18,7 +18,7 @@ from lib.core.enums import OS
from thirdparty.six import unichr as _unichr from thirdparty.six import unichr as _unichr
# sqlmap version (<major>.<minor>.<month>.<monthly commit>) # sqlmap version (<major>.<minor>.<month>.<monthly commit>)
VERSION = "1.4.12.17" VERSION = "1.4.12.18"
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable" TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34} TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE) VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)