Nmap Development mailing list archives

[NSE] http-git patches


From: Alex Weber <alexwebr () gmail com>
Date: Fri, 07 Dec 2012 19:24:33 -0600

Hello,

Two patches to http-git here.

http-git seemed to have stop working at some point, so I took the
opportunity to change the output to a table so that we have some
semantic XML with -oX.
This patch file is attached as 'http-git_table_output.patch'
The normal output looks like this now:
PORT   STATE SERVICE
80/tcp open  http
| http-git:
|   192.168.100.126:80/test/.git/:
|     Potential Git repository found at 192.168.100.126:80/test/.git/
(found 5 of 6 expected files)
|     Repository description: Unnamed repository; edit this file
'description' to name the...
|     Last commit message: test...
|   192.168.100.126:80/.git/:
|     Potential Git repository found at 192.168.100.126:80/.git/ (found
5 of 6 expected files)
|     Source might be at https://github.com/AlexWebr/nse
|     Project type: Ruby application (guessed from .git/info/exclude)
|     Remote: git () github com:AlexWebr/nse
|     Repository description: Unnamed repository; edit this file
'description' to name the...
|_    Last commit message: test...


The second patch corrects a small mistake with one regex in
http-git.nse, that is not as specific as it should be.
The patch file is attached as 'http-git_regex_fix.patch'

Both patches were written against revision #30351.

-Alex

Attachment: http-git_regex_fix.patch
Description:

Attachment: http-git_table_output.patch
Description:

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

Current thread: