MCPcopy Create free account

hub / github.com/Ragnt/AngryTrainer / functions

Functions383 in github.com/Ragnt/AngryTrainer

↓ 31 callersMethodadd_or_update_device
( &mut self, mac_address: MacAddress, new_ap: &AccessPoint, )
src/devices.rs:493
↓ 23 callersMethodadd_message
(&mut self, message: StatusMessage)
src/status.rs:54
↓ 20 callersMethodis_real_device
A helper function to check whether the mac address is an actual device or just some kind of "meta" mac address. This function is most likely not comp
libs/libwifi/src/frame/components/mac_address.rs:123
↓ 19 callersMethodfrom_ds
(&self)
libs/libwifi/src/frame/components/frame_control.rs:48
↓ 19 callersMethodto_ds
(&self)
libs/libwifi/src/frame/components/frame_control.rs:44
↓ 17 callersMethodencode
(&self)
libs/libwifi/src/frame/data/data.rs:15
↓ 16 callersFunctionwrite_packet
(fd: i32, packet: &[u8])
src/main.rs:1947
↓ 15 callersMethodheader
Returns the header of the pcap file.
libs/pcap-file/src/pcap/parser.rs:77
↓ 15 callersFunctionparse_data_header
Parse and return the [DataHeader] from a given payload.
libs/libwifi/src/parsers/components/header.rs:38
↓ 12 callersMethodget_device
Retrieve a device by MAC address
src/devices.rs:417
↓ 10 callersFunctionparse_management_header
Parse and return the [ManagementHeader] from a given payload.
libs/libwifi/src/parsers/components/header.rs:10
↓ 10 callersMethodremove_device
Add a new device to the list
src/devices.rs:412
↓ 9 callersMethodhas_complete_handshake_for_ap
(&self, ap_mac: &MacAddress)
src/auth.rs:572
↓ 8 callersMethoddetermine_key_type
(&self)
libs/libwifi/src/frame/data/qos_data.rs:219
↓ 8 callersFunctionflag_is_set
Mini helper to check, whether a bit is set or not.
libs/libwifi/src/frame/components/frame_control.rs:5
↓ 8 callersFunctionhandle_data_frame
( data_frame: &impl DataFrame, rthdr: &Radiotap, oxide: &mut OxideRuntime, chan: (WiFiBand, u8
src/main.rs:1671
↓ 8 callersFunctionparse_eapol_key
Parse a [EapolKey] Frame
libs/libwifi/src/parsers/frame_types/data.rs:239
↓ 7 callersFunctionhandle_null_data_frame
( data_frame: &impl NullDataFrame, rthdr: &Radiotap, oxide: &mut OxideRuntime, chan: (WiFiBand
src/main.rs:1877
↓ 7 callersMethodsequence3
(&mut self)
src/main.rs:165
↓ 6 callersMethodcomplete
(&self)
src/auth.rs:89
↓ 6 callersMethodempty
(&self)
src/targets.rs:99
↓ 6 callersMethodget_mut
Gets a mutable reference to the underlying writer. You should not be used unless you really know what you're doing
libs/pcap-file/src/pcapng/writer.rs:216
↓ 6 callersMethodis_target
Will check if the AP is a target, but will also mark the
src/targets.rs:104
↓ 6 callersMethodparse_with
Parse data from the internal buffer Safety The parser must NOT keep a reference to the buffer in input.
libs/pcap-file/src/read_buffer.rs:35
↓ 5 callersMethodadd
(&mut self, target: Target)
src/targets.rs:95
↓ 5 callersMethodhas_pmkid
(&self)
src/auth.rs:104
↓ 5 callersMethodsequence2
(&mut self)
src/main.rs:160
↓ 4 callersMethodhas_data_left
Return true there are some data that can be read
libs/pcap-file/src/read_buffer.rs:111
↓ 4 callersMethodis_whitelisted
(&self)
src/devices.rs:230
↓ 4 callersMethodtarget_match
(&self, ap: &AccessPoint)
src/targets.rs:17
↓ 3 callersMethodadd_or_update_handshake
( &mut self, ap_mac: &MacAddress, client_mac: &MacAddress, new_key: EapolKey,
src/auth.rs:584
↓ 3 callersFunctionbuild_probe_response
Remember this is coming from an AP - this is a part of being rogue"
src/tx.rs:565
↓ 3 callersMethodget_device_by_ssid
Retrieve a device by MAC address
src/devices.rs:422
↓ 3 callersMethodhas_m1_for_ap
(&self, ap_mac: &MacAddress)
src/auth.rs:578
↓ 3 callersMethodinto_block
(self)
libs/pcap-file/src/pcapng/blocks/packet.rs:97
↓ 3 callersMethodis_t1_timeout
Checks if CONST_T1_TIMEOUT has elapsed since t1 Timer 1 is an interaction timer - elapsed means we have passed 1 second
src/devices.rs:36
↓ 3 callersMethodis_target_ssid
(&self, ssid: &str)
src/targets.rs:203
↓ 3 callersFunctionparse_frame_control
Parse the frame control of a frame. The format is the same for ALL frames, which makes this part quite unique.
libs/libwifi/src/parsers/components/frame_control.rs:10
↓ 3 callersFunctionparse_station_info
Parse variable length and variable field information. The general structure of the data looks like this: 1 byte: Element id 1 byte: Element length (u
libs/libwifi/src/parsers/components/station_info.rs:22
↓ 3 callersMethodsequence1
(&mut self)
src/main.rs:155
↓ 3 callersMethodsrc
(&self)
libs/libwifi/src/frame/control/block_ack.rs:50
↓ 3 callersMethodupdate_t2_timer
Set the t2 value to the current time
src/devices.rs:215
↓ 2 callersMethodadd_key
(&mut self, new_key: &EapolKey)
src/auth.rs:200
↓ 2 callersMethodbuffer
Return the valid data of the internal buffer
libs/pcap-file/src/read_buffer.rs:106
↓ 2 callersFunctionbuild_deauthentication_fm_ap
( ap: &MacAddress, client: &MacAddress, sequence: u16, reason: DeauthenticationReason, )
src/tx.rs:104
↓ 2 callersMethoddest
(&self)
libs/libwifi/src/frame/control/block_ack.rs:54
↓ 2 callersMethodfill_buf
Fill the inner buffer. Copy the remaining data inside buffer at its start and the fill the end part with data from the reader.
libs/pcap-file/src/read_buffer.rs:72
↓ 2 callersMethodget_handshakes
(&self)
src/auth.rs:568
↓ 2 callersMethodget_ref
(&self)
src/targets.rs:257
↓ 2 callersMethodget_targets
(&mut self, ap: &mut AccessPoint)
src/targets.rs:144
↓ 2 callersMethodhas_ssid
(&self)
src/targets.rs:221
↓ 2 callersMethodinto_section_header
Tries to downcast the current block into an [`SectionHeaderBlock`], if possible
libs/pcap-file/src/pcapng/blocks/block_common.rs:295
↓ 2 callersMethodis_broadcast
Check whether this MAC addresses the whole network.
libs/libwifi/src/frame/components/mac_address.rs:89
↓ 2 callersMethodis_target_mac
(&self, mac: &MacAddress)
src/targets.rs:185
↓ 2 callersFunctionm1_retrieval_attack
M1 Retrieval Attack Phase 1
src/attack.rs:101
↓ 2 callersMethodnext_block
Returns the remainder and the next [`Block`].
libs/pcap-file/src/pcapng/parser.rs:69
↓ 2 callersMethodnext_packet
Returns the remainder and the next [`PcapPacket`].
libs/pcap-file/src/pcap/parser.rs:61
↓ 2 callersMethodnext_raw_block
Returns the remainder and the next [`RawBlock`].
libs/pcap-file/src/pcapng/parser.rs:86
↓ 2 callersMethodnext_raw_packet
Returns the remainder and the next [`RawPcapPacket`].
libs/pcap-file/src/pcap/parser.rs:69
↓ 2 callersFunctionparse_cipher_suite
(data: &[u8])
libs/libwifi/src/parsers/components/station_info.rs:208
↓ 2 callersFunctionparse_frame
Parse IEE 802.11 frames from raw bytes.
libs/libwifi/src/lib.rs:27
↓ 2 callersFunctionparse_supported_rates
(input: &[u8])
libs/libwifi/src/parsers/components/station_info.rs:261
↓ 2 callersMethodpwr_mgmt
(&self)
libs/libwifi/src/frame/components/frame_control.rs:60
↓ 2 callersMethodssid
(&self)
src/devices.rs:93
↓ 2 callersMethodstart
(&mut self)
src/pcapng.rs:164
↓ 2 callersMethodstop
(&mut self, split: bool)
src/pcapng.rs:192
↓ 2 callersMethodto_bytes
(&self)
libs/libwifi/src/frame_types.rs:101
↓ 2 callersMethodupdate_t1_timer
Set the timer_auth value to the current time
src/devices.rs:210
↓ 2 callersMethodwrite_pcapng_block
Writes a [`PcapNgBlock`]. # Example ```rust,no_run use std::borrow::Cow; use std::fs::File; use std::time::Duration; use pcap_file::pcapng::blocks::
libs/pcap-file/src/pcapng/writer.rs:181
↓ 1 callersFunctionadd_handshake_header_row
(hs_row: Vec<String>)
src/auth.rs:719
↓ 1 callersFunctionadd_handshake_message_row
( hs_row: Vec<String>, message: &EapolKey, last: bool, start_time: SystemTime, )
src/auth.rs:772
↓ 1 callersFunctionaddress_header_inner
(ast: &DeriveInput)
libs/libwifi_macros/src/inner/mod.rs:5
↓ 1 callersMethodadvance
Advance the internal buffer position.
libs/pcap-file/src/read_buffer.rs:90
↓ 1 callersMethodadvance_with_slice
Advance the internal buffer position.
libs/pcap-file/src/read_buffer.rs:96
↓ 1 callersMethodakm_mask
Checks if the AKM is PSK from any one of the indicators
src/devices.rs:251
↓ 1 callersFunctionanon_reassociation_attack
( oxide: &mut OxideRuntime, ap_mac: &MacAddress, )
src/attack.rs:322
↓ 1 callersFunctionbuild_association_request_rg
( addr1: &MacAddress, addr_rogue: &MacAddress, addr3: &MacAddress, sequence: u16, ssid: Op
src/tx.rs:172
↓ 1 callersFunctionbuild_association_response
Remember this is coming from an AP - this is a part of being "rogue"
src/tx.rs:648
↓ 1 callersFunctionbuild_authentication_frame_noack
( destination: &MacAddress, source_rogue: &MacAddress, sequence: u16, )
src/tx.rs:68
↓ 1 callersFunctionbuild_authentication_response
( client: &MacAddress, ap_rogue: &MacAddress, bssid: &MacAddress, sequence: u16, )
src/tx.rs:31
↓ 1 callersFunctionbuild_csa_beacon
(beacon: Beacon, new_channel: u8)
src/tx.rs:633
↓ 1 callersFunctionbuild_deauthentication_fm_client
( ap: &MacAddress, client: &MacAddress, sequence: u16, reason: DeauthenticationReason, )
src/tx.rs:138
↓ 1 callersFunctionbuild_disassocation_from_client
( ap_mac: &MacAddress, client_mac: &MacAddress, sequence: u16, )
src/tx.rs:317
↓ 1 callersFunctionbuild_eapol_m1
( addr_client: &MacAddress, addr_rogue_ap: &MacAddress, bssid: &MacAddress, sequence: u16,
src/tx.rs:701
↓ 1 callersFunctionbuild_probe_request_target
( addr_rogue: &MacAddress, ap_addr: &MacAddress, sequence: u16, )
src/tx.rs:467
↓ 1 callersFunctionbuild_probe_request_undirected
(addr_rogue: &MacAddress, sequence: u16)
src/tx.rs:423
↓ 1 callersFunctionbuild_reassociation_request
( ap_mac: &MacAddress, client_mac: &MacAddress, ssid: Option<String>, sequence: u16, group
src/tx.rs:351
↓ 1 callersMethodcalculate_message_pair
(&self)
src/auth.rs:504
↓ 1 callersMethodcheck_size
(&self)
src/pcapng.rs:150
↓ 1 callersFunctioncontrol_frame_subtype
Get the FrameSubType from a 4-bit integer (bit 4-7) under the assumption that this is a control frame.
libs/libwifi/src/parsers/components/frame_control.rs:77
↓ 1 callersFunctioncsa_attack
(oxide: &mut OxideRuntime, mut beacon: Beacon)
src/attack.rs:36
↓ 1 callersFunctiondata_frame_subtype
Get the FrameSubType from a 4-bit integer (bit 4-7) under the assumption that this is a data frame.
libs/libwifi/src/parsers/components/frame_control.rs:101
↓ 1 callersFunctiondeauth_attack
(oxide: &mut OxideRuntime, ap_mac: &MacAddress)
src/attack.rs:242
↓ 1 callersMethodeapol_key
(&self)
libs/libwifi/src/frame/data/data.rs:40
↓ 1 callersMethodessid_to_string
(&self)
src/auth.rs:108
↓ 1 callersMethodfind_ap_by_client_mac
(&mut self, client_mac: &MacAddress)
src/devices.rs:483
↓ 1 callersFunctionflag_is_set
Mini helper to check, whether a bit is set or not.
libs/libwifi/src/parsers/mod.rs:11
↓ 1 callersMethodgenerate_pmkid_hashcat_format
(&self, pmkid: &Pmkid)
src/auth.rs:479
↓ 1 callersFunctiongenerate_random_bytes
(x: usize)
libs/libwifi/src/frame/components/mac_address.rs:211
↓ 1 callersMethodget_adjacent_channel
(&self)
src/main.rs:583
next →1–100 of 383, ranked by callers