S-Tor: Share Your Directories Anonymously with .onion Link
Welcome to the world of cybersecurity! In this post, we explore how to share your directories anonymously using the S-Tor tool. S-Tor utilizes the Tor network to provide a secure and private environment for file sharing.
What is Tor?
Tor, short for "The Onion Router", is a free and open-source network that enables anonymous communication. It works by routing internet traffic through a network of volunteer-operated nodes, encrypting data at multiple layers to conceal the user’s identity and location.
What is an HTTP Server?
An HTTP server is an application that handles HTTP requests and responses. Python provides several modules and frameworks, such as Flask, Django, and http.server, to create web servers for serving static content and building web applications.
Tool Compatibility
- Kali Linux
- Parrot OS
- Ubuntu
Requirements
- Python3
- Tor
- High-speed internet
Installation
Clone the S-Tor repository from GitHub:
# Clone S-Tor repository | To get the code contact us
git clone https://github.com/********.git
cd S-Tor
chmod +x install
sudo ./install
Launching S-Tor
To share any directory anonymously, navigate to the directory and run:
sudo stor
Once executed, you will receive an .onion link, which you can share with others. The recipient can view your directory using the Tor Browser.
How S-Tor Works
1. Checking Tor Presence
S-Tor first checks whether Tor is installed. If it is missing, the script installs Tor to ensure a secure foundation for anonymous data transfer.
2. Configuring Tor
The script configures Tor to create a hidden service, generating an .onion URL for secure file sharing without revealing the user's IP address.
3. Starting the Tor Service
After configuration, the script starts the Tor service, enabling encrypted communication over the Tor network to protect data from unauthorized access.
4. Generating the .onion URL
Once Tor is running, the script retrieves the generated .onion URL from the Tor configuration file. This URL allows anonymous access to the shared directory.
5. Starting the HTTP Server
The script sets up an HTTP server on localhost:80 to host the directory securely while maintaining user privacy.
6. Managing User Interruptions
If the user interrupts the process (e.g., pressing Ctrl+C), the script ensures a clean exit by stopping the Tor service and resetting configurations.
Disclaimer
This guide is created for educational purposes only. The information provided demonstrates how to share directories anonymously using the Tor network for privacy and security.
Warning: This tool should be used responsibly. Any misuse of S-Tor for illegal activities is strictly prohibited and may result in legal consequences.