Security-Tools-Alliance / rengine-ng

reNgine-ng is an automated reconnaissance framework for web applications with a focus on highly configurable streamlined recon process via Engines, recon data correlation and organization, continuous monitoring, backed by a database, and simple yet intuitive User Interface.
GNU General Public License v3.0
12 stars 6 forks source link

bug(scope): unknown shorthand flag: 'f' in -f #108

Closed zinwelzl closed 3 weeks ago

zinwelzl commented 3 weeks ago

Current Behavior

sudo ./install.sh


      | \ | |     (_)

| | | _ _ | '/ \ . ` |/ ` | | ' \ / \ | | | / |\ | (_| | | | | | / || \|| _|_, ||| |_|_| v2.0.4-jasper / | |___/

Before running this script, please make sure Docker is running and you have made changes to the '.env' file. Changing the postgres username & password from .env is highly recommended.

######################################################################### Please note that this installation script is only intended for Linux Only x86_64 platform are supported #########################################################################

Are you sure you made changes to the '.env' file (y/n)? y Continuing Installation!

Installing reNgine and its dependencies

######################################################################### Installing curl... /usr/bin/curl CURL already installed, skipping.

######################################################################### Installing Docker... /usr/bin/docker Docker already installed, skipping.

######################################################################### Installing Docker Compose /usr/bin/docker Docker Compose already installed, skipping.

######################################################################### Installing make /usr/bin/make make already installed, skipping.

######################################################################### Checking Docker status Docker is running.

######################################################################### Installing reNgine, please be patient it could take a while

========================================================================= Generating certificates and building docker images

unknown shorthand flag: 'f' in -f See 'docker --help'.

Expected Behavior

.

Steps To Reproduce

.

Environment

- reNgine: .
- OS: 
- Python: 
- Docker Engine: 
- Docker Compose: 
- Browser:

Anything else?

.

Acknowledgements

psyray commented 3 weeks ago

Please fill the environment datas

zinwelzl commented 3 weeks ago
psyray commented 3 weeks ago

Ok, seems to be your os. It was tested and working on debian. Your OS comes from what base is ?

psyray commented 3 weeks ago

Seems your OS base is debian, I will test the install and make a feedback

=========================================================================
Generating certificates and building docker images
=========================================================================
WARN[0000] /home/psyray/rengine/docker-compose.setup.yml: `version` is obsolete 
[+] Creating 0/0
 ⠋ Network rengine_default  Creating                                                                                                                     0.1s 
✔ Network rengine_default  Created                                                                                                                      0.1s 
Creating new certificate for rengine.example.com
Certificate request self-signature ok
subject=C=US, ST=Georgia, L=Atlanta, O=reNgine, CN=rengine.example.com
CA certificate and CA private key do not match
psyray commented 3 weeks ago

Install works fine on Ubuntu 24.04 LTS. How did you install Docker ? Snap ? Docker is buggy with Snap install

Follow this setup to install, use the apt repository way https://docs.docker.com/engine/install/debian/

psyray commented 3 weeks ago

@zinwelzl Tested on wattOS 13, everything installs well, certificates docker image is building fine, certificates are correctly generated and reNgine-ng is running fine. image

Anyway, with a fresh install, with no docker and docker compose installed, reNgine-ng install.sh has installed the Docker Engine version 26.1.4, and you have the 20.10.24+dfsg1 image

Your version is the Debian original repository version, which is quite old, please update your Docker version as I recommend in the previous post, then test again.

Issue will be opened for 1 week then I will close it

zinwelzl commented 3 weeks ago

With clean WattOS install, rengine works great. And it is fast.

Scan screenshot fail with this log.

Logs for scan

python3 /usr/src/github/EyeWitness/Python/EyeWitness.py -f /usr/src/scan_results/ginandjuice.shop/scans/81defeee-2bbd-11ef-91bc-0242ac130004/endpoints_alive.txt -d /usr/src/scan_results/ginandjuice.shop/scans/81defeee-2bbd-11ef-91bc-0242ac130004/screenshots --no-prompt --timeout 10 --threads 40

TERM environment variable not set. ################################################################################

EyeWitness

################################################################################

Red Siege Information Security - https://www.redsiege.com

################################################################################

Starting Web Requests (1 Hosts) Attempting to screenshot https://ginandjuice.shop Finished in 34.07110023498535 seconds

psyray commented 3 weeks ago

Ok, 👍 For Eyewitness, open a new issue