Skip to content

Commit c0aa856

Browse files
committed
Update of banner regexes
1 parent bce1cfe commit c0aa856

File tree

5 files changed

+100
-23
lines changed

5 files changed

+100
-23
lines changed

data/xml/banner/generic.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<!-- Reference: https://msdn.microsoft.com/en-us/library/windows/desktop/ms724832%28v=vs.85%29.aspx -->
3535

3636
<regexp value="Windows.*\b10\.0">
37-
<info type="Windows" distrib="2016|10"/>
37+
<info type="Windows" distrib="2019|2016|10"/>
3838
</regexp>
3939

4040
<regexp value="Windows.*\b6\.3">
@@ -151,7 +151,7 @@
151151
<info type="Linux" distrib="Ubuntu"/>
152152
</regexp>
153153

154-
<!-- Unices -->
154+
<!-- BSD -->
155155

156156
<regexp value="FreeBSD">
157157
<info type="FreeBSD"/>

data/xml/banner/mysql.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@
6464
<info dbms_version="1" type="Linux" distrib="Debian" release="12" codename="bookworm"/>
6565
</regexp>
6666

67+
<regexp value="^([\d\.]+)[\-\_]Debian[\-\_][\d\.]+trixie">
68+
<info dbms_version="1" type="Linux" distrib="Debian" release="13" codename="trixie"/>
69+
</regexp>
70+
6771
<regexp value="^([\d\.]+)[\-\_]Debian[\-\_][\d\.]+(sid|unstable)">
6872
<info dbms_version="1" type="Linux" distrib="Debian" codename="unstable"/>
6973
</regexp>

data/xml/banner/server.xml

Lines changed: 81 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<!-- Microsoft IIS -->
1111

1212
<regexp value="Microsoft-IIS/(10\.0)">
13-
<info technology="Microsoft IIS" tech_version="1" type="Windows" distrib="2016|10"/>
13+
<info technology="Microsoft IIS" tech_version="1" type="Windows" distrib="2019|2016|10"/>
1414
</regexp>
1515

1616
<regexp value="Microsoft-IIS/(8\.5)">
@@ -74,23 +74,27 @@
7474
<!-- Apache: CentOS -->
7575

7676
<regexp value="Apache/2\.0\.46 \(CentOS\)">
77-
<info type="Linux" distrib="CentOS" release="3.9"/>
77+
<info type="Linux" distrib="CentOS" release="3"/>
7878
</regexp>
7979

8080
<regexp value="Apache/2\.0\.52 \(CentOS\)">
81-
<info type="Linux" distrib="CentOS" release="4.9"/>
81+
<info type="Linux" distrib="CentOS" release="4"/>
8282
</regexp>
8383

8484
<regexp value="Apache/2\.2\.3 \(CentOS\)">
85-
<info type="Linux" distrib="CentOS" release="5.10"/>
85+
<info type="Linux" distrib="CentOS" release="5"/>
8686
</regexp>
8787

8888
<regexp value="Apache/2\.2\.15 \(CentOS\)">
89-
<info type="Linux" distrib="CentOS" release="6.8"/>
89+
<info type="Linux" distrib="CentOS" release="6"/>
9090
</regexp>
9191

9292
<regexp value="Apache/2\.4\.6 \(CentOS\)">
93-
<info type="Linux" distrib="CentOS" release="7-1708"/>
93+
<info type="Linux" distrib="CentOS" release="7"/>
94+
</regexp>
95+
96+
<regexp value="Apache/2\.4\.37 \(CentOS\)">
97+
<info type="Linux" distrib="CentOS" release="8"/>
9498
</regexp>
9599

96100
<!-- Apache: Debian -->
@@ -131,36 +135,32 @@
131135
<info type="Linux" distrib="Debian" release="3.1" codename="sarge"/>
132136
</regexp>
133137

134-
<regexp value="Apache/1\.3\.34 \(Debian GNU\/Linux\)">
135-
<info type="Linux" distrib="Debian" release="4.0" codename="etch"/>
136-
</regexp>
137-
138138
<regexp value="Apache/2\.2\.3 \(Debian\)">
139-
<info type="Linux" distrib="Debian" release="4.0" codename="etch"/>
140-
</regexp>
141-
142-
<regexp value="Apache/2\.2\.6 \(Debian\)">
143-
<info type="Linux" distrib="Debian" release="4.0" codename="etch" updated="True"/>
139+
<info type="Linux" distrib="Debian" release="4" codename="etch"/>
144140
</regexp>
145141

146142
<regexp value="Apache/2\.2\.9 \(Debian\)">
147-
<info type="Linux" distrib="Debian" release="5.0" codename="lenny"/>
143+
<info type="Linux" distrib="Debian" release="5" codename="lenny"/>
148144
</regexp>
149145

150146
<regexp value="Apache/2\.2\.16 \(Debian\)">
151-
<info type="Linux" distrib="Debian" release="6.0" codename="squeeze"/>
147+
<info type="Linux" distrib="Debian" release="6" codename="squeeze"/>
152148
</regexp>
153149

154150
<regexp value="Apache/2\.2\.22 \(Debian\)">
155-
<info type="Linux" distrib="Debian" release="7.0" codename="wheezy"/>
151+
<info type="Linux" distrib="Debian" release="7" codename="wheezy"/>
156152
</regexp>
157153

158154
<regexp value="Apache/2\.4\.10 \(Debian\)">
159-
<info type="Linux" distrib="Debian" release="8.0" codename="jessie"/>
155+
<info type="Linux" distrib="Debian" release="8" codename="jessie"/>
160156
</regexp>
161157

162158
<regexp value="Apache/2\.4\.25 \(Debian\)">
163-
<info type="Linux" distrib="Debian" release="9.0" codename="stretch"/>
159+
<info type="Linux" distrib="Debian" release="9" codename="stretch"/>
160+
</regexp>
161+
162+
<regexp value="Apache/2\.4\.38 \(Debian\)">
163+
<info type="Linux" distrib="Debian" release="10" codename="buster"/>
164164
</regexp>
165165

166166
<!-- Apache: Fedora -->
@@ -293,6 +293,31 @@
293293
<info type="Linux" distrib="Fedora" release="27"/>
294294
</regexp>
295295

296+
297+
<regexp value="Apache/2\.4\.33 \(Fedora\)">
298+
<info type="Linux" distrib="Fedora" release="28"/>
299+
</regexp>
300+
301+
<regexp value="Apache/2\.4\.34 \(Fedora\)">
302+
<info type="Linux" distrib="Fedora" release="29"/>
303+
</regexp>
304+
305+
<regexp value="Apache/2\.4\.39 \(Fedora\)">
306+
<info type="Linux" distrib="Fedora" release="30"/>
307+
</regexp>
308+
309+
<regexp value="Apache/2\.4\.41 \(Fedora\)">
310+
<info type="Linux" distrib="Fedora" release="31"/>
311+
</regexp>
312+
313+
<regexp value="Apache/2\.4\.43 \(Fedora\)">
314+
<info type="Linux" distrib="Fedora" release="32"/>
315+
</regexp>
316+
317+
<regexp value="Apache/2\.4\.46 \(Fedora\)">
318+
<info type="Linux" distrib="Fedora" release="33"/>
319+
</regexp>
320+
296321
<!-- Apache: FreeBSD -->
297322

298323
<regexp value="Apache/2\.0\.16 \(FreeBSD\)">
@@ -407,6 +432,14 @@
407432
<info type="FreeBSD" release="11.1"/>
408433
</regexp>
409434

435+
<regexp value="Apache/2\.4\.39 \(FreeBSD\)">
436+
<info type="FreeBSD" release="11.3"/>
437+
</regexp>
438+
439+
<regexp value="Apache/2\.4\.46 \(FreeBSD\)">
440+
<info type="FreeBSD" release="12.2"/>
441+
</regexp>
442+
410443
<!-- Apache: Mandrake / Mandriva -->
411444

412445
<regexp value="Apache/1\.3\.6 \(Unix\)\s+\(Mandrake/Linux\)">
@@ -587,6 +620,10 @@
587620
<info type="Linux" distrib="Red Hat" release="Enterprise 7" codename="Maipo"/>
588621
</regexp>
589622

623+
<regexp value="Apache/2\.4\.37 \(Red Hat\)">
624+
<info type="Linux" distrib="Red Hat" release="Enterprise 8" codename="Ootpa"/>
625+
</regexp>
626+
590627
<!-- Apache: SuSE -->
591628

592629
<regexp value="Apache/1\.3\.6 \(Unix\) \(SuSE/Linux\)">
@@ -714,6 +751,14 @@
714751
<info type="Linux" distrib="SuSE" release="42.2|42.3"/>
715752
</regexp>
716753

754+
<regexp value="Apache/2\.4\.33 \(Linux/SuSE\)">
755+
<info type="Linux" distrib="SuSE" release="15"/>
756+
</regexp>
757+
758+
<regexp value="Apache/2\.4\.43 \(Linux/SuSE\)">
759+
<info type="Linux" distrib="SuSE" release="15.2"/>
760+
</regexp>
761+
717762
<!-- Apache: Ubuntu -->
718763

719764
<regexp value="Apache/2\.0\.50 \(Ubuntu\)">
@@ -800,6 +845,22 @@
800845
<info type="Linux" distrib="Ubuntu" release="17.10" codename="artful"/>
801846
</regexp>
802847

848+
<regexp value="Apache/2\.4\.29 \(Ubuntu\)">
849+
<info type="Linux" distrib="Ubuntu" release="18.04" codename="bionic"/>
850+
</regexp>
851+
852+
<regexp value="Apache/2\.4\.34 \(Ubuntu\)">
853+
<info type="Linux" distrib="Ubuntu" release="18.10" codename="cosmic"/>
854+
</regexp>
855+
856+
<regexp value="Apache/2\.4\.38 \(Ubuntu\)">
857+
<info type="Linux" distrib="Ubuntu" release="19.04" codename="disco"/>
858+
</regexp>
859+
860+
<regexp value="Apache/2\.4\.41 \(Ubuntu\)">
861+
<info type="Linux" distrib="Ubuntu" release="19.10|20.04" codename="eoan|focal"/>
862+
</regexp>
863+
803864
<!-- Nginx -->
804865

805866
<regexp value="nginx$">

data/xml/banner/x-powered-by.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,18 @@
1919
<info technology="EasyEngine" tech_version="1"/>
2020
</regexp>
2121

22+
<regexp value="Phusion Passenger ([\d\.]+)">
23+
<info technology="Phusion Passenger" tech_version="1"/>
24+
</regexp>
25+
26+
<regexp value="Craft CMS">
27+
<info technology="Craft CMS"/>
28+
</regexp>
29+
30+
<regexp value="Express">
31+
<info technology="Express"/>
32+
</regexp>
33+
2234
<regexp value="PleskLin">
2335
<info technology="Plesk" type="Linux"/>
2436
</regexp>

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from thirdparty.six import unichr as _unichr
1919

2020
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21-
VERSION = "1.4.12.17"
21+
VERSION = "1.4.12.18"
2222
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2323
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2424
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

0 commit comments

Comments
 (0)