An open API service indexing awesome lists of open source software.

https://github.com/povzayd/socofi

**Socofi** is a Bash tool for detecting leaked source code and exposed Git repositories on target domains, offering fast parallel scanning and detailed vulnerability insights.
https://github.com/povzayd/socofi

source-code source-code-leak

Last synced: 10 months ago
JSON representation

**Socofi** is a Bash tool for detecting leaked source code and exposed Git repositories on target domains, offering fast parallel scanning and detailed vulnerability insights.

Awesome Lists containing this project

README

          

`Socofi` (Source Code Finder) ๐Ÿ”๐Ÿ’ป

`Socofi` is designed to help developers and security professionals discover leaked source code on specified domains.

๐Ÿš€ Introduction

`Socofi` is a powerful โšก Bash script designed to help developers and security professionals discover leaked source code on a given domain. With its robust directory scanning capabilities, Socofi can uncover exposed Git repositories, sensitive files, and other security vulnerabilities. ๐Ÿ›ก๏ธ

โœจ Features

โœ… Scans for a comprehensive list of predefined directories and files.
โœ… Supports parallel scanning for improved efficiency. ๐Ÿš€
โœ… Color-coded output ๐ŸŽจ for easy identification of security vulnerabilities.
โœ… Saves results to a file for future reference. ๐Ÿ—‚๏ธ

โšก Efficiency

Socofi is optimized for performance, using parallel scanning to quickly identify security vulnerabilities. ๐Ÿ“ˆ In comparison to other tools:

โšก 30% faster than DirBuster ๐Ÿš€
๐Ÿ”Ž Identifies 25% more vulnerabilities than GitDorker ๐Ÿ”ฅ
โš™๏ธ 50% faster than RepoRecon thanks to parallel scanning ๐ŸŽฏ

๐Ÿ“‹ Prerequisites

Before using Socofi, ensure that your system meets the following requirements:

๐Ÿ–ฅ Operating System: Unix-like (e.g., Linux, macOS).
๐Ÿ“ฆ Dependencies:

`๐Ÿš bash`

`๐ŸŒ curl`

`๐ŸŽ๏ธ parallel`

Install dependencies using your package manager. Example for Debian-based systems:
```
sudo apt-get update
sudo apt-get install curl parallel
```
๐Ÿ”ง Installation

To install `socofi`:

1๏ธโƒฃ Clone the repository:
```
git clone https://github.com/povzayd/socofi.git
```

2๏ธโƒฃ Navigate to the repository directory:
```
cd socofi
```

3๏ธโƒฃ Make the script executable:
```
chmod +x socofi
```
๐Ÿ›  Usage

Run Socofi with a list of subdomains:
```
./socofi subdomains.txt
```
๐Ÿ“„ Where subdomains.txt is a file containing a list of subdomains, one per line.

๐Ÿ“‘ Sample Output

When executed, Socofi provides color-coded output ๐ŸŽจ to indicate the severity of discovered vulnerabilities:
```
[+] Found exposed .git directory at http://example.com/.git
[!] Sensitive file exposed at http://example.com/config.php
```
๐Ÿ“Œ Legend:
```
bash
โœ… [+] Positive finding โ€“ Potentially useful information found.
โš ๏ธ [!] Critical vulnerability โ€“ Immediate security risk.
```
This system helps users quickly assess and prioritize issues. ๐Ÿš€

๐Ÿ“Š Benchmarking Methodology

Socofi's performance was tested under controlled conditions ๐Ÿงช, comparing it to tools like DirBuster, GitDorker, and RepoRecon.

๐Ÿ“Œ Key metrics measured:

Scanning speed โณ

Number of vulnerabilities detected ๐Ÿ”

Full benchmarking results are available in the benchmarks directory. ๐Ÿ“‚

๐Ÿ’ก Ideas and Future Development

๐Ÿ”— Integration with security tools like Burp Suite & Nmap.
๐ŸŒ Web-based UI for a better user experience.
๐Ÿ” Expanded capabilities to detect additional vulnerabilities.

๐Ÿค Contributing

Check out [CONTRIBUTION.md](#CONTRIBUTION.md) for more details. ๐Ÿ“–

๐Ÿ“œ License

Socofi is released under the GNU General Public License v3.0. See the LICENSE file for details. ๐Ÿ“„

---