Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 720e235

Browse files
committed
Fixed Windows 2003/2008 signatures. Added more old RedHat Server header signatures. Added old Debian etch signature too.
1 parent e1319da commit 720e235

2 files changed

Lines changed: 26 additions & 11 deletions

File tree

xml/banner/server.xml

Lines changed: 25 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,35 +11,39 @@
1111
<!-- Microsoft IIS -->
1212

1313
<regexp value="Microsoft-IIS/(7\.5)">
14-
<info technology="Microsoft IIS" tech_version="1"/>
14+
<info technology="Microsoft IIS" tech_version="1" type="Windows" distrib="2008"/>
1515
</regexp>
1616

1717
<regexp value="Microsoft-IIS/(7\.0)">
18-
<info technology="Microsoft IIS" tech_version="1"/>
18+
<info technology="Microsoft IIS" tech_version="1" type="Windows" distrib="Vista"/>
1919
</regexp>
2020

2121
<regexp value="Microsoft-IIS/(6\.0)">
22-
<info technology="Microsoft IIS" tech_version="1"/>
22+
<info technology="Microsoft IIS" tech_version="1" type="Windows" distrib="2003"/>
23+
</regexp>
24+
25+
<regexp value="Microsoft-IIS/(5\.2)">
26+
<info technology="Microsoft IIS" tech_version="1" type="Windows" distrib="2003"/>
2327
</regexp>
2428

2529
<regexp value="Microsoft-IIS/(5\.1)">
26-
<info technology="Microsoft IIS" tech_version="1"/>
30+
<info technology="Microsoft IIS" tech_version="1" type="Windows" distrib="XP"/>
2731
</regexp>
2832

2933
<regexp value="Microsoft-IIS/(5\.0)">
30-
<info technology="Microsoft IIS" tech_version="1"/>
34+
<info technology="Microsoft IIS" tech_version="1" type="Windows" distrib="2000"/>
3135
</regexp>
3236

3337
<regexp value="Microsoft-IIS/(4\.0)">
34-
<info technology="Microsoft IIS" tech_version="1"/>
38+
<info technology="Microsoft IIS" tech_version="1" type="Windows" distrib="NT 4.0"/>
3539
</regexp>
3640

3741
<regexp value="Microsoft-IIS/(3\.0)">
38-
<info technology="Microsoft IIS" tech_version="1"/>
42+
<info technology="Microsoft IIS" tech_version="1" type="Windows" distrib="NT 4.0"/>
3943
</regexp>
4044

4145
<regexp value="Microsoft-IIS/(2\.0)">
42-
<info technology="Microsoft IIS" tech_version="1"/>
46+
<info technology="Microsoft IIS" tech_version="1" type="Windows" distrib="NT 4.0"/>
4347
</regexp>
4448

4549
<!-- Apache -->
@@ -108,6 +112,10 @@
108112
<info type="Linux" distrib="Debian" release="3.1" codename="sarge"/>
109113
</regexp>
110114

115+
<regexp value="Apache/1\.3\.34 \(Debian GNU\/Linux\)">
116+
<info type="Linux" distrib="Debian" release="4.0" codename="etch"/>
117+
</regexp>
118+
111119
<regexp value="Apache/2\.2\.3 \(Debian\)">
112120
<info type="Linux" distrib="Debian" release="4.0" codename="etch"/>
113121
</regexp>
@@ -391,7 +399,14 @@
391399
</regexp>
392400

393401
<!-- Apache: Red Hat -->
394-
<!-- TODO: add Red Hat 5, 5.1, 5.2 and 5.3 -->
402+
403+
<regexp value="Apache/1\.1\.3 Red Hat">
404+
<info type="Linux" distrib="Red Hat" release="4.2" codename="Biltmore"/>
405+
</regexp>
406+
407+
<regexp value="Apache/1\.2\.4 Red Hat">
408+
<info type="Linux" distrib="Red Hat" release="5.0" codename="Hurricane"/>
409+
</regexp>
395410

396411
<regexp value="Apache/1\.2\.6 Red Hat">
397412
<info type="Linux" distrib="Red Hat" release="5.1" codename="Manhattan"/>
@@ -410,7 +425,7 @@
410425
</regexp>
411426

412427
<regexp value="Apache/1\.3\.12 \(Unix\) \(Red Hat/Linux\)">
413-
<info type="Linux" distrib="Red Hat" release="7.0" codename="Guinness"/>
428+
<info type="Linux" distrib="Red Hat" release="6.2|7.0" codename="Zoot|Guinness"/>
414429
</regexp>
415430

416431
<regexp value="Apache/1\.3\.19 \(Unix\) \(Red-Hat/Linux\)">

xml/banner/x-aspnet-version.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44

55
<root>
66
<regexp value="([\d\.]+)">
7-
<info technology="ASP.NET" tech_version="1" type="Windows" distrib="2003|2008"/>
7+
<info technology="ASP.NET" tech_version="1" type="Windows"/>
88
</regexp>
99
</root>

0 commit comments

Comments
 (0)