AllAboutBugBounty/Exposed Source Code.md

1.6 KiB

Exposed Source Code

Introduction

Source code intended to be kept server-side can sometimes end up being disclosed to users. Such code may contain sensitive information such as database passwords and secret keys, which may help malicious users formulate attacks against the application.

Where to find

-

How to exploit

  1. Exposed Git folder
https://site.com/.git

GIT folder

Tools to dump .git

  1. Exposed Subversion folder
https://site.com/.svn

SVN folder

Tools to dump .svn

  1. Exposed Mercurial folder
https://site.com/.hg

HG folder

Tools to dump .hg

  1. Exposed Bazaar folder
http://target.com/.bzr

BZR folder

Tools to dump .bzr

  1. Exposed Darcs folder
http://target.com/_darcs

Tools to dump _darcs (Not found)

  1. Exposed Bitkeeper folder
http://target.com/Bitkeeper

Tools to dump BitKeeper (Not found)

Reference