Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
3 tasks done
zinwelzl opened this issue Jun 15, 2024 · 8 comments
Closed
3 tasks done

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

zinwelzl opened this issue Jun 15, 2024 · 8 comments
Assignees
Labels
bug Something isn't working question Further information is requested

Comments

@zinwelzl
Copy link

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

  • This issue is not a duplicate of an existing bug report.
  • I have chosen an appropriate title.
  • All requested information has been provided properly.
@zinwelzl zinwelzl added the bug Something isn't working label Jun 15, 2024
@psyray
Copy link
Contributor

psyray commented Jun 15, 2024

Please fill the environment datas

@zinwelzl
Copy link
Author

@psyray
Copy link
Contributor

psyray commented Jun 15, 2024

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

@psyray
Copy link
Contributor

psyray commented Jun 15, 2024

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
Copy link
Contributor

psyray commented Jun 15, 2024

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
Copy link
Contributor

psyray commented Jun 15, 2024

@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

@psyray psyray self-assigned this Jun 15, 2024
@psyray psyray added the question Further information is requested label Jun 15, 2024
@zinwelzl
Copy link
Author

zinwelzl commented Jun 16, 2024

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
Copy link
Contributor

psyray commented Jun 16, 2024

Ok, 👍
For Eyewitness, open a new issue

@psyray psyray closed this as completed Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants