https://github.com/carlosrocha-dev/ft_onion
Introductory project allowing the implementation of a hidden service on tor.
https://github.com/carlosrocha-dev/ft_onion
Last synced: 5 months ago
JSON representation
Introductory project allowing the implementation of a hidden service on tor.
- Host: GitHub
- URL: https://github.com/carlosrocha-dev/ft_onion
- Owner: carlosrocha-dev
- Created: 2024-08-04T01:37:39.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-08T11:40:00.000Z (almost 2 years ago)
- Last Synced: 2025-01-30T11:09:59.980Z (over 1 year ago)
- Language: HTML
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ft_onion
Introductory project allowing the implementation of a hidden service on tor.
## Estrutura do Projeto
```
ft_onion/
.
├── Makefile
├── README.md
├── dockerfile
├── roteiro.md
└── src
├── cpf-generator.html
├── index.html
├── init.sh
├── js
│ └── cpf-generator.js
├── nginx.conf
├── ssh_banner
├── sshd_config
├── test_onion.sh
└── torrc
```
##
## Como Usar
Construir a Imagem Docker:
```sh
docker build -t ft_onion -f dockerfile .
```
Remover o Contêiner Existente (se houver):
```sh
docker stop ft_onion-container
docker rm ft_onion-container
```
Rodar o Contêiner:
```sh
docker run -d -p 80:80 -p 4242:4242 --name ft_onion-container
```
Verificar o Endereço .onion:
```sh
make hostname
```
## SSH
ssh -o ProxyCommand="nc -x 127.0.0.1:9050 %h %p" -p 4242 caalbert@7jjh45mjl2v7crzahxmqbnyird6a52hkvn7zvdiho43z7ttsfs3lsrad.onion