// notes/ Service Enumeration
📡

Misc Git

Notes from oscp.adot8.com — services.

#services#adot8
source · oscp.adot8.com · services/misc_git

Git

Located at

code
01http://gitea.site.htb
02http://site.htb/.git
03http://site.htb/dev/.git

Pull source code from .git directory

code
01git-dumper http://site.htb/.git website
02code

View all commits

code
01git log
02git show <commit id>

{% hint style="info" %} Check .htaccess or .htpasswd {% endhint %}

Check a commit

code
01cp -r website git
02git checkout '8812785e31c879261050e72e20f298ae8c43b565'