Skip to content

cansolele/info-sec-analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Info-sec-analyzer

Manual Installation and Launch Guide

Prerequisites:

  • Linux
  • Git
  • Node.js and npm
  • Python 3 and pip
  • sudo privileges

Server Setup

  1. Clone the repository:
git clone https://github.com/cansolele/info-sec-analyzer
  1. Navigate to the server directory:
cd info-sec-analyzer/server
  1. Create and activate a virtual environment:
python3 -m venv venv # You can replace "venv" with your preferred environment name
source venv/bin/activate # For bash/zsh shells
  1. Install server dependencies:
pip install -r requirements.txt
  1. Install required system packages:
sudo apt install libxml-xpath-perl pdfgrep
  1. Install and configure exploitdb:
sudo git clone https://gitlab.com/exploit-database/exploitdb.git /opt/exploitdb
sudo ln -sf /opt/exploitdb/searchsploit /usr/local/bin/searchsploit
  1. Update the searchsploit database:
searchsploit -u
  1. Run the server:
python3 server.py

Client Setup

  1. Navigate to the client directory:
cd info-sec-analyzer/client
  1. Install client dependencies:
npm install
  1. Edit the configuration file ::

Open info-sec-analyzer/client/src/config.js and modify the apiURL value to match the address of your server. For example:

const config = Object.freeze({
  apiURL: "http://192.168.1.1:5000", // Replace with your server address
});
export default config;
  1. Build the client application:
npm run build

This will create a production-ready build of your application in the dist folder.

  1. Serve the client application:

You can use any static file server to serve the content of the dist folder. Here are two options:

  • Simple HTTP server (Python 3):
python3 -m http.server 8080 --directory dist
  • Serve package (Node.js):
npx serve -s dist

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published