Skip to content

Commit

Permalink
feat: version 0.4.2 (#31)
Browse files Browse the repository at this point in the history
* feat: added categories, provides and conflicts to packaging
* feat: packaging for both x86_64 and aarch64
* feat: channel filter box now goes red on invalid input
* fix: better channel filter input checks
* fix: backend error management
* feat: logger

Signed-off-by: Martin Olivier <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
martin-olivier and dependabot[bot] authored Sep 18, 2023
1 parent 48d8f6f commit 53763e6
Show file tree
Hide file tree
Showing 26 changed files with 391 additions and 211 deletions.
5 changes: 4 additions & 1 deletion .fpm
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
-s dir ./target/release/airgorah ./icons/app_icon.png package README.md LICENSE
--name airgorah
--license MIT
--version 0.4.1
--version 0.4.2
--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]>"

--provides airgorah
--conflicts airgorah

--depends bash
--depends systemd
--depends xfce4-terminal
Expand Down
4 changes: 1 addition & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@ updates:
- package-ecosystem: "cargo"
directory: "/"
schedule:
interval: "daily"
reviewers:
- "martin-olivier"
interval: "daily"
46 changes: 29 additions & 17 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,18 @@ jobs:
run: cargo fmt --all -- --check

build:
name: build
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, ubuntu-latest-arm64]
include:
- os: ubuntu-latest
arch: x86_64
- os: ubuntu-latest-arm64
arch: aarch64

name: build ${{ matrix.arch }}
runs-on: ${{ matrix.os }}
needs: linter
permissions: write-all

Expand All @@ -64,6 +74,7 @@ jobs:
ruby
ruby-dev
rubygems
rpm
libarchive-tools
- name: Install fpm
Expand All @@ -74,7 +85,7 @@ jobs:

- name: Build debian package
run: >
fpm -t deb -p airgorah_amd64.deb --architecture amd64
fpm -t deb -p airgorah_${{ matrix.arch }}.deb --architecture native
--depends policykit-1
--depends "libgtk-4-1 (>= 4.6.0)"
--depends dbus-x11
Expand All @@ -86,13 +97,13 @@ jobs:
- name: Save debian artifact
uses: actions/upload-artifact@v3
with:
name: airgorah_amd64.deb
path: ./airgorah_amd64.deb
name: airgorah_${{ matrix.arch }}.deb
path: ./airgorah_${{ matrix.arch }}.deb
if-no-files-found: error

- name: Build redhat package
run: >
fpm -t rpm -p airgorah_amd64.rpm --architecture amd64
fpm -t rpm -p airgorah_${{ matrix.arch }}.rpm --architecture native
--depends polkit
--depends "gtk4-devel >= 4.6.0"
--depends dbus-x11
Expand All @@ -102,13 +113,13 @@ jobs:
- name: Save redhat artifact
uses: actions/upload-artifact@v3
with:
name: airgorah_amd64.rpm
path: ./airgorah_amd64.rpm
name: airgorah_${{ matrix.arch }}.rpm
path: ./airgorah_${{ matrix.arch }}.rpm
if-no-files-found: error

- name: Build archlinux package
run: >
fpm -t pacman -p airgorah_amd64.pkg.tar.zst --architecture amd64
fpm -t pacman -p airgorah_${{ matrix.arch }}.pkg.tar.zst --architecture native
--depends polkit
--depends "gtk4 (>= 4.6.0)"
--depends dbus
Expand All @@ -119,24 +130,25 @@ jobs:
- name: Save archlinux artifact
uses: actions/upload-artifact@v3
with:
name: airgorah_amd64.pkg.tar.zst
path: ./airgorah_amd64.pkg.tar.zst
name: airgorah_${{ matrix.arch }}.pkg.tar.zst
path: ./airgorah_${{ matrix.arch }}.pkg.tar.zst
if-no-files-found: error

- name: Name packages for release
if: github.event_name == 'release'
run: |
cp ./airgorah_amd64.deb ./airgorah_${{ github.ref_name }}_amd64.deb
cp ./airgorah_amd64.rpm ./airgorah_${{ github.ref_name }}_amd64.rpm
cp ./airgorah_amd64.pkg.tar.zst ./airgorah_${{ github.ref_name }}_amd64.pkg.tar.zst
echo "RELEASE_VERSION=${{ github.ref_name }}" | sed 's/v//' >> $GITHUB_ENV
cp ./airgorah_${{ matrix.arch }}.deb ./airgorah_$RELEASE_VERSION_${{ matrix.arch }}.deb
cp ./airgorah_${{ matrix.arch }}.rpm ./airgorah_$RELEASE_VERSION_${{ matrix.arch }}.rpm
cp ./airgorah_${{ matrix.arch }}.pkg.tar.zst ./airgorah_$RELEASE_VERSION_${{ matrix.arch }}.pkg.tar.zst
- name: Upload packages
if: github.event_name == 'release'
uses: softprops/action-gh-release@v1
with:
files: |
./airgorah_${{ github.ref_name }}_amd64.deb
./airgorah_${{ github.ref_name }}_amd64.rpm
./airgorah_${{ github.ref_name }}_amd64.pkg.tar.zst
./airgorah_$RELEASE_VERSION_${{ matrix.arch }}.deb
./airgorah_$RELEASE_VERSION_${{ matrix.arch }}.rpm
./airgorah_$RELEASE_VERSION_${{ matrix.arch }}.pkg.tar.zst
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
85 changes: 69 additions & 16 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 6 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "airgorah"
version = "0.4.1"
version = "0.4.2"
edition = "2021"
license = "MIT"
description = "A WiFi auditing software that can perform deauth attacks and passwords cracking"
Expand All @@ -14,14 +14,16 @@ exclude = ["/.github", "/package"]

[dependencies]
gtk4 = { version = "0.7.2", features = ["v4_6"] }
glib = "0.18.1"
glib = "0.18.2"
serde = { version = "1.0.188", features = ["derive"] }
serde_json = "1.0.106"
toml = "0.7.8"
serde_json = "1.0.107"
toml = "0.8.0"
csv = "1.2.2"
sudo = "0.6.0"
ctrlc = "3.4.1"
regex = "1.9.5"
lazy_static = "1.4.0"
ureq = { version = "2.7.1", features = ["json"] }
which = "4.4.2"
log = "0.4.20"
env_logger = "0.10.0"
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,29 @@
<h4 align="center">A WiFi auditing software that can perform deauth attacks and passwords cracking</h4>

<p align="center">
<a href="https://github.com/martin-olivier/airgorah/releases/tag/v0.4.1">
<img src="https://img.shields.io/badge/Version-0.4.1_(beta)-blue.svg" alt="version"/>
<a href="https://github.com/martin-olivier/airgorah/releases/tag/v0.4.2">
<img src="https://img.shields.io/badge/Release-v0.4.2-blue.svg" alt="version"/>
</a>
<a href="https://github.com/martin-olivier/airgorah/blob/main/LICENSE">
<img src="https://img.shields.io/badge/License-MIT-darkgreen.svg" alt="license"/>
</a>
<a href="https://www.rust-lang.org/">
<img src="https://img.shields.io/badge/Language-Rust-orange.svg" alt="cppversion"/>
<img src="https://img.shields.io/badge/Language-Rust-orange.svg" alt="lang"/>
</a>
<a href="https://github.com/martin-olivier/airgorah/actions/workflows/CI.yml">
<img src="https://github.com/martin-olivier/airgorah/actions/workflows/CI.yml/badge.svg" alt="ci"/>
</a>
</p>

<p align="center">
<a href="https://crates.io/crates/airgorah">
<img src="https://img.shields.io/crates/v/airgorah.svg" alt="crates"/>
</a>
<a href="https://aur.archlinux.org/packages/airgorah">
<img src="https://img.shields.io/aur/version/airgorah" alt="aur"/>
</a>
</p>

![illustration](.github/assets/illustration.png)

`Airgorah` is a WiFi auditing software that can discover the clients connected to an access point, perform deauthentication attacks against specific clients or all the clients connected to it, capture WPA handshakes, and crack the password of the access point.
Expand Down
1 change: 1 addition & 0 deletions package/.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ Comment=A WiFi auditing software that can perform deauth attacks and passwords c
Exec=pkexec airgorah
Icon=/usr/share/pixmaps/airgorah.png
ApplicationId=com.molivier.airgorah
Categories=System;Utility;
Type=Application
Terminal=false
Loading

0 comments on commit 53763e6

Please sign in to comment.