The-Art-of-Hacking / h4cker

This repository is primarily maintained by Omar Santos (@santosomar) and includes thousands of resources related to ethical hacking, bug bounties, digital forensics and incident response (DFIR), artificial intelligence security, vulnerability research, exploit development, reverse engineering, and more.
https://hackerrepo.org
MIT License
17.2k stars 3.1k forks source link

Installation doesn't fail if docker isn't installed #101

Open RichardoC opened 1 year ago

RichardoC commented 1 year ago

While attempting to install websploit on an arm64 machine which didn't have docker installed, the install succeeds and tells me a number of container IPs, despite no containers running. I was expecting the install to fail before that

Below are the full installation logs which hopefully will help.

logs.txt

santosomar commented 1 year ago

It looks like the script was not recognizing the arm64 architecture.

OK
deb [arch=amd64] https://download.docker.com/linux/debian buster stable
Hit:1 https://download.docker.com/linux/debian buster InRelease
Hit:2 http://kali.download/kali kali-rolling InRelease
Reading package lists...
Building dependency tree...
Reading state information...
All packages are up to date.
Reading package lists...
Building dependency tree...
Reading state information...
Reading package lists...
Building dependency tree...
Reading state information...
Package docker-ce is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  docker-ce-cli:amd64

I am using the same procedure in: https://get.docker.com

I will investigate and troubleshoot further on an M1/M2 system.

santosomar commented 11 months ago

Several of us have tried to port everything to the M1/M2 systems and it is extremely frustrating and hard. I will add a note that WebSploit will not run well in an Apple (MAC) M1/M2 system.

RichardoC commented 8 months ago

@santosomar Where is the source for https://websploit.org/install.sh ? I'd like to update it to fail on attempted installation on non amd64 systems to prevent others having this issue

Egor4ik888 commented 3 weeks ago

``

Egor4ik888 commented 3 weeks ago