Skip to content

The-Trustworthy/CyberTech

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CyberTech

banner-cybertech

Intro

This website has been established with the educational objective of enhancing one's understanding of ethical hacking. The platform primarily employs HTML, CSS, JavaScript, and PHP for backend functionality. It's important to acknowledge that this website may possess one or more vulnerabilities susceptible to cyber attacks. Therefore, it is imperative to operate this site within a controlled environment and utilize it exclusively for ethical purposes.

Directory Structure

Before attempting challenges, the following setup should necessarily be there in your working directory:

.
.
├── .docker                                                             # docker configration
│   │
│   └── 000-default.conf         
│
├── src                                                                 # complete source code
│   │
│   ├── assets
│   │   │
│   │   ├── css                                                         # required css 
│   │   │ 
│   │   ├── js                                                          # required js
│   │   │ 
│   │   ├── sass                                                        # required sass
│   │   │ 
│   │   └── webfonts                                                    # required fonts
│   │
│   ├── resources                                                       # additional resources 
│   │   │
│   │   ├── theme/bootstrap 
│   │   │ 
│   │   ├── config.php                                                  # and similar scripts
│   │   . 
│   │   └── ...
│   │
│   ├── uploads                                                         # room for uploaded files 
│   │   │
│   │   ├── .gitkeep
│   │   . 
│   │   └── ...
│   │
│   ├── images                                                          # all images 
│   │   . 
│   │   └── ...
│   │
│   ├── static                                                          # static css/js/font etc.. 
│   │   . 
│   │   └── ...
│   │
│   ├── index.html                                                      # landing page 
│   │
│   ├── content.html 
│   │
│   ├── gallery.php 
│   .
│   └── ...         
│
├── docker-compose.yml
│
├── Dockerfile
│
└── ...

Usage

There are multiple ways to use this project. Visit here for some detailed description.

Using Apache/WAMP/XAMPP Server

In order to run on the local server, the online resources could be offered. Following links could be helpful:

  1. Using Apache on Windows (by Tutorialspoint)
  2. Using WAMP (by Instructables)
  3. Using XAMPP (by Simplilearn)

Using Docker

1. Run the latest Image

Step-1:

Create a new directory in your current working directory (let test)

Step-2:

Open the command prompt/terminal in working directory and run the following command:

docker run --rm -p 9999:80 -v .\test\:/var/www/html/uploads/ raviprakash1907/cybertech:latest

Step-3:

Access the website at http://localhost:9999

NOTE: You can mount any directory by providing the relative path in place of test in step-2.

2. Clone this Repo and Build your own Image

You need to run the following commands in sequence to access the website in Docker:

Step-1:

Get the original image of cybertech project form dockerhub.

$ docker pull raviprakash1907/cybertech  

Step-2:

This command is not mandatory. However, in case, you have updated the Dockerfile, you are supposed to run this command.

$ docker build -t <image-tag> .  

Step-3:

Running the container.

$ docker-compose up  

Contribution

This project is open to welcome constructive contributions through open-source. May the force be with you.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.