-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
makefile symlink to build client added; readme fix and main readme fix
- Loading branch information
virgula0
committed
Jan 27, 2025
1 parent
2c21baf
commit 4c70504
Showing
4 changed files
with
33 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -93,22 +93,18 @@ While this solution works for our current requirements, future improvements coul | |
> The following dependencies needs to be installed before proceeding, even if you're using compiled binaries from releases | ||
```bash | ||
apt update -y && \ | ||
apt install -y --no-install-recommends \ | ||
protobuf-compiler | ||
sudo apt update -y && \ | ||
sudo apt install -y --no-install-recommends \ | ||
protobuf-compiler \ | ||
libminizip-dev \ | ||
ocl-icd-libopencl1 \ | ||
opencl-headers \ | ||
pocl-opencl-icd \ | ||
build-essential \ | ||
wget \ | ||
git \ | ||
dumb-init \ | ||
ca-certificates \ | ||
libz-dev \ | ||
libssl-dev \ | ||
dbus \ | ||
# Graphic libraries for raylib | ||
libgl1-mesa-dev libxi-dev libxcursor-dev libxrandr-dev libxinerama-dev libwayland-dev libxkbcommon-dev | ||
``` | ||
|
||
|
@@ -118,9 +114,7 @@ apt update -y && \ | |
Follow these steps to compile and run the client, run it from project root dir | ||
|
||
```bash | ||
git submodule init | ||
git submodule update --init --remote --recursive | ||
git pull --recurse-submodule | ||
``` | ||
|
||
1. **You need to install `hashcat` 6.1.1. This step is necesary only for the first time.** | ||
|
@@ -132,24 +126,35 @@ sudo make set-user-permissions USER=${USER} | |
cd ../../ | ||
``` | ||
|
||
2. **Build with** | ||
2. **Install protobuf** | ||
|
||
> ![NOTE] | ||
> This was tested out using go `1.23.4`. Other version may have problems. | ||
```bash | ||
go install google.golang.org/protobuf/cmd/[email protected] && | ||
go install google.golang.org/grpc/cmd/[email protected] | ||
``` | ||
|
||
3. **Build client** | ||
|
||
```bash | ||
cd client | ||
make build | ||
``` | ||
|
||
Produces the following files tree | ||
Produces the following files tree in `build` | ||
|
||
``` | ||
├── client | ||
├── hashcat.hctune -> /usr/local/share/hashcat/hashcat.hctune | ||
├── hashcat.hcstat2 -> /usr/local/share/hashcat/hashcat.hcstat2 | ||
├── libhcxpcapngtool.so | ||
├── modules -> /usr/local/share/hashcat/modules | ||
└── OpenCL -> /usr/local/share/hashcat/OpenCL | ||
``` | ||
|
||
3. **Run with** | ||
4. **Run with** | ||
|
||
```bash | ||
make run-compiled | ||
|