Skip to content

A WiFi security auditing software

feat: version 0.7.4 (#146)

Martin Olivier94614cf051d0
diff --git a/.fpm b/.fpm
index b0603b5..0cb84eb 100644
--- a/.fpm
+++ b/.fpm
@@ -1,8 +1,8 @@
--s dir ./target/release/airgorah ./icons/app_icon.png package README.md LICENSE
+-s dir ./target/debug/airgorah ./icons/app_icon.png package README.md LICENSE
--name airgorah
--license MIT
---version 0.7.3
---description "A WiFi auditing software that can perform deauth attacks and passwords cracking"
+--version 0.7.4
+--description "A WiFi security auditing software mainly based on aircrack-ng tools suite"
--url "https://github.com/martin-olivier/airgorah"
--maintainer "Martin Olivier <[email protected]>"
@@ -16,7 +16,7 @@
--depends aircrack-ng
--depends adwaita-icon-theme
-target/release/airgorah=/usr/bin/airgorah
+target/debug/airgorah=/usr/bin/airgorah
icons/app_icon.png=/usr/share/pixmaps/airgorah.png
package/config.toml=/etc/airgorah/config.toml
diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml
index 7d887b8..59ddcd0 100644
--- a/.github/workflows/CI.yml
+++ b/.github/workflows/CI.yml
@@ -2,44 +2,33 @@ name: CI
on:
push:
- branches:
- - main
pull_request:
- branches:
- - main
release:
types: [published]
jobs:
- commits:
- name: commits
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v4
- - uses: webiny/[email protected]
-
linter:
name: linter
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Create builder image
- run: docker build . -t amd64_builder
+ run: docker build . -t airgorah_builder
- name: Clippy
run: >
docker run --rm
-v ${{ github.workspace }}:/workspace
- amd64_builder
+ airgorah_builder
cargo clippy --all --all-features -- -D warnings
- name: Format
run: >
docker run --rm
-v ${{ github.workspace }}:/workspace
- amd64_builder
+ airgorah_builder
cargo fmt --all -- --check
build:
@@ -49,35 +38,28 @@ jobs:
arch: [x86_64, aarch64]
include:
- arch: x86_64
- platform: amd64
- image: amd64_builder
+ runner: ubuntu-24.04
- arch: aarch64
- platform: arm64
- image: arm64_builder
+ runner: ubuntu-24.04-arm
name: build ${{ matrix.arch }}
- runs-on: ubuntu-latest
+ runs-on: ${{ matrix.runner }}
needs: linter
permissions: write-all
steps:
- uses: actions/checkout@v4
- - name: Set up qemu
- uses: docker/setup-qemu-action@v3
-
- name: Create builder image
run: >
docker build .
- --platform linux/${{ matrix.platform }}
- -t ${{ matrix.image }}
+ -t airgorah_builder
- name: Build project
run: >
docker run --rm
- --platform linux/${{ matrix.platform }}
-v ${{ github.workspace }}:/workspace
- ${{ matrix.image }}
+ airgorah_builder
- name: Save debian artifact
uses: actions/upload-artifact@v4
diff --git a/.gitignore b/.gitignore
index e87d714..f670074 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,4 +14,4 @@
*.deb
*.rpm
-*.tar.gz
\ No newline at end of file
+*.tar.zst
\ No newline at end of file
diff --git a/Cargo.lock b/Cargo.lock
index 5c6c074..8b0a69e 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1,25 +1,25 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
-version = 3
+version = 4
[[package]]
-name = "adler"
-version = "1.0.2"
+name = "adler2"
+version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
+checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa"
[[package]]
name = "aho-corasick"
-version = "1.1.2"
+version = "1.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0"
+checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
dependencies = [
"memchr",
]
[[package]]
name = "airgorah"
-version = "0.7.3"
+version = "0.7.4"
dependencies = [
"chrono",
"csv",
@@ -33,8 +33,8 @@ dependencies = [
"serde",
"serde_json",
"sudo",
- "thiserror",
- "toml",
+ "thiserror 2.0.12",
+ "toml 0.9.2",
"ureq",
"which",
]
@@ -56,93 +56,95 @@ dependencies = [
[[package]]
name = "anstream"
-version = "0.6.13"
+version = "0.6.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d96bd03f33fe50a863e394ee9718a706f988b9079b20c3784fb726e7678b62fb"
+checksum = "301af1932e46185686725e0fad2f8f2aa7da69dd70bf6ecc44d6b703844a3933"
dependencies = [
"anstyle",
"anstyle-parse",
"anstyle-query",
"anstyle-wincon",
"colorchoice",
+ "is_terminal_polyfill",
"utf8parse",
]
[[package]]
name = "anstyle"
-version = "1.0.6"
+version = "1.0.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8901269c6307e8d93993578286ac0edf7f195079ffff5ebdeea6a59ffb7e36bc"
+checksum = "862ed96ca487e809f1c8e5a8447f6ee2cf102f846893800b20cebdf541fc6bbd"
[[package]]
name = "anstyle-parse"
-version = "0.2.3"
+version = "0.2.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c75ac65da39e5fe5ab759307499ddad880d724eed2f6ce5b5e8a26f4f387928c"
+checksum = "4e7644824f0aa2c7b9384579234ef10eb7efb6a0deb83f9630a49594dd9c15c2"
dependencies = [
"utf8parse",
]
[[package]]
name = "anstyle-query"
-version = "1.0.2"
+version = "1.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e28923312444cdd728e4738b3f9c9cac739500909bb3d3c94b43551b16517648"
+checksum = "6c8bdeb6047d8983be085bab0ba1472e6dc604e7041dbf6fcd5e71523014fae9"
dependencies = [
- "windows-sys",
+ "windows-sys 0.59.0",
]
[[package]]
name = "anstyle-wincon"
-version = "3.0.2"
+version = "3.0.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7"
+checksum = "403f75924867bb1033c59fbf0797484329750cfbe3c4325cd33127941fabc882"
dependencies = [
"anstyle",
- "windows-sys",
+ "once_cell_polyfill",
+ "windows-sys 0.59.0",
]
-[[package]]
-name = "anyhow"
-version = "1.0.80"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5ad32ce52e4161730f7098c077cd2ed6229b5804ccf99e5366be1ab72a98b4e1"
-
[[package]]
name = "autocfg"
-version = "1.1.0"
+version = "1.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
+checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
[[package]]
name = "base64"
-version = "0.22.0"
+version = "0.22.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9475866fec1451be56a3c2400fd081ff546538961565ccb5b7142cbd22bc7a51"
+checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
[[package]]
name = "bitflags"
-version = "2.4.2"
+version = "2.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf"
+checksum = "1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967"
[[package]]
name = "bumpalo"
-version = "3.15.4"
+version = "3.19.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43"
+
+[[package]]
+name = "bytes"
+version = "1.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7ff69b9dd49fd426c69a0db9fc04dd934cdb6645ff000864d98f7e2af8830eaa"
+checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a"
[[package]]
name = "cairo-rs"
-version = "0.19.2"
+version = "0.19.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2650f66005301bd33cc486dec076e1293c4cecf768bc7ba9bf5d2b1be339b99c"
+checksum = "b2ac2a4d0e69036cf0062976f6efcba1aaee3e448594e6514bb2ddf87acce562"
dependencies = [
"bitflags",
"cairo-sys-rs",
"glib",
"libc",
- "thiserror",
+ "thiserror 1.0.69",
]
[[package]]
@@ -158,15 +160,18 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.0.90"
+version = "1.2.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8cd6604a82acf3039f1144f54b8eb34e91ffba622051189e71b781822d5ee1f5"
+checksum = "deec109607ca693028562ed836a5f1c4b8bd77755c4e132fc5ce11b0b6211ae7"
+dependencies = [
+ "shlex",
+]
[[package]]
name = "cfg-expr"
-version = "0.15.7"
+version = "0.15.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fa50868b64a9a6fda9d593ce778849ea8715cd2a3d2cc17ffdb4a2f2f2f1961d"
+checksum = "d067ad48b8650848b989a59a86c6c36a995d02d2bf778d45c3c5d57bc2718f02"
dependencies = [
"smallvec",
"target-lexicon",
@@ -174,56 +179,85 @@ dependencies = [
[[package]]
name = "cfg-if"
-version = "1.0.0"
+version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
+checksum = "9555578bc9e57714c812a1f84e4fc5b4d21fcb063490c624de019f7464c91268"
[[package]]
name = "cfg_aliases"
-version = "0.1.1"
+version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e"
+checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"
[[package]]
name = "chrono"
-version = "0.4.38"
+version = "0.4.41"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401"
+checksum = "c469d952047f47f91b68d1cba3f10d63c11d73e4636f24f08daf0278abf01c4d"
dependencies = [
"android-tzdata",
"iana-time-zone",
"js-sys",
"num-traits",
"wasm-bindgen",
- "windows-targets",
+ "windows-link",
]
[[package]]
name = "colorchoice"
-version = "1.0.0"
+version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7"
+checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75"
+
+[[package]]
+name = "cookie"
+version = "0.18.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4ddef33a339a91ea89fb53151bd0a4689cfce27055c291dfa69945475d22c747"
+dependencies = [
+ "percent-encoding",
+ "time",
+ "version_check",
+]
+
+[[package]]
+name = "cookie_store"
+version = "0.21.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2eac901828f88a5241ee0600950ab981148a18f2f756900ffba1b125ca6a3ef9"
+dependencies = [
+ "cookie",
+ "document-features",
+ "idna",
+ "indexmap",
+ "log",
+ "serde",
+ "serde_derive",
+ "serde_json",
+ "time",
+ "url",
+]
[[package]]
name = "core-foundation-sys"
-version = "0.8.6"
+version = "0.8.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f"
+checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
[[package]]
name = "crc32fast"
-version = "1.4.0"
+version = "1.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b3855a8a784b474f333699ef2bbca9db2c4a1f6d9088a90a2d25b1eb53111eaa"
+checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511"
dependencies = [
"cfg-if",
]
[[package]]
name = "csv"
-version = "1.3.0"
+version = "1.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ac574ff4d437a7b5ad237ef331c17ccca63c46479e5b5453eb8e10bb99a759fe"
+checksum = "acdc4883a9c96732e4733212c01447ebd805833b7275a73ca3ee080fd77afdaf"
dependencies = [
"csv-core",
"itoa",
@@ -233,66 +267,95 @@ dependencies = [
[[package]]
name = "csv-core"
-version = "0.1.11"
+version = "0.1.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5efa2b3d7902f4b634a20cae3c9c4e6209dc4779feb6863329607560143efa70"
+checksum = "7d02f3b0da4c6504f86e9cd789d8dbafab48c2321be74e9987593de5a894d93d"
dependencies = [
"memchr",
]
[[package]]
name = "ctrlc"
-version = "3.4.4"
+version = "3.4.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "672465ae37dc1bc6380a6547a8883d5dd397b0f1faaad4f265726cc7042a5345"
+checksum = "46f93780a459b7d656ef7f071fe699c4d3d2cb201c4b24d085b6ddc505276e73"
dependencies = [
"nix",
- "windows-sys",
+ "windows-sys 0.59.0",
+]
+
+[[package]]
+name = "deranged"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9c9e6a11ca8224451684bc0d7d5a7adbf8f2fd6887261a1cfc3c0432f9d4068e"
+dependencies = [
+ "powerfmt",
+]
+
+[[package]]
+name = "displaydoc"
+version = "0.2.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
]
[[package]]
-name = "either"
-version = "1.10.0"
+name = "document-features"
+version = "0.2.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "11157ac094ffbdde99aa67b23417ebdd801842852b500e395a45a9c0aac03e4a"
+checksum = "95249b50c6c185bee49034bcb378a49dc2b5dff0be90ff6616d31d64febab05d"
+dependencies = [
+ "litrs",
+]
[[package]]
name = "env_filter"
-version = "0.1.0"
+version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a009aa4810eb158359dda09d0c87378e4bbb89b5a801f016885a4707ba24f7ea"
+checksum = "186e05a59d4c50738528153b83b0b0194d3a29507dfec16eccd4b342903397d0"
dependencies = [
"log",
"regex",
]
+[[package]]
+name = "env_home"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c7f84e12ccf0a7ddc17a6c41c93326024c42920d7ee630d04950e6926645c0fe"
+
[[package]]
name = "env_logger"
-version = "0.11.3"
+version = "0.11.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "38b35839ba51819680ba087cd351788c9a3c476841207e0b8cee0b04722343b9"
+checksum = "13c863f0904021b108aa8b2f55046443e6b1ebde8fd4a15c399893aae4fa069f"
dependencies = [
"anstream",
"anstyle",
"env_filter",
- "humantime",
+ "jiff",
"log",
]
[[package]]
name = "equivalent"
-version = "1.0.1"
+version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
+checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
[[package]]
name = "errno"
-version = "0.3.8"
+version = "0.3.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245"
+checksum = "778e2ac28f6c47af28e4907f13ffd1e1ddbd400980a9abd7c8df189bf578a5ad"
dependencies = [
"libc",
- "windows-sys",
+ "windows-sys 0.60.2",
]
[[package]]
@@ -307,14 +370,20 @@ dependencies = [
[[package]]
name = "flate2"
-version = "1.0.28"
+version = "1.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "46303f565772937ffe1d394a4fac6f411c6013172fadde9dcdb1e147a086940e"
+checksum = "4a3d7db9596fecd151c5f638c0ee5d5bd487b6e0ea232e5dc96d5250f6f94b1d"
dependencies = [
"crc32fast",
"miniz_oxide",
]
+[[package]]
+name = "fnv"
+version = "1.0.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
+
[[package]]
name = "form_urlencoded"
version = "1.2.1"
@@ -326,24 +395,24 @@ dependencies = [
[[package]]
name = "futures-channel"
-version = "0.3.30"
+version = "0.3.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78"
+checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10"
dependencies = [
"futures-core",
]
[[package]]
name = "futures-core"
-version = "0.3.30"
+version = "0.3.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d"
+checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e"
[[package]]
name = "futures-executor"
-version = "0.3.30"
+version = "0.3.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d"
+checksum = "1e28d1d997f585e54aebc3f97d39e72338912123a67330d723fdbb564d646c9f"
dependencies = [
"futures-core",
"futures-task",
@@ -352,32 +421,32 @@ dependencies = [
[[package]]
name = "futures-io"
-version = "0.3.30"
+version = "0.3.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1"
+checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6"
[[package]]
name = "futures-macro"
-version = "0.3.30"
+version = "0.3.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac"
+checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.52",
+ "syn",
]
[[package]]
name = "futures-task"
-version = "0.3.30"
+version = "0.3.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004"
+checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988"
[[package]]
name = "futures-util"
-version = "0.3.30"
+version = "0.3.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48"
+checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81"
dependencies = [
"futures-core",
"futures-macro",
@@ -389,9 +458,9 @@ dependencies = [
[[package]]
name = "gdk-pixbuf"
-version = "0.19.2"
+version = "0.19.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f6a23f8a0b5090494fd04924662d463f8386cc678dd3915015a838c1a3679b92"
+checksum = "624eaba126021103c7339b2e179ae4ee8cdab842daab419040710f38ed9f8699"
dependencies = [
"gdk-pixbuf-sys",
"gio",
@@ -401,9 +470,9 @@ dependencies = [
[[package]]
name = "gdk-pixbuf-sys"
-version = "0.19.0"
+version = "0.19.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3dcbd04c1b2c4834cc008b4828bc917d062483b88d26effde6342e5622028f96"
+checksum = "4efa05a4f83c8cc50eb4d883787b919b85e5f1d8dd10b5a1df53bf5689782379"
dependencies = [
"gio-sys",
"glib-sys",
@@ -414,9 +483,9 @@ dependencies = [
[[package]]
name = "gdk4"
-version = "0.8.1"
+version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9100b25604183f2fd97f55ef087fae96ab4934d7215118a35303e422688e6e4b"
+checksum = "db265c9dd42d6a371e09e52deab3a84808427198b86ac792d75fd35c07990a07"
dependencies = [
"cairo-rs",
"gdk-pixbuf",
@@ -429,9 +498,9 @@ dependencies = [
[[package]]
name = "gdk4-sys"
-version = "0.8.1"
+version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d0b76874c40bb8d1c7d03a7231e23ac75fa577a456cd53af32ec17ec8f121626"
+checksum = "c9418fb4e8a67074919fe7604429c45aa74eb9df82e7ca529767c6d4e9dc66dd"
dependencies = [
"cairo-sys-rs",
"gdk-pixbuf-sys",
@@ -446,9 +515,9 @@ dependencies = [
[[package]]
name = "getrandom"
-version = "0.2.12"
+version = "0.2.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "190092ea657667030ac6a35e305e62fc4dd69fd98ac98631e5d3a2b1575a12b5"
+checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592"
dependencies = [
"cfg-if",
"libc",
@@ -457,9 +526,9 @@ dependencies = [
[[package]]
name = "gio"
-version = "0.19.2"
+version = "0.19.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2eae10b27b6dd27e22ed0d812c6387deba295e6fc004a8b379e459b663b05a02"
+checksum = "4c49f117d373ffcc98a35d114db5478bc223341cff53e39a5d6feced9e2ddffe"
dependencies = [
"futures-channel",
"futures-core",
@@ -470,27 +539,27 @@ dependencies = [
"libc",
"pin-project-lite",
"smallvec",
- "thiserror",
+ "thiserror 1.0.69",
]
[[package]]
name = "gio-sys"
-version = "0.19.0"
+version = "0.19.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bcf8e1d9219bb294636753d307b030c1e8a032062cba74f493c431a5c8b81ce4"
+checksum = "2cd743ba4714d671ad6b6234e8ab2a13b42304d0e13ab7eba1dcdd78a7d6d4ef"
dependencies = [
"glib-sys",
"gobject-sys",
"libc",
"system-deps",
- "windows-sys",
+ "windows-sys 0.52.0",
]
[[package]]
name = "glib"
-version = "0.19.5"
+version = "0.19.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "be682de2914107f591efdbe2debf05d9ad70726310ee2b6a3802a697649fcc55"
+checksum = "39650279f135469465018daae0ba53357942a5212137515777d5fdca74984a44"
dependencies = [
"bitflags",
"futures-channel",
@@ -505,27 +574,27 @@ dependencies = [
"libc",
"memchr",
"smallvec",
- "thiserror",
+ "thiserror 1.0.69",
]
[[package]]
name = "glib-macros"
-version = "0.19.2"
+version = "0.19.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0f5897ca27a83e4cdc7b4666850bade0a2e73e17689aabafcc9acddad9d823b8"
+checksum = "4429b0277a14ae9751350ad9b658b1be0abb5b54faa5bcdf6e74a3372582fad7"
dependencies = [
"heck",
"proc-macro-crate",
"proc-macro2",
"quote",
- "syn 2.0.52",
+ "syn",
]
[[package]]
name = "glib-sys"
-version = "0.19.0"
+version = "0.19.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "630f097773d7c7a0bb3258df4e8157b47dc98bbfa0e60ad9ab56174813feced4"
+checksum = "5c2dc18d3a82b0006d470b13304fbbb3e0a9bd4884cf985a60a7ed733ac2c4a5"
dependencies = [
"libc",
"system-deps",
@@ -533,9 +602,9 @@ dependencies = [
[[package]]
name = "gobject-sys"
-version = "0.19.0"
+version = "0.19.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c85e2b1080b9418dd0c58b498da3a5c826030343e0ef07bde6a955d28de54979"
+checksum = "2e697e252d6e0416fd1d9e169bda51c0f1c926026c39ca21fbe8b1bb5c3b8b9e"
dependencies = [
"glib-sys",
"libc",
@@ -544,9 +613,9 @@ dependencies = [
[[package]]
name = "graphene-rs"
-version = "0.19.2"
+version = "0.19.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "99e4d388e96c5f29e2b2f67045d229ddf826d0a8d6d282f94ed3b34452222c91"
+checksum = "f5fb86031d24d9ec0a2a15978fc7a65d545a2549642cf1eb7c3dda358da42bcf"
dependencies = [
"glib",
"graphene-sys",
@@ -555,9 +624,9 @@ dependencies = [
[[package]]
name = "graphene-sys"
-version = "0.19.0"
+version = "0.19.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "236ed66cc9b18d8adf233716f75de803d0bf6fc806f60d14d948974a12e240d0"
+checksum = "2f530e0944bccba4b55065e9c69f4975ad691609191ebac16e13ab8e1f27af05"
dependencies = [
"glib-sys",
"libc",
@@ -567,9 +636,9 @@ dependencies = [
[[package]]
name = "gsk4"
-version = "0.8.1"
+version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c65036fc8f99579e8cb37b12487969b707ab23ec8ab953682ff347cbd15d396e"
+checksum = "7563884bf6939f4468e5d94654945bdd9afcaf8c3ba4c5dd17b5342b747221be"
dependencies = [
"cairo-rs",
"gdk4",
@@ -582,9 +651,9 @@ dependencies = [
[[package]]
name = "gsk4-sys"
-version = "0.8.1"
+version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bd24c814379f9c3199dc53e52253ee8d0f657eae389ab282c330505289d24738"
+checksum = "23024bf2636c38bbd1f822f58acc9d1c25b28da896ff0f291a1a232d4272b3dc"
dependencies = [
"cairo-sys-rs",
"gdk4-sys",
@@ -619,23 +688,21 @@ dependencies = [
[[package]]
name = "gtk4-macros"
-version = "0.8.1"
+version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "40300bf071d2fcd4c94eacc09e84ec6fe73129d2ceb635cf7e55b026b5443567"
+checksum = "ec655a7ef88d8ce9592899deb8b2d0fa50bab1e6dd69182deb764e643c522408"
dependencies = [
- "anyhow",
"proc-macro-crate",
- "proc-macro-error",
"proc-macro2",
"quote",
- "syn 1.0.109",
+ "syn",
]
[[package]]
name = "gtk4-sys"
-version = "0.8.1"
+version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0db1b104138f087ccdc81d2c332de5dd049b89de3d384437cc1093b17cd2da18"
+checksum = "8c8aa86b7f85ea71d66ea88c1d4bae1cfacf51ca4856274565133838d77e57b5"
dependencies = [
"cairo-sys-rs",
"gdk-pixbuf-sys",
@@ -652,41 +719,44 @@ dependencies = [
[[package]]
name = "hashbrown"
-version = "0.14.3"
+version = "0.15.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604"
+checksum = "5971ac85611da7067dbfcabef3c70ebb5606018acd9e2a3903a0da507521e0d5"
[[package]]
name = "heck"
-version = "0.4.1"
+version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
+checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
[[package]]
-name = "home"
-version = "0.5.9"
+name = "http"
+version = "1.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5"
+checksum = "f4a85d31aea989eead29a3aaf9e1115a180df8282431156e533de47660892565"
dependencies = [
- "windows-sys",
+ "bytes",
+ "fnv",
+ "itoa",
]
[[package]]
-name = "humantime"
-version = "2.1.0"
+name = "httparse"
+version = "1.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"
+checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87"
[[package]]
name = "iana-time-zone"
-version = "0.1.60"
+version = "0.1.63"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141"
+checksum = "b0c919e5debc312ad217002b8048a17b7d83f80703865bbfcfebb0458b0b27d8"
dependencies = [
"android_system_properties",
"core-foundation-sys",
"iana-time-zone-haiku",
"js-sys",
+ "log",
"wasm-bindgen",
"windows-core",
]
@@ -700,94 +770,234 @@ dependencies = [
"cc",
]
+[[package]]
+name = "icu_collections"
+version = "2.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "200072f5d0e3614556f94a9930d5dc3e0662a652823904c3a75dc3b0af7fee47"
+dependencies = [
+ "displaydoc",
+ "potential_utf",
+ "yoke",
+ "zerofrom",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_locale_core"
+version = "2.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0cde2700ccaed3872079a65fb1a78f6c0a36c91570f28755dda67bc8f7d9f00a"
+dependencies = [
+ "displaydoc",
+ "litemap",
+ "tinystr",
+ "writeable",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_normalizer"
+version = "2.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "436880e8e18df4d7bbc06d58432329d6458cc84531f7ac5f024e93deadb37979"
+dependencies = [
+ "displaydoc",
+ "icu_collections",
+ "icu_normalizer_data",
+ "icu_properties",
+ "icu_provider",
+ "smallvec",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_normalizer_data"
+version = "2.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "00210d6893afc98edb752b664b8890f0ef174c8adbb8d0be9710fa66fbbf72d3"
+
+[[package]]
+name = "icu_properties"
+version = "2.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "016c619c1eeb94efb86809b015c58f479963de65bdb6253345c1a1276f22e32b"
+dependencies = [
+ "displaydoc",
+ "icu_collections",
+ "icu_locale_core",
+ "icu_properties_data",
+ "icu_provider",
+ "potential_utf",
+ "zerotrie",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_properties_data"
+version = "2.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "298459143998310acd25ffe6810ed544932242d3f07083eee1084d83a71bd632"
+
+[[package]]
+name = "icu_provider"
+version = "2.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "03c80da27b5f4187909049ee2d72f276f0d9f99a42c306bd0131ecfe04d8e5af"
+dependencies = [
+ "displaydoc",
+ "icu_locale_core",
+ "stable_deref_trait",
+ "tinystr",
+ "writeable",
+ "yoke",
+ "zerofrom",
+ "zerotrie",
+ "zerovec",
+]
+
[[package]]
name = "idna"
-version = "0.5.0"
+version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6"
+checksum = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e"
dependencies = [
- "unicode-bidi",
- "unicode-normalization",
+ "idna_adapter",
+ "smallvec",
+ "utf8_iter",
+]
+
+[[package]]
+name = "idna_adapter"
+version = "1.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344"
+dependencies = [
+ "icu_normalizer",
+ "icu_properties",
]
[[package]]
name = "indexmap"
-version = "2.2.5"
+version = "2.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7b0b929d511467233429c45a44ac1dcaa21ba0f5ba11e4879e6ed28ddb4f9df4"
+checksum = "fe4cd85333e22411419a0bcae1297d25e58c9443848b11dc6a86fefe8c78a661"
dependencies = [
"equivalent",
"hashbrown",
]
+[[package]]
+name = "is_terminal_polyfill"
+version = "1.70.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf"
+
[[package]]
name = "itoa"
-version = "1.0.10"
+version = "1.0.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c"
+checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
+
+[[package]]
+name = "jiff"
+version = "0.2.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "be1f93b8b1eb69c77f24bbb0afdf66f54b632ee39af40ca21c4365a1d7347e49"
+dependencies = [
+ "jiff-static",
+ "log",
+ "portable-atomic",
+ "portable-atomic-util",
+ "serde",
+]
+
+[[package]]
+name = "jiff-static"
+version = "0.2.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "03343451ff899767262ec32146f6d559dd759fdadf42ff0e227c7c48f72594b4"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
[[package]]
name = "js-sys"
-version = "0.3.69"
+version = "0.3.77"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "29c15563dc2726973df627357ce0c9ddddbea194836909d655df6a75d2cf296d"
+checksum = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f"
dependencies = [
+ "once_cell",
"wasm-bindgen",
]
[[package]]
name = "lazy_static"
-version = "1.4.0"
+version = "1.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
+checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
[[package]]
name = "libc"
-version = "0.2.153"
+version = "0.2.174"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd"
+checksum = "1171693293099992e19cddea4e8b849964e9846f4acee11b3948bcc337be8776"
[[package]]
name = "linux-raw-sys"
-version = "0.4.13"
+version = "0.9.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c"
+checksum = "cd945864f07fe9f5371a27ad7b52a172b4b499999f1d97574c9fa68373937e12"
+
+[[package]]
+name = "litemap"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "241eaef5fd12c88705a01fc1066c48c4b36e0dd4377dcdc7ec3942cea7a69956"
+
+[[package]]
+name = "litrs"
+version = "0.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b4ce301924b7887e9d637144fdade93f9dfff9b60981d4ac161db09720d39aa5"
[[package]]
name = "log"
-version = "0.4.21"
+version = "0.4.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c"
+checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94"
[[package]]
name = "memchr"
-version = "2.7.1"
+version = "2.7.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149"
+checksum = "32a282da65faaf38286cf3be983213fcf1d2e2a58700e808f83f4ea9a4804bc0"
[[package]]
name = "memoffset"
-version = "0.9.0"
+version = "0.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c"
+checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
dependencies = [
"autocfg",
]
[[package]]
name = "miniz_oxide"
-version = "0.7.2"
+version = "0.8.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7"
+checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316"
dependencies = [
- "adler",
+ "adler2",
]
[[package]]
name = "nix"
-version = "0.28.0"
+version = "0.30.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ab2156c4fce2f8df6c499cc1c763e4394b7482525bf2a9701c9d79d215f519e4"
+checksum = "74523f3a35e05aba87a1d978330aef40f67b0304ac79c1c00b294c9830543db6"
dependencies = [
"bitflags",
"cfg-if",
@@ -795,26 +1005,38 @@ dependencies = [
"libc",
]
+[[package]]
+name = "num-conv"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9"
+
[[package]]
name = "num-traits"
-version = "0.2.18"
+version = "0.2.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "da0df0e5185db44f69b44f26786fe401b6c293d1907744beaa7fa62b2e5a517a"
+checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
dependencies = [
"autocfg",
]
[[package]]
name = "once_cell"
-version = "1.19.0"
+version = "1.21.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
+checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
+
+[[package]]
+name = "once_cell_polyfill"
+version = "1.70.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a4895175b425cb1f87721b59f0f286c2092bd4af812243672510e1ac53e2e0ad"
[[package]]
name = "pango"
-version = "0.19.2"
+version = "0.19.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7809e8af4df8d024a066106b72ca6bc7253a484ae3867041a96103ef8a13188d"
+checksum = "3f0d328648058085cfd6897c9ae4272884098a926f3a833cd50c8c73e6eccecd"
dependencies = [
"gio",
"glib",
@@ -824,9 +1046,9 @@ dependencies = [
[[package]]
name = "pango-sys"
-version = "0.19.0"
+version = "0.19.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f52ef6a881c19fbfe3b1484df5cad411acaaba29dbec843941c3110d19f340ea"
+checksum = "ff03da4fa086c0b244d4a4587d3e20622a3ecdb21daea9edf66597224c634ba0"
dependencies = [
"glib-sys",
"gobject-sys",
@@ -842,9 +1064,9 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"
[[package]]
name = "pin-project-lite"
-version = "0.2.13"
+version = "0.2.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58"
+checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b"
[[package]]
name = "pin-utils"
@@ -854,66 +1076,72 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
[[package]]
name = "pkg-config"
-version = "0.3.30"
+version = "0.3.32"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec"
+checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c"
[[package]]
-name = "proc-macro-crate"
-version = "3.1.0"
+name = "portable-atomic"
+version = "1.11.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483"
+
+[[package]]
+name = "portable-atomic-util"
+version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6d37c51ca738a55da99dc0c4a34860fd675453b8b36209178c2249bb13651284"
+checksum = "d8a2f0d8d040d7848a709caf78912debcc3f33ee4b3cac47d73d1e1069e83507"
dependencies = [
- "toml_edit 0.21.1",
+ "portable-atomic",
]
[[package]]
-name = "proc-macro-error"
-version = "1.0.4"
+name = "potential_utf"
+version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c"
+checksum = "e5a7c30837279ca13e7c867e9e40053bc68740f988cb07f7ca6df43cc734b585"
dependencies = [
- "proc-macro-error-attr",
- "proc-macro2",
- "quote",
- "syn 1.0.109",
- "version_check",
+ "zerovec",
]
[[package]]
-name = "proc-macro-error-attr"
-version = "1.0.4"
+name = "powerfmt"
+version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869"
+checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391"
+
+[[package]]
+name = "proc-macro-crate"
+version = "3.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "edce586971a4dfaa28950c6f18ed55e0406c1ab88bbce2c6f6293a7aaba73d35"
dependencies = [
- "proc-macro2",
- "quote",
- "version_check",
+ "toml_edit",
]
[[package]]
name = "proc-macro2"
-version = "1.0.78"
+version = "1.0.95"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae"
+checksum = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778"
dependencies = [
"unicode-ident",
]
[[package]]
name = "quote"
-version = "1.0.35"
+version = "1.0.40"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef"
+checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d"
dependencies = [
"proc-macro2",
]
[[package]]
name = "regex"
-version = "1.10.4"
+version = "1.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c117dbdfde9c8308975b6a18d71f3f385c89461f7b3fb054288ecf2a2058ba4c"
+checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191"
dependencies = [
"aho-corasick",
"memchr",
@@ -923,9 +1151,9 @@ dependencies = [
[[package]]
name = "regex-automata"
-version = "0.4.6"
+version = "0.4.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "86b83b8b9847f9bf95ef68afb0b8e6cdb80f498442f5179a29fad448fcc1eaea"
+checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908"
dependencies = [
"aho-corasick",
"memchr",
@@ -934,54 +1162,54 @@ dependencies = [
[[package]]
name = "regex-syntax"
-version = "0.8.2"
+version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f"
+checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
[[package]]
name = "ring"
-version = "0.17.8"
+version = "0.17.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d"
+checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7"
dependencies = [
"cc",
"cfg-if",
"getrandom",
"libc",
- "spin",
"untrusted",
- "windows-sys",
+ "windows-sys 0.52.0",
]
[[package]]
name = "rustc_version"
-version = "0.4.0"
+version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366"
+checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92"
dependencies = [
"semver",
]
[[package]]
name = "rustix"
-version = "0.38.31"
+version = "1.0.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6ea3e1a662af26cd7a3ba09c0297a31af215563ecf42817c98df621387f4e949"
+checksum = "11181fbabf243db407ef8df94a6ce0b2f9a733bd8be4ad02b4eda9602296cac8"
dependencies = [
"bitflags",
"errno",
"libc",
"linux-raw-sys",
- "windows-sys",
+ "windows-sys 0.60.2",
]
[[package]]
name = "rustls"
-version = "0.22.4"
+version = "0.23.29"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bf4ef73721ac7bcd79b2b315da7779d8fc09718c6b3d2d1b2d94850eb8c18432"
+checksum = "2491382039b29b9b11ff08b76ff6c97cf287671dbb74f0be44bda389fffe9bd1"
dependencies = [
"log",
+ "once_cell",
"ring",
"rustls-pki-types",
"rustls-webpki",
@@ -989,101 +1217,132 @@ dependencies = [
"zeroize",
]
+[[package]]
+name = "rustls-pemfile"
+version = "2.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "dce314e5fee3f39953d46bb63bb8a46d40c2f8fb7cc5a3b6cab2bde9721d6e50"
+dependencies = [
+ "rustls-pki-types",
+]
+
[[package]]
name = "rustls-pki-types"
-version = "1.3.1"
+version = "1.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5ede67b28608b4c60685c7d54122d4400d90f62b40caee7700e700380a390fa8"
+checksum = "229a4a4c221013e7e1f1a043678c5cc39fe5171437c88fb47151a21e6f5b5c79"
+dependencies = [
+ "zeroize",
+]
[[package]]
name = "rustls-webpki"
-version = "0.102.2"
+version = "0.103.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "faaa0a62740bedb9b2ef5afa303da42764c012f743917351dc9a237ea1663610"
+checksum = "0a17884ae0c1b773f1ccd2bd4a8c72f16da897310a98b0e84bf349ad5ead92fc"
dependencies = [
"ring",
"rustls-pki-types",
"untrusted",
]
+[[package]]
+name = "rustversion"
+version = "1.0.21"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8a0d197bd2c9dc6e53b84da9556a69ba4cdfab8619eb41a8bd1cc2027a0f6b1d"
+
[[package]]
name = "ryu"
-version = "1.0.17"
+version = "1.0.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e86697c916019a8588c99b5fac3cead74ec0b4b819707a682fd4d23fa0ce1ba1"
+checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f"
[[package]]
name = "semver"
-version = "1.0.22"
+version = "1.0.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "92d43fe69e652f3df9bdc2b85b2854a0825b86e4fb76bc44d945137d053639ca"
+checksum = "56e6fa9c48d24d85fb3de5ad847117517440f6beceb7798af16b4a87d616b8d0"
[[package]]
name = "serde"
-version = "1.0.200"
+version = "1.0.219"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ddc6f9cc94d67c0e21aaf7eda3a010fd3af78ebf6e096aa6e2e13c79749cce4f"
+checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
-version = "1.0.200"
+version = "1.0.219"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "856f046b9400cee3c8c94ed572ecdb752444c24528c035cd35882aad6f492bcb"
+checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.52",
+ "syn",
]
[[package]]
name = "serde_json"
-version = "1.0.116"
+version = "1.0.141"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3e17db7126d17feb94eb3fad46bf1a96b034e8aacbc2e775fe81505f8b0b2813"
+checksum = "30b9eff21ebe718216c6ec64e1d9ac57087aad11efc64e32002bce4a0d4c03d3"
dependencies = [
"itoa",
+ "memchr",
"ryu",
"serde",
]
[[package]]
name = "serde_spanned"
-version = "0.6.5"
+version = "0.6.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eb3622f419d1296904700073ea6cc23ad690adbd66f13ea683df73298736f0c1"
+checksum = "bf41e0cfaf7226dca15e8197172c295a782857fcb97fad1808a166870dee75a3"
dependencies = [
"serde",
]
[[package]]
-name = "slab"
-version = "0.4.9"
+name = "serde_spanned"
+version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67"
+checksum = "40734c41988f7306bb04f0ecf60ec0f3f1caa34290e4e8ea471dcd3346483b83"
dependencies = [
- "autocfg",
+ "serde",
]
+[[package]]
+name = "shlex"
+version = "1.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
+
+[[package]]
+name = "slab"
+version = "0.4.10"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "04dc19736151f35336d325007ac991178d504a119863a2fcb3758cdb5e52c50d"
+
[[package]]
name = "smallvec"
-version = "1.13.1"
+version = "1.15.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e6ecd384b10a64542d77071bd64bd7b231f4ed5940fba55e98c3de13824cf3d7"
+checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03"
[[package]]
-name = "spin"
-version = "0.9.8"
+name = "stable_deref_trait"
+version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67"
+checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
[[package]]
name = "subtle"
-version = "2.5.0"
+version = "2.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc"
+checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
[[package]]
name = "sudo"
@@ -1097,9 +1356,9 @@ dependencies = [
[[package]]
name = "syn"
-version = "1.0.109"
+version = "2.0.104"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
+checksum = "17b6f705963418cdb9927482fa304bc562ece2fdd4f616084c50b7023b435a40"
dependencies = [
"proc-macro2",
"quote",
@@ -1107,135 +1366,194 @@ dependencies = [
]
[[package]]
-name = "syn"
-version = "2.0.52"
+name = "synstructure"
+version = "0.13.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b699d15b36d1f02c3e7c69f8ffef53de37aefae075d8488d4ba1a7788d574a07"
+checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2"
dependencies = [
"proc-macro2",
"quote",
- "unicode-ident",
+ "syn",
]
[[package]]
name = "system-deps"
-version = "6.2.0"
+version = "6.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2a2d580ff6a20c55dfb86be5f9c238f67835d0e81cbdea8bf5680e0897320331"
+checksum = "a3e535eb8dded36d55ec13eddacd30dec501792ff23a0b1682c38601b8cf2349"
dependencies = [
"cfg-expr",
"heck",
"pkg-config",
- "toml",
+ "toml 0.8.23",
"version-compare",
]
[[package]]
name = "target-lexicon"
-version = "0.12.14"
+version = "0.12.16"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"
+
+[[package]]
+name = "thiserror"
+version = "1.0.69"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e1fc403891a21bcfb7c37834ba66a547a8f402146eba7265b5a6d88059c9ff2f"
+checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
+dependencies = [
+ "thiserror-impl 1.0.69",
+]
[[package]]
name = "thiserror"
-version = "1.0.59"
+version = "2.0.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f0126ad08bff79f29fc3ae6a55cc72352056dfff61e3ff8bb7129476d44b23aa"
+checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708"
dependencies = [
- "thiserror-impl",
+ "thiserror-impl 2.0.12",
]
[[package]]
name = "thiserror-impl"
-version = "1.0.59"
+version = "1.0.69"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d1cd413b5d558b4c5bf3680e324a6fa5014e7b7c067a51e69dbdf47eb7148b66"
+checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.52",
+ "syn",
]
[[package]]
-name = "tinyvec"
-version = "1.6.0"
+name = "thiserror-impl"
+version = "2.0.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50"
+checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d"
dependencies = [
- "tinyvec_macros",
+ "proc-macro2",
+ "quote",
+ "syn",
]
[[package]]
-name = "tinyvec_macros"
-version = "0.1.1"
+name = "time"
+version = "0.3.41"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
+checksum = "8a7619e19bc266e0f9c5e6686659d394bc57973859340060a69221e57dbc0c40"
+dependencies = [
+ "deranged",
+ "itoa",
+ "num-conv",
+ "powerfmt",
+ "serde",
+ "time-core",
+ "time-macros",
+]
+
+[[package]]
+name = "time-core"
+version = "0.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c9e9a38711f559d9e3ce1cdb06dd7c5b8ea546bc90052da6d06bb76da74bb07c"
+
+[[package]]
+name = "time-macros"
+version = "0.2.22"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3526739392ec93fd8b359c8e98514cb3e8e021beb4e5f597b00a0221f8ed8a49"
+dependencies = [
+ "num-conv",
+ "time-core",
+]
+
+[[package]]
+name = "tinystr"
+version = "0.8.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5d4f6d1145dcb577acf783d4e601bc1d76a13337bb54e6233add580b07344c8b"
+dependencies = [
+ "displaydoc",
+ "zerovec",
+]
[[package]]
name = "toml"
-version = "0.8.12"
+version = "0.8.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e9dd1545e8208b4a5af1aa9bbd0b4cf7e9ea08fabc5d0a5c67fcaafa17433aa3"
+checksum = "dc1beb996b9d83529a9e75c17a1686767d148d70663143c7854d8b4a09ced362"
dependencies = [
"serde",
- "serde_spanned",
- "toml_datetime",
- "toml_edit 0.22.9",
+ "serde_spanned 0.6.9",
+ "toml_datetime 0.6.11",
+ "toml_edit",
+]
+
+[[package]]
+name = "toml"
+version = "0.9.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ed0aee96c12fa71097902e0bb061a5e1ebd766a6636bb605ba401c45c1650eac"
+dependencies = [
+ "indexmap",
+ "serde",
+ "serde_spanned 1.0.0",
+ "toml_datetime 0.7.0",
+ "toml_parser",
+ "toml_writer",
+ "winnow",
]
[[package]]
name = "toml_datetime"
-version = "0.6.5"
+version = "0.6.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1"
+checksum = "22cddaf88f4fbc13c51aebbf5f8eceb5c7c5a9da2ac40a13519eb5b0a0e8f11c"
dependencies = [
"serde",
]
[[package]]
-name = "toml_edit"
-version = "0.21.1"
+name = "toml_datetime"
+version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1"
+checksum = "bade1c3e902f58d73d3f294cd7f20391c1cb2fbcb643b73566bc773971df91e3"
dependencies = [
- "indexmap",
- "toml_datetime",
- "winnow 0.5.40",
+ "serde",
]
[[package]]
name = "toml_edit"
-version = "0.22.9"
+version = "0.22.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8e40bb779c5187258fd7aad0eb68cb8706a0a81fa712fbea808ab43c4b8374c4"
+checksum = "41fe8c660ae4257887cf66394862d21dbca4a6ddd26f04a3560410406a2f819a"
dependencies = [
"indexmap",
"serde",
- "serde_spanned",
- "toml_datetime",
- "winnow 0.6.5",
+ "serde_spanned 0.6.9",
+ "toml_datetime 0.6.11",
+ "winnow",
]
[[package]]
-name = "unicode-bidi"
-version = "0.3.15"
+name = "toml_parser"
+version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75"
+checksum = "97200572db069e74c512a14117b296ba0a80a30123fbbb5aa1f4a348f639ca30"
+dependencies = [
+ "winnow",
+]
[[package]]
-name = "unicode-ident"
-version = "1.0.12"
+name = "toml_writer"
+version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
+checksum = "fcc842091f2def52017664b53082ecbbeb5c7731092bad69d2c63050401dfd64"
[[package]]
-name = "unicode-normalization"
-version = "0.1.23"
+name = "unicode-ident"
+version = "1.0.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a56d1686db2308d901306f92a263857ef59ea39678a5458e7cb17f01415101f5"
-dependencies = [
- "tinyvec",
-]
+checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512"
[[package]]
name = "untrusted"
@@ -1245,88 +1563,115 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
[[package]]
name = "ureq"
-version = "2.9.7"
+version = "3.0.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d11a831e3c0b56e438a28308e7c810799e3c118417f342d30ecec080105395cd"
+checksum = "9f0fde9bc91026e381155f8c67cb354bcd35260b2f4a29bcc84639f762760c39"
dependencies = [
"base64",
+ "cookie_store",
"flate2",
"log",
- "once_cell",
+ "percent-encoding",
"rustls",
+ "rustls-pemfile",
"rustls-pki-types",
- "rustls-webpki",
"serde",
"serde_json",
- "url",
- "webpki-roots",
+ "ureq-proto",
+ "utf-8",
+ "webpki-roots 0.26.11",
+]
+
+[[package]]
+name = "ureq-proto"
+version = "0.4.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "59db78ad1923f2b1be62b6da81fe80b173605ca0d57f85da2e005382adf693f7"
+dependencies = [
+ "base64",
+ "http",
+ "httparse",
+ "log",
]
[[package]]
name = "url"
-version = "2.5.0"
+version = "2.5.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633"
+checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60"
dependencies = [
"form_urlencoded",
"idna",
"percent-encoding",
]
+[[package]]
+name = "utf-8"
+version = "0.7.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9"
+
+[[package]]
+name = "utf8_iter"
+version = "1.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
+
[[package]]
name = "utf8parse"
-version = "0.2.1"
+version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a"
+checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
[[package]]
name = "version-compare"
-version = "0.1.1"
+version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "579a42fc0b8e0c63b76519a339be31bed574929511fa53c1a3acae26eb258f29"
+checksum = "852e951cb7832cb45cb1169900d19760cfa39b82bc0ea9c0e5a14ae88411c98b"
[[package]]
name = "version_check"
-version = "0.9.4"
+version = "0.9.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
+checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
[[package]]
name = "wasi"
-version = "0.11.0+wasi-snapshot-preview1"
+version = "0.11.1+wasi-snapshot-preview1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
+checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
[[package]]
name = "wasm-bindgen"
-version = "0.2.92"
+version = "0.2.100"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4be2531df63900aeb2bca0daaaddec08491ee64ceecbee5076636a3b026795a8"
+checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5"
dependencies = [
"cfg-if",
+ "once_cell",
+ "rustversion",
"wasm-bindgen-macro",
]
[[package]]
name = "wasm-bindgen-backend"
-version = "0.2.92"
+version = "0.2.100"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "614d787b966d3989fa7bb98a654e369c762374fd3213d212cfc0251257e747da"
+checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6"
dependencies = [
"bumpalo",
"log",
- "once_cell",
"proc-macro2",
"quote",
- "syn 2.0.52",
+ "syn",
"wasm-bindgen-shared",
]
[[package]]
name = "wasm-bindgen-macro"
-version = "0.2.92"
+version = "0.2.100"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a1f8823de937b71b9460c0c34e25f3da88250760bec0ebac694b49997550d726"
+checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407"
dependencies = [
"quote",
"wasm-bindgen-macro-support",
@@ -1334,51 +1679,112 @@ dependencies = [
[[package]]
name = "wasm-bindgen-macro-support"
-version = "0.2.92"
+version = "0.2.100"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7"
+checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.52",
+ "syn",
"wasm-bindgen-backend",
"wasm-bindgen-shared",
]
[[package]]
name = "wasm-bindgen-shared"
-version = "0.2.92"
+version = "0.2.100"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96"
+checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d"
+dependencies = [
+ "unicode-ident",
+]
[[package]]
name = "webpki-roots"
-version = "0.26.1"
+version = "0.26.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b3de34ae270483955a94f4b21bdaaeb83d508bb84a01435f393818edb0012009"
+checksum = "521bc38abb08001b01866da9f51eb7c5d647a19260e00054a8c7fd5f9e57f7a9"
+dependencies = [
+ "webpki-roots 1.0.2",
+]
+
+[[package]]
+name = "webpki-roots"
+version = "1.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7e8983c3ab33d6fb807cfcdad2491c4ea8cbc8ed839181c7dfd9c67c83e261b2"
dependencies = [
"rustls-pki-types",
]
[[package]]
name = "which"
-version = "6.0.1"
+version = "8.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8211e4f58a2b2805adfbefbc07bab82958fc91e3836339b1ab7ae32465dce0d7"
+checksum = "d3fabb953106c3c8eea8306e4393700d7657561cb43122571b172bbfb7c7ba1d"
dependencies = [
- "either",
- "home",
+ "env_home",
"rustix",
"winsafe",
]
[[package]]
name = "windows-core"
-version = "0.52.0"
+version = "0.61.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c0fdd3ddb90610c7638aa2b3a3ab2904fb9e5cdbecc643ddb3647212781c4ae3"
+dependencies = [
+ "windows-implement",
+ "windows-interface",
+ "windows-link",
+ "windows-result",
+ "windows-strings",
+]
+
+[[package]]
+name = "windows-implement"
+version = "0.60.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a47fddd13af08290e67f4acabf4b459f647552718f683a7b415d290ac744a836"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "windows-interface"
+version = "0.59.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9"
+checksum = "bd9211b69f8dcdfa817bfd14bf1c97c9188afa36f4750130fcdf3f400eca9fa8"
dependencies = [
- "windows-targets",
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "windows-link"
+version = "0.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a"
+
+[[package]]
+name = "windows-result"
+version = "0.3.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "56f42bd332cc6c8eac5af113fc0c1fd6a8fd2aa08a0119358686e5160d0586c6"
+dependencies = [
+ "windows-link",
+]
+
+[[package]]
+name = "windows-strings"
+version = "0.4.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "56e6c93f3a0c3b36176cb1327a4958a0353d5d166c2a35cb268ace15e91d3b57"
+dependencies = [
+ "windows-link",
]
[[package]]
@@ -1387,80 +1793,160 @@ version = "0.52.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
dependencies = [
- "windows-targets",
+ "windows-targets 0.52.6",
+]
+
+[[package]]
+name = "windows-sys"
+version = "0.59.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
+dependencies = [
+ "windows-targets 0.52.6",
+]
+
+[[package]]
+name = "windows-sys"
+version = "0.60.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb"
+dependencies = [
+ "windows-targets 0.53.2",
]
[[package]]
name = "windows-targets"
-version = "0.52.4"
+version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7dd37b7e5ab9018759f893a1952c9420d060016fc19a472b4bb20d1bdd694d1b"
+checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
dependencies = [
- "windows_aarch64_gnullvm",
- "windows_aarch64_msvc",
- "windows_i686_gnu",
- "windows_i686_msvc",
- "windows_x86_64_gnu",
- "windows_x86_64_gnullvm",
- "windows_x86_64_msvc",
+ "windows_aarch64_gnullvm 0.52.6",
+ "windows_aarch64_msvc 0.52.6",
+ "windows_i686_gnu 0.52.6",
+ "windows_i686_gnullvm 0.52.6",
+ "windows_i686_msvc 0.52.6",
+ "windows_x86_64_gnu 0.52.6",
+ "windows_x86_64_gnullvm 0.52.6",
+ "windows_x86_64_msvc 0.52.6",
+]
+
+[[package]]
+name = "windows-targets"
+version = "0.53.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c66f69fcc9ce11da9966ddb31a40968cad001c5bedeb5c2b82ede4253ab48aef"
+dependencies = [
+ "windows_aarch64_gnullvm 0.53.0",
+ "windows_aarch64_msvc 0.53.0",
+ "windows_i686_gnu 0.53.0",
+ "windows_i686_gnullvm 0.53.0",
+ "windows_i686_msvc 0.53.0",
+ "windows_x86_64_gnu 0.53.0",
+ "windows_x86_64_gnullvm 0.53.0",
+ "windows_x86_64_msvc 0.53.0",
]
[[package]]
name = "windows_aarch64_gnullvm"
-version = "0.52.4"
+version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bcf46cf4c365c6f2d1cc93ce535f2c8b244591df96ceee75d8e83deb70a9cac9"
+checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
+
+[[package]]
+name = "windows_aarch64_gnullvm"
+version = "0.53.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764"
[[package]]
name = "windows_aarch64_msvc"
-version = "0.52.4"
+version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "da9f259dd3bcf6990b55bffd094c4f7235817ba4ceebde8e6d11cd0c5633b675"
+checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
+
+[[package]]
+name = "windows_aarch64_msvc"
+version = "0.53.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c"
[[package]]
name = "windows_i686_gnu"
-version = "0.52.4"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
+
+[[package]]
+name = "windows_i686_gnu"
+version = "0.53.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c1dc67659d35f387f5f6c479dc4e28f1d4bb90ddd1a5d3da2e5d97b42d6272c3"
+
+[[package]]
+name = "windows_i686_gnullvm"
+version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b474d8268f99e0995f25b9f095bc7434632601028cf86590aea5c8a5cb7801d3"
+checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
+
+[[package]]
+name = "windows_i686_gnullvm"
+version = "0.53.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11"
+
+[[package]]
+name = "windows_i686_msvc"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
[[package]]
name = "windows_i686_msvc"
-version = "0.52.4"
+version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1515e9a29e5bed743cb4415a9ecf5dfca648ce85ee42e15873c3cd8610ff8e02"
+checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d"
[[package]]
name = "windows_x86_64_gnu"
-version = "0.52.4"
+version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5eee091590e89cc02ad514ffe3ead9eb6b660aedca2183455434b93546371a03"
+checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
+
+[[package]]
+name = "windows_x86_64_gnu"
+version = "0.53.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba"
[[package]]
name = "windows_x86_64_gnullvm"
-version = "0.52.4"
+version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "77ca79f2451b49fa9e2af39f0747fe999fcda4f5e241b2898624dca97a1f2177"
+checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
+
+[[package]]
+name = "windows_x86_64_gnullvm"
+version = "0.53.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57"
[[package]]
name = "windows_x86_64_msvc"
-version = "0.52.4"
+version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "32b752e52a2da0ddfbdbcc6fceadfeede4c939ed16d13e648833a61dfb611ed8"
+checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
[[package]]
-name = "winnow"
-version = "0.5.40"
+name = "windows_x86_64_msvc"
+version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f593a95398737aeed53e489c785df13f3618e41dbcd6718c6addbf1395aa6876"
-dependencies = [
- "memchr",
-]
+checksum = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486"
[[package]]
name = "winnow"
-version = "0.6.5"
+version = "0.7.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dffa400e67ed5a4dd237983829e66475f0a4a26938c4b04c21baede6262215b8"
+checksum = "f3edebf492c8125044983378ecb5766203ad3b4c2f7a922bd7dd207f6d443e95"
dependencies = [
"memchr",
]
@@ -1471,8 +1957,92 @@ version = "0.0.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d135d17ab770252ad95e9a872d365cf3090e3be864a34ab46f48555993efc904"
+[[package]]
+name = "writeable"
+version = "0.6.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ea2f10b9bb0928dfb1b42b65e1f9e36f7f54dbdf08457afefb38afcdec4fa2bb"
+
+[[package]]
+name = "yoke"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5f41bb01b8226ef4bfd589436a297c53d118f65921786300e427be8d487695cc"
+dependencies = [
+ "serde",
+ "stable_deref_trait",
+ "yoke-derive",
+ "zerofrom",
+]
+
+[[package]]
+name = "yoke-derive"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "38da3c9736e16c5d3c8c597a9aaa5d1fa565d0532ae05e27c24aa62fb32c0ab6"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+ "synstructure",
+]
+
+[[package]]
+name = "zerofrom"
+version = "0.1.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "50cc42e0333e05660c3587f3bf9d0478688e15d870fab3346451ce7f8c9fbea5"
+dependencies = [
+ "zerofrom-derive",
+]
+
+[[package]]
+name = "zerofrom-derive"
+version = "0.1.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+ "synstructure",
+]
+
[[package]]
name = "zeroize"
-version = "1.7.0"
+version = "1.8.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde"
+
+[[package]]
+name = "zerotrie"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "36f0bbd478583f79edad978b407914f61b2972f5af6fa089686016be8f9af595"
+dependencies = [
+ "displaydoc",
+ "yoke",
+ "zerofrom",
+]
+
+[[package]]
+name = "zerovec"
+version = "0.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d"
+checksum = "4a05eb080e015ba39cc9e23bbe5e7fb04d5fb040350f99f34e338d5fdd294428"
+dependencies = [
+ "yoke",
+ "zerofrom",
+ "zerovec-derive",
+]
+
+[[package]]
+name = "zerovec-derive"
+version = "0.11.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5b96237efa0c878c64bd89c436f661be4e46b2f3eff1ebb976f7ef2321d2f58f"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
diff --git a/Cargo.toml b/Cargo.toml
index 2d646db..51a16d2 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "airgorah"
-version = "0.7.3"
-edition = "2021"
+version = "0.7.4"
+edition = "2024"
license = "MIT"
description = "A WiFi security auditing software mainly based on aircrack-ng tools suite"
authors = ["Martin Olivier <[email protected]>"]
@@ -16,19 +16,19 @@ exclude = ["/.github", "/.fpm", "/Dockerfile"]
gtk4 = { version = "0.8", features = ["v4_6"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
-toml = "0.8"
+toml = "0.9"
csv = "1.3"
-which = "6"
+which = "8"
sudo = "0.6"
ctrlc = "3.4"
regex = "1.10"
chrono = "0.4"
lazy_static = "1"
-nix = { version = "0.28", features = ["signal"] }
-ureq = { version = "2.9", features = ["json"] }
+nix = { version = "0.30", features = ["signal"] }
+ureq = { version = "3", features = ["json"] }
log = "0.4"
env_logger = "0.11"
-thiserror = "1"
+thiserror = "2"
[build-dependencies]
serde = { version = "1", features = ["derive"] }
diff --git a/Dockerfile b/Dockerfile
index edaec99..a5c579c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM rust:1.75.0-slim-bookworm
+FROM rust:1.88.0-slim-bookworm
# Fetch package list
RUN apt update
@@ -20,12 +20,12 @@ RUN rustup component add rustfmt
WORKDIR /workspace
-ENV DEBIAN_DEPS="--depends policykit-1 --depends libgtk-4-1 --depends dbus-x11 --depends wireshark-common --depends iproute2 --depends mdk4 --depends crunch"
-ENV REDHAT_DEPS="--depends polkit --depends gtk4-devel --depends dbus-x11 --depends wireshark-cli --depends iproute"
-ENV ARCHLINUX_DEPS="--depends polkit --depends gtk4 --depends dbus --depends wireshark-cli --depends iproute2 --depends mdk4"
+ENV DEBIAN_DEPS="--depends libgtk-4-1 --depends dbus-x11 --depends wireshark-common --depends iproute2 --depends mdk4 --depends crunch"
+ENV REDHAT_DEPS="--depends gtk4-devel --depends dbus-x11 --depends wireshark-cli --depends iproute"
+ENV ARCHLINUX_DEPS="--depends gtk4 --depends dbus --depends wireshark-cli --depends iproute2 --depends mdk4"
# Build and package the project
-CMD cargo build --release && \
+CMD cargo build && \
fpm -f -t deb -p airgorah_`arch`.deb -a native $DEBIAN_DEPS && \
fpm -f -t rpm -p airgorah_`arch`.rpm -a native $REDHAT_DEPS && \
fpm -f -t pacman -p airgorah_`arch`.pkg.tar.zst -a native $ARCHLINUX_DEPS
diff --git a/LICENSE b/LICENSE
index bc849df..f601f43 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
MIT License
-Copyright (c) 2024 Martin Olivier
+Copyright (c) 2025 Martin Olivier
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/build.rs b/build.rs
index 719def7..f121d3d 100644
--- a/build.rs
+++ b/build.rs
@@ -11,19 +11,15 @@ struct RawVendors {
}
fn main() {
- // Path to your CSV file
let csv_path = "package/vendors.csv";
- // Read CSV file and generate Rust source file
let file_content = std::fs::read_to_string(csv_path).expect("Unable to read CSV file");
let parsed_data = parse_csv(&file_content);
- // Write Rust source file
let out_dir = std::env::var("OUT_DIR").unwrap();
let dest_path = std::path::Path::new(&out_dir).join("vendors.rs");
let mut file = File::create(dest_path).expect("Unable to create output file");
- // Write HashMap initialization code to the generated Rust file
write!(
&mut file,
"
@@ -32,17 +28,15 @@ use lazy_static::lazy_static;
lazy_static! {{
pub static ref VENDORS: HashMap<&'static str, &'static str> = {{
let mut map = HashMap::new();
- {}
+{parsed_data}
map
}};
-}}",
- parsed_data
+}}"
)
.expect("Unable to write to output file");
- // Print information for Cargo to re-run the build script if the CSV file changes
- println!("cargo:rerun-if-changed={}", csv_path);
+ println!("cargo:rerun-if-changed={csv_path}");
}
fn parse_csv(csv_content: &str) -> String {
@@ -50,7 +44,7 @@ fn parse_csv(csv_content: &str) -> String {
let mut rdr = csv::ReaderBuilder::new().from_reader(csv_content.as_bytes());
for result in rdr.deserialize::<RawVendors>().flatten() {
code.push_str(&format!(
- "map.insert(\"{}\", r#\"{}\"#);\n",
+ " map.insert(\"{}\", r#\"{}\"#);\n",
result.mac_prefix, result.vendor_name
));
}
diff --git a/package/.desktop b/package/.desktop
index 7b49a3d..519b3aa 100644
--- a/package/.desktop
+++ b/package/.desktop
@@ -1,6 +1,6 @@
[Desktop Entry]
Name=Airgorah
-Comment=A WiFi auditing software that can perform deauth attacks and passwords cracking
+Comment=A WiFi security auditing software mainly based on aircrack-ng tools suite
Exec=pkexec airgorah
Icon=/usr/share/pixmaps/airgorah.png
ApplicationId=com.molivier.airgorah
diff --git a/src/backend/app.rs b/src/backend/app.rs
index e6d21cd..bfad809 100755
--- a/src/backend/app.rs
+++ b/src/backend/app.rs
@@ -77,12 +77,12 @@ pub fn check_required_dependencies(deps: &[&str]) -> Result<(), AppError> {
pub fn check_update(current_version: &str) -> Option<String> {
let url = "https://api.github.com/repos/martin-olivier/airgorah/releases/latest";
- if let Ok(response) = ureq::get(url).call() {
- if let Ok(json) = response.into_json::<serde_json::Value>() {
+ if let Ok(mut response) = ureq::get(url).call() {
+ if let Ok(json) = response.body_mut().read_json::<serde_json::Value>() {
if json["tag_name"] != current_version {
let new_version = json["tag_name"].as_str().unwrap_or("unknown").to_owned();
- log::info!("a new version is available: \"{}\"", new_version);
+ log::info!("a new version is available: \"{new_version}\"");
return Some(new_version);
}
diff --git a/src/backend/capture.rs b/src/backend/capture.rs
index 9cb8c4b..8f6f65f 100755
--- a/src/backend/capture.rs
+++ b/src/backend/capture.rs
@@ -87,7 +87,7 @@ where
pub fn save_capture(path: &str) -> Result<(), CapError> {
std::fs::copy(get_old_scan_path() + get_cap_ext(), path)?;
- log::info!("capture saved to '{}'", path);
+ log::info!("capture saved to '{path}'");
Ok(())
}
@@ -110,7 +110,7 @@ pub fn save_report(path: &str) -> Result<(), CapError> {
let mut file = File::create(path)?;
file.write_all(json_data.as_bytes())?;
- log::info!("report saved to '{}'", path);
+ log::info!("report saved to '{path}'");
Ok(())
}
diff --git a/src/backend/decrypt.rs b/src/backend/decrypt.rs
index ee9f39f..0e998c4 100755
--- a/src/backend/decrypt.rs
+++ b/src/backend/decrypt.rs
@@ -18,7 +18,7 @@ pub fn run_decrypt_wordlist_process(
essid: &str,
wordlist: &str,
) -> Result<(), DecryptError> {
- let title = format!("Handshake Decryption ({})", essid);
+ let title = format!("Handshake Decryption ({essid})");
Command::new("xterm")
.stdin(Stdio::null())
@@ -68,11 +68,8 @@ pub fn run_decrypt_bruteforce_process(
false => "",
},
);
- let title = format!("Handshake Decryption ({})", essid);
- let cmd = format!(
- "crunch 8 64 '{}' | aircrack-ng -w - -b '{}' '{}'",
- charset, bssid, handshake
- );
+ let title = format!("Handshake Decryption ({essid})");
+ let cmd = format!("crunch 8 64 '{charset}' | aircrack-ng -w - -b '{bssid}' '{handshake}'");
Command::new("xterm")
.stdin(Stdio::null())
diff --git a/src/backend/interface.rs b/src/backend/interface.rs
index a2d46e1..a6dee51 100644
--- a/src/backend/interface.rs
+++ b/src/backend/interface.rs
@@ -55,7 +55,7 @@ pub fn get_interfaces() -> Result<Vec<String>, IfaceError> {
/// Check if an interface supports 5GHz
pub fn is_5ghz_supported(iface: &str) -> Result<bool, IfaceError> {
- let phy_path = format!("/sys/class/net/{}/phy80211", iface);
+ let phy_path = format!("/sys/class/net/{iface}/phy80211");
let phy_link = std::fs::read_link(phy_path)?;
@@ -173,7 +173,7 @@ pub fn enable_monitor_mode(iface: &str) -> Result<String, IfaceError> {
));
}
- log::info!("{}: monitor mode enabled", iface);
+ log::info!("{iface}: monitor mode enabled");
if let Ok(true) = is_monitor_mode(iface) {
return Ok(iface.to_string());
@@ -226,7 +226,7 @@ pub fn disable_monitor_mode(iface: &str) -> Result<(), IfaceError> {
let disable_monitor_cmd = Command::new("airmon-ng").args(["stop", iface]).output()?;
- log::info!("{}: monitor mode disabled", iface);
+ log::info!("{iface}: monitor mode disabled");
match disable_monitor_cmd.status.success() {
true => Ok(()),
@@ -293,7 +293,7 @@ pub fn kill_network_manager() -> Result<(), IfaceError> {
.unwrap()
.push(service.to_string());
- log::warn!("killed '{}'", service);
+ log::warn!("killed '{service}'");
}
}
@@ -317,7 +317,7 @@ pub fn restore_network_manager() -> Result<(), IfaceError> {
.args(["start", &service])
.output()?;
- log::warn!("restored '{}'", service);
+ log::warn!("restored '{service}'");
}
Ok(())
diff --git a/src/backend/scan.rs b/src/backend/scan.rs
index e1cc561..3f36fc7 100644
--- a/src/backend/scan.rs
+++ b/src/backend/scan.rs
@@ -9,7 +9,7 @@ use crate::types::*;
use serde::Deserialize;
-use nix::sys::signal::{kill, Signal};
+use nix::sys::signal::{Signal, kill};
use nix::unistd::Pid;
/// Represents the AP section of the csv file generated by airodump
@@ -179,10 +179,7 @@ pub fn set_scan_process(
SCAN_PROC.lock().unwrap().replace(child);
log::info!(
- "scan started: 2.4ghz: {}, 5ghz: {}, channel filter: {:?}",
- ghz_2_4,
- ghz_5,
- channel_filter
+ "scan started: 2.4ghz: {ghz_2_4}, 5ghz: {ghz_5}, channel filter: {channel_filter:?}"
);
Ok(())
@@ -195,7 +192,7 @@ pub fn stop_scan_process() -> Result<(), ScanError> {
kill(child_pid, Signal::SIGTERM)?;
- log::info!("scan stopped, sent SIGTERM to pid {}", child_pid);
+ log::info!("scan stopped, sent SIGTERM to pid {child_pid}");
child.wait()?;
}
@@ -248,7 +245,7 @@ pub fn get_airodump_data() -> HashMap<String, AP> {
let mut aps: HashMap<String, AP> = HashMap::new();
for attacked_ap in get_attack_pool().iter() {
- aps.insert(attacked_ap.0.clone(), attacked_ap.1 .0.clone());
+ aps.insert(attacked_ap.0.clone(), attacked_ap.1.0.clone());
}
let mut glob_aps = get_aps();
diff --git a/src/backend/settings.rs b/src/backend/settings.rs
index 7359f20..e40853c 100644
--- a/src/backend/settings.rs
+++ b/src/backend/settings.rs
@@ -13,7 +13,7 @@ pub fn load_settings() {
settings.kill_network_manager = false;
}
- log::debug!("settings loaded from '{}'", CONFIG_PATH);
+ log::debug!("settings loaded from '{CONFIG_PATH}'");
*SETTINGS.lock().unwrap() = settings;
}
@@ -29,7 +29,7 @@ pub fn save_settings(mut settings: Settings) {
if let Ok(toml_settings) = toml::to_string(&settings) {
std::fs::write(CONFIG_PATH, toml_settings).ok();
- log::debug!("settings saved into '{}'", CONFIG_PATH);
+ log::debug!("settings saved into '{CONFIG_PATH}'");
}
}
*SETTINGS.lock().unwrap() = settings;
diff --git a/src/frontend/connections/app.rs b/src/frontend/connections/app.rs
index c188bc1..a4de749 100755
--- a/src/frontend/connections/app.rs
+++ b/src/frontend/connections/app.rs
@@ -5,8 +5,8 @@ use crate::globals;
use crate::list_store_get;
use crate::types::*;
-use glib::clone;
use glib::ControlFlow;
+use glib::clone;
use gtk4::gdk_pixbuf::Pixbuf;
use gtk4::prelude::*;
use gtk4::*;
@@ -33,19 +33,37 @@ fn list_store_find(storage: &ListStore, pos: i32, to_match: &str) -> Option<Tree
None
}
+fn get_channel_entries(entry: &Entry) -> Vec<i32> {
+ let entry_text = String::from(entry.text().as_str());
+
+ if entry_text.is_empty() {
+ return Vec::new();
+ }
+
+ let channels: Vec<i32> = entry_text
+ .split(',')
+ .map(|num| num.parse::<i32>().unwrap())
+ .collect();
+
+ channels
+}
+
fn connect_window_controller(app_data: Rc<AppData>) {
let controller = gtk4::EventControllerKey::new();
controller.connect_key_pressed(clone!(@strong app_data => move |_, key, _, _| {
if key == gdk::Key::Escape {
- update_buttons_sensitivity(&app_data);
-
app_data.app_gui.cli_view.selection().unselect_all();
if app_data.app_gui.aps_view.selection().selected().is_some() {
app_data.app_gui.aps_view.selection().unselect_all();
app_data.app_gui.cli_model.clear();
}
+
+ app_data.app_gui.client_status_bar.pop(0);
+ app_data.app_gui.client_status_bar.push(0, "Showing unassociated clients");
+
+ update_buttons_sensitivity(&app_data);
}
glib::Propagation::Proceed
@@ -183,8 +201,8 @@ fn connect_about_button(app_data: Rc<AppData>) {
.app_gui
.about_button
.connect_clicked(clone!(@strong app_data => move |_| {
- let ico = Pixbuf::from_read(BufReader::new(globals::APP_ICON)).unwrap();
- let des = "A WiFi auditing software that can perform deauth attacks and passwords cracking";
+ let icon = Pixbuf::from_read(BufReader::new(globals::APP_ICON)).unwrap();
+ let desc = "A WiFi security auditing software mainly based on aircrack-ng tools suite";
AboutDialog::builder()
.program_name("Airgorah")
@@ -192,8 +210,8 @@ fn connect_about_button(app_data: Rc<AppData>) {
.authors(vec!["Martin OLIVIER ([email protected])".to_string()])
.copyright("Copyright (c) Martin OLIVIER")
.license_type(License::MitX11)
- .logo(&Picture::for_pixbuf(&ico).paintable().unwrap())
- .comments(des)
+ .logo(&Picture::for_pixbuf(&icon).paintable().unwrap())
+ .comments(desc)
.website_label("https://github.com/martin-olivier/airgorah")
.transient_for(&app_data.app_gui.window)
.modal(true)
@@ -245,7 +263,7 @@ fn connect_hopping_button(app_data: Rc<AppData>) {
app_data.app_gui.channel_filter_entry.set_text("");
this.set_sensitive(false);
- app_data.app_gui.focus_but.set_sensitive(true);
+ update_buttons_sensitivity(&app_data);
}));
}
@@ -264,11 +282,49 @@ fn connect_focus_button(app_data: Rc<AppData>) {
}));
}
+fn connect_add_button(app_data: Rc<AppData>) {
+ app_data
+ .app_gui
+ .add_but
+ .connect_clicked(clone!(@strong app_data => move |this| {
+ if let Some((_, iter)) = app_data.app_gui.aps_view.selection().selected() {
+ let channel = list_store_get!(app_data.app_gui.aps_model, &iter, 3, i32);
+ let entry = app_data.app_gui.channel_filter_entry.text();
+ let ghz_2_4_but = app_data.app_gui.ghz_2_4_but.is_active();
+ let ghz_5_but = app_data.app_gui.ghz_5_but.is_active();
+
+ if !backend::is_valid_channel_filter(&entry, ghz_2_4_but, ghz_5_but) {
+ return;
+ }
+
+ let entries = get_channel_entries(&app_data.app_gui.channel_filter_entry);
+
+ if entries.contains(&channel) {
+ return;
+ }
+
+ let extend = match !entries.is_empty() {
+ true => format!(",{channel}"),
+ false => format!("{channel}")
+ };
+
+ if !backend::is_valid_channel_filter(&format!("{entry}{extend}"), ghz_2_4_but, ghz_5_but) {
+ return;
+ }
+
+ app_data.app_gui.channel_filter_entry.set_text(&format!("{entry}{extend}"));
+ app_data.app_gui.hopping_but.set_sensitive(true);
+ this.set_sensitive(false);
+ }
+ }));
+}
+
pub fn update_buttons_sensitivity(app_data: &Rc<AppData>) {
let iter = match app_data.app_gui.aps_view.selection().selected() {
Some((_, iter)) => iter,
None => {
app_data.app_gui.focus_but.set_sensitive(false);
+ app_data.app_gui.add_but.set_sensitive(false);
app_data.app_gui.deauth_but.set_sensitive(false);
app_data.app_gui.capture_but.set_sensitive(false);
@@ -291,17 +347,47 @@ pub fn update_buttons_sensitivity(app_data: &Rc<AppData>) {
};
let channel = list_store_get!(app_data.app_gui.aps_model, &iter, 3, i32);
+ let entry = app_data.app_gui.channel_filter_entry.text();
+ let ghz_2_4_but = app_data.app_gui.ghz_2_4_but.is_active();
+ let ghz_5_but = app_data.app_gui.ghz_5_but.is_active();
+
match channel
- == app_data
+ != app_data
.app_gui
.channel_filter_entry
.text()
.parse::<i32>()
.unwrap_or(-1)
+ && backend::is_valid_channel_filter(&format!("{channel}"), ghz_2_4_but, ghz_5_but)
{
- true => app_data.app_gui.focus_but.set_sensitive(false),
- false => app_data.app_gui.focus_but.set_sensitive(true),
+ true => app_data.app_gui.focus_but.set_sensitive(true),
+ false => app_data.app_gui.focus_but.set_sensitive(false),
+ }
+
+ match backend::is_valid_channel_filter(&entry, ghz_2_4_but, ghz_5_but) {
+ true => {
+ let entries = get_channel_entries(&app_data.app_gui.channel_filter_entry);
+ match entries.contains(&channel) {
+ true => app_data.app_gui.add_but.set_sensitive(false),
+ false => {
+ let extand = match !entries.is_empty() {
+ true => format!(",{channel}"),
+ false => format!("{channel}"),
+ };
+ match backend::is_valid_channel_filter(
+ &format!("{entry}{extand}"),
+ ghz_2_4_but,
+ ghz_5_but,
+ ) {
+ true => app_data.app_gui.add_but.set_sensitive(true),
+ false => app_data.app_gui.add_but.set_sensitive(false),
+ }
+ }
+ }
+ }
+ false => app_data.app_gui.add_but.set_sensitive(false),
}
+
app_data.app_gui.deauth_but.set_sensitive(true);
let prev_iter = iter;
@@ -349,6 +435,10 @@ fn connect_previous_button(app_data: Rc<AppData>) {
app_data.app_gui.aps_view.scroll_to_cell(Some(&path), None, false, 0.0, 0.0);
app_data.app_gui.cli_model.clear();
+ let essid = list_store_get!(app_data.app_gui.aps_model, &prev_iter, 0, String);
+ app_data.app_gui.client_status_bar.pop(0);
+ app_data.app_gui.client_status_bar.push(0, &format!("Showing '{essid}' clients"));
+
update_buttons_sensitivity(&app_data);
}));
}
@@ -373,6 +463,10 @@ fn connect_next_button(app_data: Rc<AppData>) {
app_data.app_gui.aps_view.scroll_to_cell(Some(&path), None, false, 0.0, 0.0);
app_data.app_gui.cli_model.clear();
+ let essid = list_store_get!(app_data.app_gui.aps_model, &next_iter, 0, String);
+ app_data.app_gui.client_status_bar.pop(0);
+ app_data.app_gui.client_status_bar.push(0, &format!("Showing '{essid}' clients"));
+
update_buttons_sensitivity(&app_data);
}));
}
@@ -392,6 +486,10 @@ fn connect_top_button(app_data: Rc<AppData>) {
app_data.app_gui.aps_view.scroll_to_cell(Some(&path), None, false, 0.0, 0.0);
app_data.app_gui.cli_model.clear();
+ let essid = list_store_get!(app_data.app_gui.aps_model, &first_iter, 0, String);
+ app_data.app_gui.client_status_bar.pop(0);
+ app_data.app_gui.client_status_bar.push(0, &format!("Showing '{essid}' clients"));
+
update_buttons_sensitivity(&app_data);
}));
}
@@ -417,6 +515,10 @@ fn connect_bottom_button(app_data: Rc<AppData>) {
app_data.app_gui.aps_view.scroll_to_cell(Some(&path), None, false, 0.0, 0.0);
app_data.app_gui.cli_model.clear();
+ let essid = list_store_get!(app_data.app_gui.aps_model, &last_iter, 0, String);
+ app_data.app_gui.client_status_bar.pop(0);
+ app_data.app_gui.client_status_bar.push(0, &format!("Showing '{essid}' clients"));
+
update_buttons_sensitivity(&app_data);
}));
}
@@ -592,18 +694,22 @@ fn start_app_refresh(app_data: Rc<AppData>) {
}
fn start_handshake_refresh() {
- std::thread::spawn(|| loop {
- backend::update_handshakes().ok();
+ std::thread::spawn(|| {
+ loop {
+ backend::update_handshakes().ok();
- std::thread::sleep(Duration::from_millis(1500));
+ std::thread::sleep(Duration::from_millis(1500));
+ }
});
}
fn start_vendor_refresh() {
- std::thread::spawn(|| loop {
- backend::update_vendors();
+ std::thread::spawn(|| {
+ loop {
+ backend::update_vendors();
- std::thread::sleep(Duration::from_millis(500));
+ std::thread::sleep(Duration::from_millis(500));
+ }
});
}
@@ -681,13 +787,16 @@ fn connect_capture_button(app_data: Rc<AppData>) {
}
let file_chooser_dialog = FileChooserDialog::new(
- Some("Save Capture"),
+ Some("Save capture"),
Some(&app_data.app_gui.window),
FileChooserAction::Save,
- &[("Save", ResponseType::Accept)],
+ &[
+ ("Cancel", ResponseType::Cancel),
+ ("Save", ResponseType::Accept)
+ ],
);
- file_chooser_dialog.set_current_name(&format!("{}.cap", essid));
+ file_chooser_dialog.set_current_name(&format!("{essid}.cap"));
file_chooser_dialog.run_async(clone!(@strong app_data => move |this, response| {
if response == ResponseType::Accept {
this.close();
@@ -742,6 +851,8 @@ pub fn connect(app: &Application, app_data: Rc<AppData>) {
connect_hopping_button(app_data.clone());
connect_focus_button(app_data.clone());
+ connect_add_button(app_data.clone());
+
connect_deauth_button(app_data.clone());
connect_capture_button(app_data);
}
diff --git a/src/frontend/connections/deauth.rs b/src/frontend/connections/deauth.rs
index 839072c..fa1f6e3 100755
--- a/src/frontend/connections/deauth.rs
+++ b/src/frontend/connections/deauth.rs
@@ -4,8 +4,8 @@ use crate::frontend::widgets::*;
use crate::list_store_get;
use crate::types::AttackSoftware;
-use glib::clone;
use glib::Value;
+use glib::clone;
use gtk4::prelude::*;
use gtk4::*;
use std::rc::Rc;
diff --git a/src/frontend/connections/decrypt.rs b/src/frontend/connections/decrypt.rs
index ddbff49..5dccd86 100755
--- a/src/frontend/connections/decrypt.rs
+++ b/src/frontend/connections/decrypt.rs
@@ -51,10 +51,13 @@ fn connect_handshake_button(app_data: Rc<AppData>) {
clone!(@strong app_data => move |_| {
let file_chooser_dialog = FileChooserDialog::new(
- Some("Select Capture"),
+ Some("Select capture"),
Some(&app_data.decrypt_gui.window),
FileChooserAction::Open,
- &[("Open", ResponseType::Accept)],
+ &[
+ ("Cancel", ResponseType::Cancel),
+ ("Open", ResponseType::Accept)
+ ],
);
file_chooser_dialog.run_async(clone!(@strong app_data => move |this, response| {
@@ -75,7 +78,7 @@ fn connect_handshake_button(app_data: Rc<AppData>) {
return ErrorDialog::spawn(
&app_data.decrypt_gui.window,
"Invalid capture",
- &format!("\"{}\" doesn't contain any valid handshake", file_path)
+ &format!("\"{file_path}\" doesn't contain any valid handshake")
);
}
@@ -109,10 +112,13 @@ fn connect_wordlist_button(app_data: Rc<AppData>) {
app_data.decrypt_gui.wordlist_but.connect_clicked(
clone!(@strong app_data => move |_| {
let file_chooser_dialog = FileChooserDialog::new(
- Some("Select Wordlist"),
+ Some("Select wordlist"),
Some(&app_data.decrypt_gui.window),
FileChooserAction::Open,
- &[("Open", ResponseType::Accept)],
+ &[
+ ("Cancel", ResponseType::Cancel),
+ ("Open", ResponseType::Accept)
+ ],
);
file_chooser_dialog.run_async(clone!(@strong app_data => move |this, response| {
diff --git a/src/frontend/connections/interface.rs b/src/frontend/connections/interface.rs
index e61f551..2a8e3b6 100644
--- a/src/frontend/connections/interface.rs
+++ b/src/frontend/connections/interface.rs
@@ -46,7 +46,6 @@ fn connect_interface_refresh(app_data: Rc<AppData>) {
app_data.interface_gui.interface_view.set_active(if !ifaces.is_empty() { Some(0) } else { None });
app_data.interface_gui.select_but.set_sensitive(!ifaces.is_empty());
}));
- app_data.interface_gui.refresh_but.emit_clicked();
}
fn connect_interface_select(app_data: Rc<AppData>) {
@@ -73,12 +72,12 @@ fn connect_interface_select(app_data: Rc<AppData>) {
&e.to_string(),
);
}
+
backend::set_iface(res.clone());
+ app_data.app_gui.iface_status_bar.push(0, &format!("Interface: {res}"));
+
app_data.app_gui.restart_but.set_sensitive(true);
- app_data.app_gui.iface_ico.set_sensitive(true);
- app_data.app_gui.iface_label.set_sensitive(true);
- app_data.app_gui.iface_label.set_text(&res);
app_data.app_gui.channel_filter_entry.set_sensitive(true);
app_data.app_gui.scan_but.emit_clicked();
diff --git a/src/frontend/connections/scan.rs b/src/frontend/connections/scan.rs
index 3f68cfc..5bc0ebd 100644
--- a/src/frontend/connections/scan.rs
+++ b/src/frontend/connections/scan.rs
@@ -13,7 +13,7 @@ use chrono::Local;
fn run_scan(app_data: &AppData) {
let iface = match backend::get_iface() {
Some(iface) => iface,
- None => return app_data.interface_gui.window.show(),
+ None => return app_data.interface_gui.show(),
};
let mut ghz_2_4 = false;
@@ -92,16 +92,19 @@ fn connect_export_button(app_data: Rc<AppData>) {
}
let file_chooser_dialog = FileChooserDialog::new(
- Some("Save Capture"),
+ Some("Save capture"),
Some(&app_data.app_gui.window),
FileChooserAction::Save,
- &[("Save", ResponseType::Accept)],
+ &[
+ ("Cancel", ResponseType::Cancel),
+ ("Save", ResponseType::Accept)
+ ],
);
let local = Local::now();
let date = local.format("%Y-%m-%d-%Hh%M");
- file_chooser_dialog.set_current_name(&format!("capture_{}.cap", date));
+ file_chooser_dialog.set_current_name(&format!("capture_{date}.cap"));
file_chooser_dialog.run_async(clone!(@strong app_data => move |this, response| {
if response == ResponseType::Accept {
this.close();
@@ -143,16 +146,19 @@ fn connect_report_button(app_data: Rc<AppData>) {
}
let file_chooser_dialog = Rc::new(FileChooserDialog::new(
- Some("Save capture report"),
+ Some("Save report"),
Some(&app_data.app_gui.window),
FileChooserAction::Save,
- &[("Save", ResponseType::Accept)],
+ &[
+ ("Cancel", ResponseType::Cancel),
+ ("Save", ResponseType::Accept)
+ ],
));
let local = Local::now();
let date = local.format("%Y-%m-%d-%Hh%M");
- file_chooser_dialog.set_current_name(&format!("report_{}.json", date));
+ file_chooser_dialog.set_current_name(&format!("report_{date}.json"));
file_chooser_dialog.run_async(clone!(@strong app_data => move |this, response| {
if response == ResponseType::Accept {
this.close();
@@ -286,9 +292,13 @@ fn connect_cursor_changed(app_data: Rc<AppData>) {
super::app::update_buttons_sensitivity(&app_data);
if let Some((_, it)) = this.selection().selected() {
+ let essid = list_store_get!(app_data.app_gui.aps_model, &it, 0, String);
let bssid = list_store_get!(app_data.app_gui.aps_model, &it, 1, String);
let aps = backend::get_aps();
+ app_data.app_gui.client_status_bar.pop(0);
+ app_data.app_gui.client_status_bar.push(0, &format!("Showing '{essid}' clients"));
+
let mut clients = match aps.get(&bssid) {
Some(ap) => ap.clients.keys().clone(),
None => return,
@@ -307,6 +317,9 @@ fn connect_cursor_changed(app_data: Rc<AppData>) {
false => return,
}
}
+ } else {
+ app_data.app_gui.client_status_bar.pop(0);
+ app_data.app_gui.client_status_bar.push(0, "Showing unassociated clients");
}
app_data.app_gui.cli_model.clear();
}));
diff --git a/src/frontend/interfaces/app.rs b/src/frontend/interfaces/app.rs
index f5f2739..d437fdf 100755
--- a/src/frontend/interfaces/app.rs
+++ b/src/frontend/interfaces/app.rs
@@ -80,6 +80,14 @@ fn build_focus_button() -> Button {
.build()
}
+fn build_add_button() -> Button {
+ Button::builder()
+ .icon_name("list-add-symbolic")
+ .tooltip_text("Add the channel of the selected access point to the channel hop list")
+ .sensitive(false)
+ .build()
+}
+
fn build_previous_but() -> Button {
Button::builder()
.icon_name("go-up-symbolic")
@@ -116,7 +124,7 @@ fn build_window(app: &Application) -> ApplicationWindow {
let window = ApplicationWindow::builder()
.application(app)
.title("")
- .default_width(1320)
+ .default_width(1240)
.default_height(620)
.build();
@@ -306,7 +314,6 @@ pub struct AppGui {
pub update_button: Button,
pub decrypt_button: Button,
pub settings_button: Button,
-
// Main window
pub window: ApplicationWindow,
pub aps_model: ListStore,
@@ -317,8 +324,6 @@ pub struct AppGui {
pub cli_view: TreeView,
pub cli_scroll: ScrolledWindow,
pub cli_menu: PopoverMenu,
- pub iface_ico: Image,
- pub iface_label: Label,
pub ghz_2_4_but: CheckButton,
pub ghz_5_but: CheckButton,
pub channel_filter_entry: Entry,
@@ -332,8 +337,11 @@ pub struct AppGui {
pub bottom_but: Button,
pub hopping_but: Button,
pub focus_but: Button,
+ pub add_but: Button,
pub deauth_but: IconButton,
pub capture_but: IconButton,
+ pub client_status_bar: Statusbar,
+ pub iface_status_bar: Statusbar,
}
impl AppGui {
@@ -350,6 +358,7 @@ impl AppGui {
let hopping_but = build_hopping_button();
let focus_but = build_focus_button();
+ let add_but = build_add_button();
let previous_but = build_previous_but();
let next_but = build_next_but();
@@ -363,14 +372,6 @@ impl AppGui {
update_button.hide();
- // Interface Display
-
- let iface_ico = Image::from_icon_name("network-wired");
- iface_ico.set_sensitive(false);
- let iface_label = Label::new(Some("None"));
- iface_label.set_sensitive(false);
- iface_label.set_tooltip_text(Some("Wireless interface used for scans and attacks"));
-
// Scan filters
let ghz_2_4_but = CheckButton::builder()
@@ -448,9 +449,6 @@ impl AppGui {
header_bar.pack_start(&about_button);
header_bar.pack_start(&update_button);
- header_bar.pack_end(&iface_label);
- header_bar.pack_end(&iface_ico);
-
header_bar.pack_end(&ghz_5_but);
header_bar.pack_end(&ghz_2_4_but);
@@ -458,6 +456,7 @@ impl AppGui {
header_bar.pack_end(&hopping_but);
header_bar.pack_end(&focus_but);
+ header_bar.pack_end(&add_but);
// Left View (Access Points and Clients)
@@ -479,14 +478,32 @@ impl AppGui {
cli_scroll.set_child(Some(&cli_view));
cli_view.set_model(Some(&cli_model));
- // Set main window child
+ // Set main window childs
+
+ let panned_cli_aps = Paned::new(Orientation::Vertical);
+ panned_cli_aps.set_wide_handle(true);
+ panned_cli_aps.set_start_child(Some(&aps_scroll));
+ panned_cli_aps.set_end_child(Some(&cli_scroll));
+
+ let client_status_bar = Statusbar::new();
+ client_status_bar.push(0, "Showing unassociated clients");
+
+ let iface_status_bar = Statusbar::new();
+ iface_status_bar.set_tooltip_text(Some("Wireless interface used for scans and attacks"));
+ iface_status_bar.push(0, "No interface selected");
- let panned = Paned::new(Orientation::Vertical);
- panned.set_wide_handle(true);
- panned.set_start_child(Some(&aps_scroll));
- panned.set_end_child(Some(&cli_scroll));
+ let panned_status_bar = Paned::new(Orientation::Horizontal);
+ panned_status_bar.set_wide_handle(true);
+ panned_status_bar.set_start_child(Some(&client_status_bar));
+ panned_status_bar.set_end_child(Some(&iface_status_bar));
- window.set_child(Some(&panned));
+ client_status_bar.set_size_request(110, -1);
+
+ let vbox = Box::new(Orientation::Vertical, 0);
+ vbox.append(&panned_cli_aps);
+ vbox.append(&panned_status_bar);
+
+ window.set_child(Some(&vbox));
Self {
// Header bar
@@ -504,8 +521,6 @@ impl AppGui {
cli_view,
cli_scroll,
cli_menu,
- iface_ico,
- iface_label,
ghz_2_4_but,
ghz_5_but,
channel_filter_entry,
@@ -519,8 +534,15 @@ impl AppGui {
bottom_but,
hopping_but,
focus_but,
+ add_but,
deauth_but,
capture_but,
+ client_status_bar,
+ iface_status_bar,
}
}
+
+ pub fn show(&self) {
+ self.window.show();
+ }
}
diff --git a/src/frontend/interfaces/deauth.rs b/src/frontend/interfaces/deauth.rs
index f47f15e..b8ec52c 100755
--- a/src/frontend/interfaces/deauth.rs
+++ b/src/frontend/interfaces/deauth.rs
@@ -6,11 +6,9 @@ use gtk4::*;
pub struct DeauthGui {
pub window: Window,
pub aireplay_but: ToggleButton,
- pub mdk4_but: ToggleButton,
pub store: ListStore,
pub view: TreeView,
pub toggle: CellRendererToggle,
- pub scroll: ScrolledWindow,
pub all_cli_but: CheckButton,
pub sel_cli_but: CheckButton,
pub attack_but: Button,
@@ -108,11 +106,9 @@ impl DeauthGui {
Self {
window,
aireplay_but,
- mdk4_but,
store,
view,
toggle,
- scroll,
all_cli_but,
sel_cli_but,
attack_but,
diff --git a/src/frontend/interfaces/decrypt.rs b/src/frontend/interfaces/decrypt.rs
index c5abca4..2fe5070 100644
--- a/src/frontend/interfaces/decrypt.rs
+++ b/src/frontend/interfaces/decrypt.rs
@@ -199,7 +199,7 @@ impl DecryptGui {
return ErrorDialog::spawn(
&self.window,
"Invalid capture",
- &format!("\"{}\" doesn't contain any valid handshake", path),
+ &format!("\"{path}\" doesn't contain any valid handshake"),
);
}
diff --git a/src/frontend/interfaces/interface.rs b/src/frontend/interfaces/interface.rs
index df93e3f..1db622e 100755
--- a/src/frontend/interfaces/interface.rs
+++ b/src/frontend/interfaces/interface.rs
@@ -71,4 +71,9 @@ impl InterfaceGui {
interface_view,
}
}
+
+ pub fn show(&self) {
+ self.refresh_but.emit_clicked();
+ self.window.show();
+ }
}
diff --git a/src/frontend/mod.rs b/src/frontend/mod.rs
index ced1287..835b467 100644
--- a/src/frontend/mod.rs
+++ b/src/frontend/mod.rs
@@ -6,7 +6,6 @@ use crate::backend;
use interfaces::*;
use widgets::*;
-use gtk4::prelude::*;
use gtk4::*;
use std::rc::Rc;
@@ -14,15 +13,15 @@ use std::rc::Rc;
pub fn build_ui(app: &Application) {
let gui_data = Rc::new(AppData::new(app));
- gui_data.app_gui.window.show();
+ connections::connect(app, gui_data.clone());
+
+ gui_data.app_gui.show();
if let Err(e) = backend::app_setup() {
return PanicDialog::spawn(&gui_data.app_gui.window, &e.to_string());
}
- gui_data.interface_gui.window.show();
-
- connections::connect(app, gui_data);
+ gui_data.interface_gui.show();
}
#[macro_export]
diff --git a/src/frontend/widgets/dialog.rs b/src/frontend/widgets/dialog.rs
index 4052f9f..2730161 100644
--- a/src/frontend/widgets/dialog.rs
+++ b/src/frontend/widgets/dialog.rs
@@ -55,7 +55,7 @@ pub struct UpdateDialog;
impl UpdateDialog {
pub fn spawn(parent: &impl IsA<Window>, version: &str, new_version: &str) {
- let title = format!("Update available ({} -> {})", version, new_version);
+ let title = format!("Update available ({version} -> {new_version})");
let link = "https://github.com/martin-olivier/airgorah/releases/latest";
let dialog = MessageDialog::builder()
diff --git a/src/globals.rs b/src/globals.rs
index 397a878..27a6eed 100644
--- a/src/globals.rs
+++ b/src/globals.rs
@@ -7,7 +7,7 @@ use std::sync::Mutex;
use std::thread::JoinHandle;
pub static APP_ID: &str = "com.molivier.airgorah";
-pub static VERSION: &str = "v0.7.3";
+pub static VERSION: &str = "v0.7.4";
pub static LIVE_SCAN_PATH: &str = "/tmp/airgorah_live_scan";
pub static OLD_SCAN_PATH: &str = "/tmp/airgorah_old_scan";