Skip to content

Commit

Permalink
nl80211-ng update, set powersave off.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ragnt committed Mar 12, 2024
1 parent 449a745 commit bed8247
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
members = ["libs/libwifi", "libs/libwifi_macros", "libs/pcap-file"]

[workspace.package]
version = "0.8.8"
version = "0.8.9"
authors = ["Ryan Butler"]
description = "80211 Attack Tool"
license = "GPL"
Expand All @@ -24,7 +24,7 @@ path = "src/main.rs"
[dependencies]
libwifi = { version = "0.3.1", path = "libs/libwifi" }
pcap-file = { version = "2.0.0", path = "libs/pcap-file" }
nl80211-ng = ">=0.3.1"
nl80211-ng = ">=0.5.1"
byteorder = "1.5.0"
libc = "0.2.149"
nix = { version = "0.27.1", features = [
Expand Down
3 changes: 2 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -793,6 +793,7 @@ impl OxideRuntime {
thread::sleep(Duration::from_millis(500));
println!("💲 Setting {} up.", interface_name);
netlink.set_interface_up(idx).ok();
netlink.set_powersave_off(idx).ok();

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

// Get Channel Values
let current_freq = oxide.if_hardware.interface.frequency.clone().unwrap();
let current_freq = oxide.if_hardware.interface.frequency.clone();
if current_freq.channel.is_none() {
panic!("Channel is None. Current Frequency: {current_freq:?}");
}
Expand Down
1 change: 0 additions & 1 deletion src/ui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,6 @@ fn create_status_bar(
.interface
.frequency
.clone()
.unwrap_or_default()
.print(),
if oxide.config.autohunt {
"(Hunting)"
Expand Down

0 comments on commit bed8247

Please sign in to comment.