-
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 * misspellings * - fix pixel bug when running on WSL - docs typos - add update-submodules.yaml - renaming old update-submodules.yaml to update-pull-requests.yaml - lfs in docs - adding daemon image * update README.md * Process Markdown copy, replace links, alerts, and generate PDF * fix action * Process Markdown copy, replace links, alerts, and generate PDF * update actions * update actions * Process Markdown copy, replace links, alerts, and generate PDF * update action * Process Markdown copy, replace links, alerts, and generate PDF --------- Co-authored-by: virgula0 <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Virgula0 <[email protected]>
- Loading branch information
1 parent
c7264b4
commit 64edb61
Showing
14 changed files
with
104 additions
and
41 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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: 'Update submodules Branches' | ||
|
||
on: | ||
schedule: | ||
- cron: '0 0 * * 0' # Runs every Sunday at midnight (UTC) | ||
pull_request: | ||
types: | ||
- opened | ||
- reopened | ||
- ready_for_review | ||
- synchronize | ||
|
||
jobs: | ||
sync: | ||
if: github.event.pull_request.draft != true | ||
|
||
name: 'Sync Branches' | ||
runs-on: ubuntu-22.04 | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
|
||
# Update references | ||
- name: Git Submodule Update | ||
run: | | ||
cd externals/gocat | ||
git pull | ||
cd ../../ | ||
cd externals/hcxtools | ||
git pull | ||
- name: Commit and Push Changes | ||
uses: stefanzweifel/git-auto-commit-action@v4 | ||
with: | ||
commit_message: "Update submodules" | ||
file_pattern: externals/gocat/* externals/hcxtools/* |
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
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,20 @@ 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 \ | ||
git \ | ||
git-lfs \ | ||
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 +116,9 @@ 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 | ||
git submodule update --init --remote --recursive && \ | ||
git lfs install && \ | ||
git lfs pull | ||
``` | ||
|
||
1. **You need to install `hashcat` 6.1.1. This step is necesary only for the first time.** | ||
|
@@ -132,24 +130,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 | ||
|
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 |
---|---|---|
|
@@ -14,7 +14,7 @@ import ( | |
) | ||
|
||
const ( | ||
windowWidth = 850 | ||
windowWidth = 851 | ||
windowHeight = 550 | ||
defaultLogHeight = 300 | ||
|
||
|
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
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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