-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: icon theme set to adwaita * feat: explicit default capture and report filename * feat: escape key now hides current child window * feat: use of docker builder images in the CI * fix: handshake capture and decrypt issues * fix: scan process killing issues * fix: disabled reload of clients on same ap selection Signed-off-by: Martin Olivier <[email protected]>
- Loading branch information
1 parent
adc347e
commit e254467
Showing
21 changed files
with
586 additions
and
443 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
-s dir ./target/release/airgorah ./icons/app_icon.png package README.md LICENSE | ||
--name airgorah | ||
--license MIT | ||
--version 0.5.0 | ||
--version 0.6.0 | ||
--description "A WiFi auditing software that can perform deauth attacks and passwords cracking" | ||
--url "https://github.com/martin-olivier/airgorah" | ||
--maintainer "Martin Olivier <[email protected]>" | ||
|
@@ -15,6 +15,7 @@ | |
--depends iw | ||
--depends macchanger | ||
--depends aircrack-ng | ||
--depends adwaita-icon-theme | ||
|
||
target/release/airgorah=/usr/bin/airgorah | ||
icons/app_icon.png=/usr/share/pixmaps/airgorah.png | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,21 +4,9 @@ on: | |
push: | ||
branches: | ||
- main | ||
paths: | ||
- src/* | ||
- icons/* | ||
- package/* | ||
- .github/workflows/*.yml | ||
- Cargo.toml | ||
pull_request: | ||
branches: | ||
- main | ||
paths: | ||
- src/* | ||
- icons/* | ||
- package/* | ||
- .github/workflows/*.yml | ||
- Cargo.toml | ||
release: | ||
types: [published] | ||
|
||
|
@@ -27,15 +15,15 @@ jobs: | |
name: commits | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- uses: webiny/[email protected] | ||
|
||
linter: | ||
name: linter | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install dependencies | ||
run: sudo apt update && sudo apt install -y libgtk-4-dev libglib2.0-dev | ||
|
@@ -50,36 +38,50 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, ubuntu-latest-arm64] | ||
arch: [x86_64, aarch64] | ||
include: | ||
- os: ubuntu-latest | ||
arch: x86_64 | ||
- os: ubuntu-latest-arm64 | ||
arch: aarch64 | ||
- arch: x86_64 | ||
platform: amd64 | ||
image: amd64_builder | ||
- arch: aarch64 | ||
platform: arm64 | ||
image: arm64_builder | ||
|
||
name: build ${{ matrix.arch }} | ||
runs-on: ${{ matrix.os }} | ||
runs-on: ubuntu-latest | ||
needs: linter | ||
permissions: write-all | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- uses: actions/cache@v3 | ||
with: | ||
path: | | ||
~/.cargo/bin/ | ||
~/.cargo/registry/index/ | ||
~/.cargo/registry/cache/ | ||
~/.cargo/git/db/ | ||
target/ | ||
key: linux_${{ matrix.arch }}-cargo-${{ hashFiles('**/Cargo.lock') }} | ||
restore-keys: linux_${{ matrix.arch }}-cargo- | ||
path: /var/lib/docker | ||
key: docker-${{ matrix.arch }}-${{ hashFiles('**/Dockerfile') }} | ||
restore-keys: docker-${{ matrix.arch }}- | ||
|
||
- name: Install dependencies | ||
- name: Set up qemu | ||
uses: docker/setup-qemu-action@v3 | ||
|
||
- name: Create builder image | ||
run: > | ||
docker build . | ||
--platform linux/${{ matrix.platform }} | ||
-t ${{ matrix.image }} | ||
-f docker/${{ matrix.image }}/Dockerfile | ||
- name: Build project | ||
run: > | ||
docker run --rm | ||
--platform linux/${{ matrix.platform }} | ||
-v ${{ github.workspace }}:/workspace | ||
-w /workspace | ||
${{ matrix.image }} | ||
cargo build --release | ||
- name: Install packaging dependencies | ||
run: > | ||
sudo apt update && sudo apt install -y | ||
libgtk-4-dev | ||
libglib2.0-dev | ||
build-essential | ||
ruby | ||
ruby-dev | ||
|
@@ -90,12 +92,9 @@ jobs: | |
- name: Install fpm | ||
run: sudo gem install fpm | ||
|
||
- name: Build project | ||
run: cargo build --release | ||
|
||
- name: Build debian package | ||
run: > | ||
fpm -t deb -p airgorah_${{ matrix.arch }}.deb --architecture native | ||
fpm -t deb -p airgorah_${{ matrix.arch }}.deb --architecture ${{ matrix.arch }} | ||
--depends policykit-1 | ||
--depends "libgtk-4-1 (>= 4.6.0)" | ||
--depends dbus-x11 | ||
|
@@ -104,6 +103,15 @@ jobs: | |
--depends mdk4 | ||
--depends crunch | ||
- name: Test debian package | ||
run: > | ||
docker run --rm | ||
--platform linux/${{ matrix.platform }} | ||
-v ${{ github.workspace }}:/workspace | ||
-w /workspace | ||
debian:bookworm-slim | ||
sh -c "apt update && apt install -y ./airgorah_${{ matrix.arch }}.deb" | ||
- name: Save debian artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
|
@@ -113,13 +121,22 @@ jobs: | |
|
||
- name: Build redhat package | ||
run: > | ||
fpm -t rpm -p airgorah_${{ matrix.arch }}.rpm --architecture native | ||
fpm -t rpm -p airgorah_${{ matrix.arch }}.rpm --architecture ${{ matrix.arch }} | ||
--depends polkit | ||
--depends "gtk4-devel >= 4.6.0" | ||
--depends dbus-x11 | ||
--depends wireshark-cli | ||
--depends iproute | ||
- name: Test redhat package | ||
run: > | ||
docker run --rm | ||
--platform linux/${{ matrix.platform }} | ||
-v ${{ github.workspace }}:/workspace | ||
-w /workspace | ||
fedora:38 | ||
dnf install -y ./airgorah_${{ matrix.arch }}.rpm | ||
- name: Save redhat artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
|
@@ -129,14 +146,23 @@ jobs: | |
|
||
- name: Build archlinux package | ||
run: > | ||
fpm -t pacman -p airgorah_${{ matrix.arch }}.pkg.tar.zst --architecture native | ||
fpm -t pacman -p airgorah_${{ matrix.arch }}.pkg.tar.zst --architecture ${{ matrix.arch }} | ||
--depends polkit | ||
--depends gtk4 | ||
--depends dbus | ||
--depends wireshark-cli | ||
--depends iproute2 | ||
--depends mdk4 | ||
- name: Test archlinux package | ||
run: > | ||
docker run --rm | ||
--platform linux/${{ matrix.platform }} | ||
-v ${{ github.workspace }}:/workspace | ||
-w /workspace | ||
manjarolinux/base:latest | ||
pacman -U --noconfirm ./airgorah_${{ matrix.arch }}.pkg.tar.zst | ||
- name: Save archlinux artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
|
Oops, something went wrong.