Movatterモバイル変換


[0]ホーム

URL:


Home page logo

Scripthttp-git

Script types:portrule
Categories:default,safe,vuln
Download:https://svn.nmap.org/nmap/scripts/http-git.nse

Script Summary

Checks for a Git repository found in a website's document root/.git/<something>) and retrieves as much repo information aspossible, including language/framework, remotes, last commitmessage, and repository description.

Script Arguments

http-git.root

URL path to search for a .git directory. Default: /

slaxml.debug

See the documentation for theslaxml library.

http.host,http.max-body-size,http.max-cache-size,http.max-pipeline,http.pipeline,http.truncated-ok,http.useragent

See the documentation for thehttp library.

smbdomain,smbhash,smbnoguest,smbpassword,smbtype,smbusername

See the documentation for thesmbauth library.

Example Usage

nmap -sV -sC <target>

Script Output

PORT   STATE SERVICE REASON80/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)

Requires


Author:

  • Alex Weber

License: Same as Nmap--Seehttps://nmap.org/book/man-legal.html


[8]ページ先頭

©2009-2025 Movatter.jp