返回排行榜

UndeadSec/SocialFish

CSS

Phishing Tool & Information Collector

phishingpythonpentestingundeadeducationalpentest
Star 增长趋势
Star
4.8k
Forks
1.4k
周增长
Issues
1
2k4k
2018年1月2020年11月2023年9月2026年7月
制品库npmnpm install socialfish
README

SocialFish v3.0

Modern Dynamic Phishing Toolkit

SocialFish v3.0 brings powerful new features for cloning modern login pages, capturing cookies, and intercepting 2FA codes with a live operator panel.

🆕 What's New in v3.0

  • Playwright Browser Automation — Clone modern JS-heavy login pages
  • Full Cookie Capture & Analysis — Detailed metadata, security attributes, auth tokens
  • Template System — Save and reuse clones across multiple victims
  • Live OTP Interception Panel — Real-time 2FA code capture and injection
  • MITM Reverse Proxy — ngrok/cloudflared tunneling with auto-installation
  • 6 Clone Modes — Login-only, cookies-only, or full capture
  • Multi-step Login Detection — Automatic heuristics for complex flows (Office365, etc.)
  • Webhook Notifications — Real-time alerts to Slack, Discord, custom APIs
  • Session Management — Full session tracking with export to JSON/CSV
  • Network Interception — Log all HTTP requests/responses
  • Victim Tracking — Track clicks, IP addresses, geolocation, device type

📖 Documentation

🚀 Quick Start

python setup.py

This will:

  • Install all dependencies
  • Setup Playwright browsers
  • Initialize database
  • Configure tunneling (optional)
  • Display quick-start guide

Option 2: Manual Setup

pip install -r requirements.txt
playwright install chromium
python SocialFish.py admin password

Then access: http://localhost:5000/neptune

🎯 Basic Workflow

  1. Create Template

    /templates → New Template → Enter target URL
    
  2. Setup Tunnel (optional, for remote testing)

    Click "Tunnel" → Choose ngrok/cloudflared → Authorize
    
  3. Generate Lure URL

    Click "Lure" → Copy unguessable URL
    
  4. Send to Victims

    Distribute lure URL in emails, messages, etc.
    
  5. Monitor in Real-Time

    /sessions → View captured credentials, cookies, OTP codes
    /admin/otp_panel.html → Intercept & inject 2FA codes
    

🔧 Key Features

Templates Library

  • Save clone configurations
  • Reuse across multiple users
  • Clone modes: both (credentials + cookies), login (credentials only), cookies (session only)
  • Browser engines: Playwright (default), Selenium (optional)
  • Full cookie jar (domain, path, secure, httponly, samesite, expiry)
  • JavaScript cookie interception
  • Auth token detection
  • Security attribute analysis
  • Export to JSON/CSV

Live OTP Panel

  • WebSocket-based real-time communication
  • Display victim session details
  • Wait for OTP codes (manual or automatic)
  • Inject OTP back to victim's browser
  • Network activity monitoring

MITM & Reverse Proxy

  • Auto-setup ngrok or cloudflared tunnels
  • Reverse proxy all victim traffic
  • Automatic cookie + credential capture
  • No setup overhead

Webhook Notifications

  • Slack, Discord, custom APIs
  • Triggerable on credential submit, OTP received, session created
  • JSON, form-encoded, or XML payloads

Multi-step & 2FA Detection

  • Automatic heuristics for complex flows
  • OTP endpoint detection
  • Manual breakpoints for user interaction
  • 2FA indicators in analytics

📊 Supported Sites

Works with any login page that uses:

  • ✅ HTML forms
  • ✅ JavaScript form submission
  • ✅ XHR/fetch-based authentication
  • ✅ SPA logins (React, Vue, Angular)
  • ✅ 2FA/OTP flows
  • ✅ Multi-step authentication (Office365, Gmail, GitHub, etc.)

🌐 API & CLI

Web API

# List templates
curl http://localhost:5000/templates

# Generate lure URL
curl -X POST http://localhost:5000/lure/generate \
  -d "template_id=1"

# View session
curl http://localhost:5000/session/1

CLI Commands

# Setup
python setup.py                    # Interactive setup

# Tunneling
python core/tunnel_manager.py setup
python core/tunnel_manager.py start --type ngrok

# Database
python core/db_migration.py

📂 Project Structure

SocialFish/
├── SocialFish.py               # Main Flask app
├── setup.py                    # Interactive setup wizard
├── FEATURES_v3.md             # Feature documentation
├── IMPLEMENTATION_SUMMARY.md   # Technical details
├── core/
│   ├── recorder_playwright.py  # Browser automation
│   ├── cookie_inspector.py     # Cookie analysis
│   ├── tunnel_manager.py       # Tunneling support
│   ├── db_migration.py         # Database schema
│   └── ... (other modules)
└── templates/
    └── admin/
        ├── templates.html      # Templates library UI
        ├── otp_panel.html     # OTP interception UI
        ├── sessions.html       # Session management UI
        └── ... (other templates)

🔐 Security & Ethics

⚠️ EDUCATIONAL USE ONLY

  • Consent Required — Only test systems you own or have explicit written permission for
  • Audit Logging — All operations logged with user attribution
  • Data Protection — Implement proper data retention policies
  • GDPR Compliance — Comply with local privacy regulations
  • Disclosure — Report vulnerabilities responsibly

See CODE_OF_CONDUCT.md and LICENSE for details.

📱 Mobile Controller

Looking for the mobile controller? Check SocialFishMobile

⚖️ Disclaimer

TO BE USED FOR EDUCATIONAL PURPOSES ONLY

The use of the SocialFish is COMPLETE RESPONSIBILITY of the END-USER. Developers assume NO liability and are NOT responsible for any misuse or damage caused by this program.

"DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."

Taken from LICENSE.

🐳 Docker

Run with Docker:

docker compose up

Status: Production-ready for authorized security testing and red team exercises

CONTRIBUTING

Open Source Helpers

We encourage you to contribute to SocialFish! Please check out the Contributing to SocialFish guide for guidelines about how to proceed. Join us!

Special Contributors

@carinamary2448 - https://github.com/carinamary2448

相关仓库
hagezi/dns-blocklists

DNS-Blocklists: For a better internet - keep the internet clean!

TextGNU General Public License v3.0dnsads
24.6k755
htr-tech/zphisher

An automated phishing tool with 30+ templates. This Tool is made for educational purpose only ! Author will not be responsible for any misuse of this toolkit !

HTMLGNU General Public License v3.0phishingphisher
16.5k6.2k
wifiphisher/wifiphisher

The Rogue Access Point Framework

PythonPyPIGNU General Public License v3.0wifiphisherwifi
wifiphisher.org
14.7k2.7k
gophish/gophish

Open-Source Phishing Toolkit

GoGo ModulesOthergophishphishing
getgophish.com
14k2.9k
yeyintminthuhtut/Awesome-Red-Teaming

List of Awesome Red Teaming Resources

MIT Licensecobalt-strikephishing
8k1.7k
elceef/dnstwist

Domain name permutation engine for detecting homograph phishing attacks, typo squatting, and brand impersonation

PythonPyPIApache License 2.0phishingtyposquatting
dnstwist.it
5.7k849
skerkour/black-hat-rust

Applied offensive security with Rust - https://kerkour.com/black-hat-rust

Rustcrates.ioMIT Licenserustsecurity
kerkour.com/black-hat-rust
4.4k434
htr-tech/nexphisher

Advanced Phishing tool

ShellGNU General Public License v3.0htr-techzphisher
github.com/htr-tech/zphisher
3.9k626
Ignitetch/AdvPhishing

This is Advance Phishing Tool ! OTP PHISHING

Hackphishingotpbypass
3.2k839
jaykali/maskphish

Introducing "URL Making Technology" to the world for the very FIRST TIME. Give a Mask to Phishing URL like a PRO.. A MUST have tool for Phishing.

ShellMIT Licensephishingtool
kalilinux.in/2020/07/how-to-hide-phishing-link.html
3.2k409
CrimsonForge-io/king-phisher

Phishing Campaign Toolkit

PythonPyPIBSD 3-Clause "New" or "Revised" Licenseking-phisherpython
2.6k584
rsmusllp/king-phisher

Phishing Campaign Toolkit

PythonPyPIBSD 3-Clause "New" or "Revised" Licenseking-phisherpython
2.3k555