Giter VIP home page Giter VIP logo

capncook's Introduction

➡️ Documentation | Discord | Installation Guide ⬅️

Discord capNcook

Disclaimer: This tool is intended for educational and research purposes only. Unauthorized use of this tool is prohibited. Use it responsibly and at your own risk.


🤔 What is this?

capNcook is a Python Flask-based web application designed for dark web exploration.

capNcook

"What about anonymity?"

That's the point. You don't need to worry about it now, our tool utilizes tor for anonymity and privacy, identifies entry and exit nodes while esthablishing a tor circuit, rebuild the tor circuit each time you run the tool and flush old circuits.

The tool employs efficient multi-threading in Python to enhance performance 🚀

Live implementation of different tools and techniques to explore and do basic recon on hidden services over TOR

📊 capNcook : First of its kind

Name ⚡ capNcook ⚡
Unifies results from multi Dark-Web Search Engines
Identify Entry/Exit Nodes In Tor Circuit
Multiple functionalities
Supports Multithreading
Easy to set up
Can run as tor hidden service
Created for hackers by hackers

✨ Features

  • Search Over Tor: Utilize different search engines on the dark web to find relevant onion domains.

  • Anonymity and Privacy: Identify entry and exit nodes to ensure anonymity and privacy when interacting with onion domains. The tool includes circuit rebuilding to maintain security.

  • TOR Whois Information: Retrieve WHOIS information for onion domains.

  • Screenshots: Capture screenshots and grab response headers of .onion sites.

  • Subdirectories: Identify and list subdirectories of onion web-servers.

Requirements

  • Python 3 [sudo apt install python3]
  • Python3-pip [sudo apt install python3-pip]
  • Flask
  • Stem
  • Requests
  • BeautifulSoup
  • Termcolor
  • Dotenv
  • AquaTone (for screenshot functionality)
  • FeroxBuster (for enumeration functionality)
  • Tor [sudo apt install tor]
  • WhoIS [sudo apt install whois]
  • Proxychains [sudo apt install proxychains4]
  • Jq - process json data
  • Chromium [sudo apt install chromium]

🎬 Getting Started

If you're having trouble with setting up capNcook, read this.

‼️ Important Links (Docs, Installation guide, Discord Support)

Installation Guide Documentation Discord
📖 Installation Guide 📚 Documentation 🦜 Discord

🏃‍♀️Running capNcook

You can run capNcook -

  1. Run with flask flask run
  2. Normal way with python3 python3 app.py

Gif showing capNcook running

🔭 Usage Guidelines

Name ⚡ What does it do? ⚡
🔍 Search Page Enter keyword, Select search engine, index onion domains.
🧅 Onion Check Click on Run Onion Check button to check the status of onion domains, including response codes, titles, and descriptions.
🕵️ Recon Click on Run Recon button to perform WHOIS lookups on onion domains.
🗡 Headers Click on Run Headers button to capture response headers and screenshots of onion domains.
🪐 Enumeration Click on Run Dir Fuzz button to run FeroxBuster against onion domains to find sub-directories/files.

Screenshots

  • This is the main interface of tool, select your preferred search engine and you can search using keywords like you'd do over any normal search engine and it'll list domains related to the keyword.

main

  • In onion_check, it'll grab the site's title and description, its status code, and based on the status code it'll filter it as active / inactive.

onion_check

  • In recon, it's doing recon using torwhois database to pull info regarding each listed onion domain if available.

recon

  • In headers, it's taking screenshots and grabbing server response headers, often reveals the technology or programming language used to build the web application via header like X-Powered-By, It may include information about the underlying frameworks or CMS (Content Management System) being used. The Server header typically indicates the software and version running on the server.

headers

  • In enumeration, it's doing basic directory fuzzing for each onion domain using the wordlist.txt

enumeration

⚗️ Contributions and Issues

Don't be afraid to contribute! We have many, many things you can do to help out. If you're trying to contribute but stuck, tag @hoodietramp, join our discord server ✨

Contributions are welcome, but ensure they align with ethical use. If you encounter issues, please report them on the GitHub repository.

By doing so, you'll get your name added to the README below and get to be a part of an ever-growing project

💰 Financial Contributors

The contributions will be used to fund not only the future of capNcook and its authors, but also Cyber Security Club at the PIET College, Panipat, India.

✨ Contributors

Thanks goes to these wonderful people (emoji key):


Mr. Holmes

🎨 🚧 🧑‍🏫 💻 🤔

0day

🧑‍🏫 📣 🤔

This project follows the all-contributors specification. Contributions of any kind welcome!

Disclaimer

This tool is provided for educational purposes only. The developers are not responsible for any misuse or illegal activities conducted with this tool. Use it responsibly and ethically 🙏

capncook's People

Contributors

holmes-py avatar hoodietramp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

capncook's Issues

500 error when opening http://127.0.0.1:5000/

 capNcook git:(master) ✗ python3 app.py
cat: /var/lib/tor/capNcook/hostname: No such file or directory
hidden service ->
 * Serving Flask app 'app'
 * Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
 * Running on all addresses (0.0.0.0)
 * Running on http://127.0.0.1:5000
 * Running on http://192.168.10.118:5000
Press CTRL+C to quit
[2023-12-29 20:59:29,218] ERROR in app: Exception on / [GET]
Traceback (most recent call last):
  File "/opt/homebrew/lib/python3.11/site-packages/stem/socket.py", line 535, in _make_socket
    control_socket.connect((self.address, self.port))
ConnectionRefusedError: [Errno 61] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/homebrew/lib/python3.11/site-packages/flask/app.py", line 2525, in wsgi_app
    response = self.full_dispatch_request()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/flask/app.py", line 1822, in full_dispatch_request
    rv = self.handle_user_exception(e)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/flask/app.py", line 1820, in full_dispatch_request
    rv = self.dispatch_request()
         ^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/flask/app.py", line 1796, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/khanakia/Downloads/capNcook/app.py", line 84, in index
    entry_node, exit_node = get_last_entry_exit_relay()
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/khanakia/Downloads/capNcook/app.py", line 30, in get_last_entry_exit_relay
    with Controller.from_port(port=9051) as controller:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/stem/control.py", line 1033, in from_port
    control_port = stem.socket.ControlPort(address, port)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/stem/socket.py", line 503, in __init__
    self.connect()
  File "/opt/homebrew/lib/python3.11/site-packages/stem/socket.py", line 172, in connect
    self._socket = self._make_socket()
                   ^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/stem/socket.py", line 538, in _make_socket
    raise stem.SocketError(exc)
stem.SocketError: [Errno 61] Connection refused
127.0.0.1 - - [29/Dec/2023 20:59:29] "GET / HTTP/1.1" 500 -

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.