Skip to content

Commit bed8247

Browse files
committed
nl80211-ng update, set powersave off.
1 parent 449a745 commit bed8247

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

Cargo.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
members = ["libs/libwifi", "libs/libwifi_macros", "libs/pcap-file"]
33

44
[workspace.package]
5-
version = "0.8.8"
5+
version = "0.8.9"
66
authors = ["Ryan Butler"]
77
description = "80211 Attack Tool"
88
license = "GPL"
@@ -24,7 +24,7 @@ path = "src/main.rs"
2424
[dependencies]
2525
libwifi = { version = "0.3.1", path = "libs/libwifi" }
2626
pcap-file = { version = "2.0.0", path = "libs/pcap-file" }
27-
nl80211-ng = ">=0.3.1"
27+
nl80211-ng = ">=0.5.1"
2828
byteorder = "1.5.0"
2929
libc = "0.2.149"
3030
nix = { version = "0.27.1", features = [

src/main.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -793,6 +793,7 @@ impl OxideRuntime {
793793
thread::sleep(Duration::from_millis(500));
794794
println!("💲 Setting {} up.", interface_name);
795795
netlink.set_interface_up(idx).ok();
796+
netlink.set_powersave_off(idx).ok();
796797

797798
// Setup OUI Database
798799
let oui_db = OuiDatabase::new();
@@ -1091,7 +1092,7 @@ fn process_frame(oxide: &mut OxideRuntime, packet: &[u8]) -> Result<(), String>
10911092
let packet_id = oxide.counters.packet_id();
10921093

10931094
// Get Channel Values
1094-
let current_freq = oxide.if_hardware.interface.frequency.clone().unwrap();
1095+
let current_freq = oxide.if_hardware.interface.frequency.clone();
10951096
if current_freq.channel.is_none() {
10961097
panic!("Channel is None. Current Frequency: {current_freq:?}");
10971098
}

src/ui.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,6 @@ fn create_status_bar(
574574
.interface
575575
.frequency
576576
.clone()
577-
.unwrap_or_default()
578577
.print(),
579578
if oxide.config.autohunt {
580579
"(Hunting)"

0 commit comments

Comments
 (0)