Git Product home page Git Product logo

42cyber-ft_onion's Introduction

42Cyber-ft_onion

Onion website accessible with Tor using Nginx as web server, and, SSH access over the 4242 port.

Project Rules

You must run a web server that shows a webpage on the Tor network.

  • The service must have a static web page: a single index.html file. The page will be accessible through a url of the type xxxxxxxxx.onion. The content displayed on the page is up to you.
  • Nginx will be used to configure the web server. No other server or framework is allowed.
  • Access to the static page via HTTP on port 80 must be enabled.
  • Access to the server via SSH on port 4242 must be enabled.
  • You should not open any ports or set any firewall rules.
|-----------------|
| Files to submit |
|-----------------|
|    index.html   |
|    nginx.conf   |
|    sshd_config  |
|      torrc      |
|-----------------|

Run the project with docker

Before building, creaye a secrets folder on the root of the project and add your public ssh key to it.

Build the project with docker build -t somedevv/ft_onion .

Run the container with docker run -d -p 80:80 -p 4242:4242 --name ft_onion somedevv/ft_onion

Connect over ssh with ssh -i ~/.ssh/id_rsa sshuser@localhost -p 4242

To access the onion service use a Tor compatible browser. Look for the onion address in the container execution logs.

[...]
Onion address URL: http://xxxxxxxxx.onion

License

The GNU General Public License v3 (GPL-3)

Copyright © 2022 somedevv

42cyber-ft_onion's People

Contributors

agaliste avatar

Watchers

 avatar

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.