Cyethack is a web application designed for vulnerability management and security scanning.
The following technologies and libraries are used in the development of Cyethack:
- React.js: Frontend library for building user interfaces.
- Redux Toolkit: State management library for managing application state.
- React Router DOM: Routing library for navigating between pages in a React application.
- Material UI: UI library with a set of high-quality React components.
- Chart.js: Simple yet flexible JavaScript charting library.
- React D3 Speedometer: React component for creating speedometer-style charts.
The project follows a structured organization to maintain scalability and clarity: ```sh
src
├── components # Reusable UI components
│ ├── Boxs.jsx # Component for displaying box elements
│ ├── Dashboard.jsx # Main dashboard component
│ ├── Header.jsx # Header component with navigation and user actions
│ ├── ListDetail.jsx # Detailed view component for list items
│ ├── Lists.jsx # Component for displaying a list of items
│ ├── NavBar.jsx # Navigation bar component
│ ├── SearchBar.jsx # Search bar component
│ ├── TableComponent.jsx # Component for displaying data in a table format
│ ├── UserData.jsx # Component for displaying user data and charts
│ └── withHeader.jsx # HOC for adding a header to components
├── constants # Constants used across the application
│ └── Vulnerabilities.js # List of vulnerabilities and their details
├── pages # Page components used by React Router
│ ├── HomePage
│ │ └── Home.jsx # Home page component
│ ├── ListPage
│ │ └── List.jsx # Page component displaying a list of items
│ └── ListDetailsPage
│ └── ListDetails.jsx # Page component displaying detailed information about an item
├── store # Redux store setup and slices
│ ├── slices
│ ├── authSlice.js # Redux slice for authentication state management
│ │ └── studentSlice.js # Redux slice for student-related state management
├── styles # Global styles or CSS files
│ └── index.css
├── App.js # Root component defining application routes
├── index.js # Entry point of the application
└── reportWebVitals.js # Utility for measuring web vitals
-
To set up and run the Cyethack application locally, follow these steps:
Clone the repository:
- Clone the repository:
git clone https://github.com/your-username/cyethack.git
- Install dependencies:
npm install Run the application:
- Run the development server
npm start
The application will run in development mode at http://localhost:5173.
-
Build for production:
npm run build
-
For testing purposes, the default username and password to access the application are both set to "admin".
-
When logging in during development or testing:
Username: admin Password: admin
-
This project is licensed under the [MIT License](#MIT License)