Skip to content

spiegelin/NessusMobile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 

Repository files navigation

NessusMobile

Back-End Installation

.env

Create a .env inside of /serverand add the following:

BASE_URL_INTERNETDB=https://internetdb.shodan.io/
BASE_URL_GEONET=https://geonet.shodan.io/api/ping/
BASE_URL_CVE=https://cvedb.shodan.io/cve/
PORT=8000
USER_AGENT="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.3"
API_KEY_HUNTER=<API-KEY>
BASE_URL_HUNTER=https://api.hunter.io/v2/
API_KEY_DEHASHED=<API-KEY>
USERNAME_DEHASHED=<username>

# Contenedores
POSTGRES_USER=<user>
POSTGRES_PASSWORD=<pass>
POSTGRES_DB=<name>

OPENVAS_USER=<user>
OPENVAS_PASSWORD=<pass>
OPENVAS_URL=https://openvas-scanner:9391
OPENVAS_PORT=9390

NESSUS_ACTIVATION_CODE=<YOUR-ACTIVATION-CODE>
VERSION_OS=latest-ubuntu

PORTBACK=3000

ZAP_API_KEY=<Something-random>
ZAP_BASE_URL=http://zap-scanner:8090

OPENAI_API_KEY=<API-KEY>

Docker Compose Setup

Download the images and build the backend service:

docker-compose build

Run the services:

docker-compose up -d

Verify:

docker-compose ps

Stop services:

docker-compose down

SSL Certificate via Cloudflare

For this you will need a valid domain

  1. Create a Cloudflare account here, add your domain and update the nameservers with the ones given by Cloudflare.

  2. Install cloudflared:

sudo apt install cloudflared
brew install cloudflared
  1. Login to your Cloudflare account:
cloudflared tunnel login 
  1. Create a tunnel:
cloudflared tunnel create <NAME>
  1. Confirm that the tunnel has been successfully created by running:
cloudflared tunnel list
  1. Create a configuration "config.yml" file inside of .cloudflared directory:
nano ~/.cloudflared/config.yml
  1. Add the following:
url: http://localhost:<PORT-TO-FORWARD>
tunnel: <Tunnel-UUID>
credentials-file: ~/.cloudflared/<Tunnel-UUID>.json
  1. Assign a CNAME record that points traffic to your tunnel subdomain:
cloudflared tunnel route dns <UUID> <hostname>
  1. Run the tunnel to proxy incoming traffic from the tunnel to any service running locally:
cloudflared tunnel run <UUID>
  1. Visit your subdomain and confirm.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5