Skip to content

Commit

Permalink
feat: version 0.5.0 (#34)
Browse files Browse the repository at this point in the history
* feat: main window redesign
* feat: new navigation buttons
* feat: new channel quick selection buttons
* feat: new save report button
* feat: improvements for deauth window
* feat: CI cache

Signed-off-by: Martin Olivier <[email protected]>
  • Loading branch information
martin-olivier authored Sep 29, 2023
1 parent 53763e6 commit adc347e
Show file tree
Hide file tree
Showing 14 changed files with 426 additions and 162 deletions.
2 changes: 1 addition & 1 deletion .fpm
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.4.2
--version 0.5.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]>"
Expand Down
Binary file modified .github/assets/illustration.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 23 additions & 9 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,16 @@ jobs:

steps:
- uses: actions/checkout@v3
- 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-

- name: Install dependencies
run: >
Expand Down Expand Up @@ -121,7 +131,7 @@ jobs:
run: >
fpm -t pacman -p airgorah_${{ matrix.arch }}.pkg.tar.zst --architecture native
--depends polkit
--depends "gtk4 (>= 4.6.0)"
--depends gtk4
--depends dbus
--depends wireshark-cli
--depends iproute2
Expand All @@ -134,21 +144,25 @@ jobs:
path: ./airgorah_${{ matrix.arch }}.pkg.tar.zst
if-no-files-found: error

- name: Name packages for release
- name: Get release version
id: 'tag'
if: github.event_name == 'release'
run: echo "tag=${{ github.ref_name }}" | sed 's/v//' >> $GITHUB_OUTPUT

- name: Rename packages
if: github.event_name == 'release'
run: |
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
cp ./airgorah_${{ matrix.arch }}.deb ./airgorah_${{ steps.tag.outputs.tag }}_${{ matrix.arch }}.deb
cp ./airgorah_${{ matrix.arch }}.rpm ./airgorah_${{ steps.tag.outputs.tag }}_${{ matrix.arch }}.rpm
cp ./airgorah_${{ matrix.arch }}.pkg.tar.zst ./airgorah_${{ steps.tag.outputs.tag }}_${{ matrix.arch }}.pkg.tar.zst
- name: Upload packages
if: github.event_name == 'release'
uses: softprops/action-gh-release@v1
with:
files: |
./airgorah_$RELEASE_VERSION_${{ matrix.arch }}.deb
./airgorah_$RELEASE_VERSION_${{ matrix.arch }}.rpm
./airgorah_$RELEASE_VERSION_${{ matrix.arch }}.pkg.tar.zst
./airgorah_${{ steps.tag.outputs.tag }}_${{ matrix.arch }}.deb
./airgorah_${{ steps.tag.outputs.tag }}_${{ matrix.arch }}.rpm
./airgorah_${{ steps.tag.outputs.tag }}_${{ matrix.arch }}.pkg.tar.zst
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18 changes: 9 additions & 9 deletions Cargo.lock

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

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

[dependencies]
gtk4 = { version = "0.7.2", features = ["v4_6"] }
gtk4 = { version = "0.7.3", features = ["v4_6"] }
glib = "0.18.2"
serde = { version = "1.0.188", features = ["derive"] }
serde_json = "1.0.107"
toml = "0.8.0"
toml = "0.8.1"
csv = "1.2.2"
sudo = "0.6.0"
ctrlc = "3.4.1"
Expand Down
23 changes: 15 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,25 @@
</a>
</h1>

<h4 align="center">A WiFi auditing software that can perform deauth attacks and passwords cracking</h4>
<p align="center">
<span>A WiFi auditing software that can perform deauth attacks and passwords cracking</span>
</p>

<p align="center">
<a href="#installation">Installation</a>
&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
<a href="#usage">Usage</a>
&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
<a href="#contributing">Contributing</a>
</p>

<p align="center">
<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 href="https://github.com/martin-olivier/airgorah/releases/tag/v0.5.0">
<img src="https://img.shields.io/badge/Release-v0.5.0-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="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>
Expand Down Expand Up @@ -52,15 +59,15 @@ You will also need a wireless network card that supports `monitor mode` and `pac

The installation instructions are available [here](https://github.com/martin-olivier/airgorah/wiki/Installation).

## Documentation
## Usage

The documentation about the usage of the application is available [here](https://github.com/martin-olivier/airgorah/wiki/Usage).

## License

This project is released under [MIT](LICENSE) license.

## Community
## Contributing

If you have any question about the usage of the application, do not hesitate to open a [discussion](https://github.com/martin-olivier/airgorah/discussions)

Expand Down
Binary file modified icons/app_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 0 additions & 2 deletions src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ pub struct Error {

impl Error {
pub fn new(message: &str) -> Self {
log::error!("{}", message.to_lowercase());

Self {
message: message.to_string(),
}
Expand Down
Loading

0 comments on commit adc347e

Please sign in to comment.