Nmap Development mailing list archives

New PR: simple changing match rule for an Apache web server


From: Gildásio Júnior <gildasiojunior () riseup net>
Date: Sun, 12 Jul 2020 20:30:37 -0300

Hi all,

Looking in contributing guidelines it recommends to send an e-mail about
a PR created by me. So...

I open a simple PR changing a rule to catch Apache web server
information in an specific case.

Using nmap-service-probe updated until today:

```
sudo nmap -Pn lab -sV -p80,443
Starting Nmap 7.80 ( https://nmap.org ) at 2020-07-12 20:20 -03
Nmap scan report for lab (172.16.0.201)
Host is up (0.0025s latency).

PORT    STATE SERVICE VERSION
80/tcp  open  http    Apache httpd 2.2.12 ((Win32) DAV/2 mod_ssl/2.2.12 OpenSSL/0.9.8k mod_autoindex_color PHP/5.3.0 
mod_perl/2.0.4 Perl/v5.10.0)
443/tcp open  ssl/ssl Apache httpd (SSL-only mode)
MAC Address: 52:54:00:29:D8:88 (QEMU virtual NIC)

Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 12.90 seconds
```

Using nmap-service-probe with my patch changes:

```
sudo nmap -Pn lab -sV -p80,443
Starting Nmap 7.80 ( https://nmap.org ) at 2020-07-12 20:24 -03
Nmap scan report for lab (172.16.0.201)
Host is up (0.00054s latency).

PORT    STATE SERVICE VERSION
80/tcp  open  http    Apache httpd 2.2.12 ((Win32) DAV/2 mod_ssl/2.2.12 OpenSSL/0.9.8k mod_autoindex_color PHP/5.3.0 
mod_perl/2.0.4 Perl/v5.10.0)
443/tcp open  ssl/ssl Apache httpd 2.2.12 ((Win32) DAV/2 mod_ssl/2.2.12 OpenSSL/0.9.8k mod_autoindex_color PHP/5.3.0 
mod_perl/2.0.4 Perl/v5.10.0 - SSL-only mode)
MAC Address: 52:54:00:29:D8:88 (QEMU virtual NIC)

Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 12.89 seconds
```

Please let me know if I did something wrong.

Thanks for the great job with Nmap!

-- 
[]'s
Gildásio Júnior

Attachment: signature.asc
Description:

_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: