http-git
脚本使用类型:
portrule
脚本所属分类:
default, safe, vuln
脚本下载地址: http://nmap.org/svn/scripts/http-git.nse
Checks for a Git repository found in a website's document root /.git/<something>) and retrieves as much repo information as possible, including language/framework, remotes, last commit message, and repository description.
执行格式
nmap -sV -sC <target>
PORT STATE SERVICE REASON 80/tcp open http syn-ack | http-git: | 127.0.0.1:80/.git/ | Git repository found! | .git/config matched patterns 'passw' | Repository description: Unnamed repository; edit this file 'description' to name the... | Remotes: | http://github.com/someuser/somerepo | Project type: Ruby on Rails web application (guessed from .git/info/exclude) | 127.0.0.1:80/damagedrepository/.git/ |_ Potential Git repository found (found 2/6 expected files)
Author: Alex Weber
License: VER007 整理 http://www.ver007.com