Git


During the Web enumeration, a Git directory was found at the .git directory of webroot

┌──(myVenv)─(kali㉿kali)-[~/PEN-200/PG_PRACTICE/uc404]
└─$ mkdir adaminlte_git ; git-dumper http://$IP/.git/ ./adminlte_git
[-] Testing http://192.168.125.109/.git/HEAD [200]
[-] Testing http://192.168.125.109/.git/ [200]
[-] Fetching .git recursively
[-] Fetching http://192.168.125.109/.git/ [200]
[-] Fetching http://192.168.125.109/.gitignore [200]
[-] Fetching http://192.168.125.109/.git/packed-refs [200]
[-] Fetching http://192.168.125.109/.git/objects/ [200]
[-] Fetching http://192.168.125.109/.git/description [200]
[-] Fetching http://192.168.125.109/.git/config [200]
[-] Fetching http://192.168.125.109/.git/HEAD [200]
[-] Fetching http://192.168.125.109/.git/hooks/ [200]
[-] Fetching http://192.168.125.109/.git/info/ [200]
[-] Fetching http://192.168.125.109/.git/branches/ [200]
[-] Fetching http://192.168.125.109/.git/logs/ [200]
[-] Fetching http://192.168.125.109/.git/index [200]
[-] Fetching http://192.168.125.109/.git/refs/ [200]
[-] Fetching http://192.168.125.109/.git/objects/info/ [200]
[-] Fetching http://192.168.125.109/.git/objects/pack/ [200]
[-] Fetching http://192.168.125.109/.git/info/exclude [200]
[-] Fetching http://192.168.125.109/.git/hooks/applypatch-msg.sample [200]
[-] Fetching http://192.168.125.109/.git/hooks/commit-msg.sample [200]
[-] Fetching http://192.168.125.109/.git/hooks/fsmonitor-watchman.sample [200]
[-] Fetching http://192.168.125.109/.git/hooks/post-update.sample [200]
[-] Fetching http://192.168.125.109/.git/hooks/pre-applypatch.sample [200]
[-] Fetching http://192.168.125.109/.git/hooks/pre-commit.sample [200]
[-] Fetching http://192.168.125.109/.git/hooks/pre-push.sample [200]
[-] Fetching http://192.168.125.109/.git/hooks/pre-rebase.sample [200]
[-] Fetching http://192.168.125.109/.git/hooks/pre-receive.sample [200]
[-] Fetching http://192.168.125.109/.git/hooks/prepare-commit-msg.sample [200]
[-] Fetching http://192.168.125.109/.git/refs/heads/ [200]
[-] Fetching http://192.168.125.109/.git/refs/tags/ [200]
[-] Fetching http://192.168.125.109/.git/logs/HEAD [200]
[-] Fetching http://192.168.125.109/.git/refs/remotes/ [200]
[-] Fetching http://192.168.125.109/.git/hooks/update.sample [200]
[-] Fetching http://192.168.125.109/.git/logs/refs/ [200]
[-] Fetching http://192.168.125.109/.git/objects/pack/pack-59262b495a2e2f6b82c6f3f3464810da50717daf.idx [200]
[-] Fetching http://192.168.125.109/.git/logs/refs/remotes/ [200]
[-] Fetching http://192.168.125.109/.git/refs/heads/master [200]
[-] Fetching http://192.168.125.109/.git/logs/refs/heads/ [200]
[-] Fetching http://192.168.125.109/.git/refs/remotes/origin/ [200]
[-] Fetching http://192.168.125.109/.git/objects/pack/pack-59262b495a2e2f6b82c6f3f3464810da50717daf.pack [200]
[-] Fetching http://192.168.125.109/.git/refs/remotes/origin/HEAD [200]
[-] Fetching http://192.168.125.109/.git/logs/refs/heads/master [200]
[-] Fetching http://192.168.125.109/.git/logs/refs/remotes/origin/ [200]
[-] Fetching http://192.168.125.109/.git/logs/refs/remotes/origin/HEAD [200]
[-] Sanitizing .git/config
[-] Running git checkout .
Updated 2285 paths from the index

Checking out There are 2285 paths. It appears to be entire history of the repo

┌──(myVenv)─(kali㉿kali)-[~/PEN-200/PG_PRACTICE/uc404/adminlte_git]
└─$ ll
total 760K
4.0K drwxrwxr-x  5 kali kali 4.0K Feb 23 18:15 ..
4.0K drwxrwxr-x  7 kali kali 4.0K Feb 23 18:01 .git
4.0K drwxrwxr-x  9 kali kali 4.0K Feb 23 18:01 .
4.0K drwxrwxr-x 59 kali kali 4.0K Feb 23 18:01 plugins
 16K -rw-rw-r--  1 kali kali  13K Feb 23 18:01 starter.html
4.0K drwxrwxr-x 10 kali kali 4.0K Feb 23 18:01 pages
464K -rw-rw-r--  1 kali kali 462K Feb 23 18:01 package-lock.json
8.0K -rw-rw-r--  1 kali kali 6.9K Feb 23 18:01 package.json
 72K -rw-rw-r--  1 kali kali  71K Feb 23 18:01 index2.html
 44K -rw-rw-r--  1 kali kali  42K Feb 23 18:01 index3.html
4.0K drwxrwxr-x  7 kali kali 4.0K Feb 23 18:01 docs
 60K -rw-rw-r--  1 kali kali  60K Feb 23 18:01 index.html
4.0K drwxrwxr-x  5 kali kali 4.0K Feb 23 18:01 dist
4.0K -rw-rw-r--  1 kali kali  469 Feb 23 18:01 composer.json
4.0K drwxrwxr-x  6 kali kali 4.0K Feb 23 18:01 build
4.0K -rw-rw-r--  1 kali kali  208 Feb 23 18:01 .babelrc.js
4.0K -rw-rw-r--  1 kali kali  153 Feb 23 18:01 .browserslistrc
4.0K -rw-rw-r--  1 kali kali 1.3K Feb 23 18:01 .bundlewatch.config.json
4.0K -rw-rw-r--  1 kali kali  208 Feb 23 18:01 .editorconfig
4.0K -rw-rw-r--  1 kali kali   64 Feb 23 18:01 .eslintignore
4.0K -rw-rw-r--  1 kali kali 1.5K Feb 23 18:01 .eslintrc.json
4.0K -rw-rw-r--  1 kali kali   43 Feb 23 18:01 .gitattributes
4.0K drwxrwxr-x  4 kali kali 4.0K Feb 23 18:01 .github
4.0K -rw-rw-r--  1 kali kali 1.2K Feb 23 18:01 .gitignore
4.0K -rw-rw-r--  1 kali kali  460 Feb 23 18:01 .lgtm.yml
4.0K -rw-rw-r--  1 kali kali   71 Feb 23 18:01 .npmignore
4.0K -rw-rw-r--  1 kali kali   48 Feb 23 18:01 .stylelintignore
4.0K -rw-rw-r--  1 kali kali  411 Feb 23 18:01 .stylelintrc
4.0K -rw-rw-r--  1 kali kali 1.1K Feb 23 18:01 LICENSE
4.0K -rw-rw-r--  1 kali kali 4.0K Feb 23 18:01 README.md

No notable file found