Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Ragnt/AngryTrainer
/ functions
Functions
383 in github.com/Ragnt/AngryTrainer
⨍
Functions
383
◇
Types & classes
130
Method
new
(cli_args: &Arguments)
src/main.rs:238
Method
new
()
src/auth.rs:67
Method
new
(message_type: MessageType, content: String)
src/status.rs:34
Method
new
(ssid: &str)
src/targets.rs:32
Method
new
(rogue_mac: MacAddress)
src/devices.rs:25
Method
new
Creates a new ReadBuffer with capacity of 8_000_000
libs/pcap-file/src/read_buffer.rs:21
Method
new
Creates a new [`PcapParser`]. Returns the remainder and the parser.
libs/pcap-file/src/pcap/parser.rs:52
Method
new
Creates a new borrowed [`PcapPacket`] with the given parameters.
libs/pcap-file/src/pcap/packet.rs:28
Method
new
Creates a new [`PcapWriter`] from an existing writer. Defaults to the native endianness of the CPU. Writes this default global pcap header to the fi
libs/pcap-file/src/pcap/writer.rs:63
Method
new
Creates a new [`PcapReader`] from an existing reader. This function reads the global pcap header of the file to verify its integrity. The underlying
libs/pcap-file/src/pcap/reader.rs:46
Method
new
Creates a new [`PcapNgParser`]. Parses the first block which must be a valid SectionHeaderBlock.
libs/pcap-file/src/pcapng/parser.rs:55
Method
new
Creates a new [`PcapNgWriter`] from an existing writer. Defaults to the native endianness of the CPU. Writes this global pcapng header to the file:
libs/pcap-file/src/pcapng/writer.rs:61
Method
new
Creates a new [`PcapNgReader`] from a reader. Parses the first block which must be a valid SectionHeaderBlock.
libs/pcap-file/src/pcapng/reader.rs:40
Method
new
Creates a new [`UnknownRecord`]
libs/pcap-file/src/pcapng/blocks/name_resolution.rs:289
Method
new
Creates a new [`InterfaceDescriptionBlock`]
libs/pcap-file/src/pcapng/blocks/interface_description.rs:76
Method
new
Creates a new [`UnknownOption`]
libs/pcap-file/src/pcapng/blocks/opt_common.rs:98
Method
new
Creates a new [`UnknownBlock`]
libs/pcap-file/src/pcapng/blocks/unknown.rs:26
Method
new_owned
Creates a new owned [`PcapPacket`] with the given parameters.
libs/pcap-file/src/pcap/packet.rs:33
Method
new_station
( mac_address: MacAddress, signal_strength: AntennaSignal, access_point: Option<MacAdd
src/devices.rs:330
Method
new_unassoc_station
( mac_address: MacAddress, signal_strength: AntennaSignal, probes: Vec<String>, )
src/devices.rs:352
Method
new_with_clients
( mac_address: MacAddress, last_signal_strength: AntennaSignal, ssid: Option<String>,
src/devices.rs:162
Method
next_block
Returns the next [`Block`].
libs/pcap-file/src/pcapng/reader.rs:47
Method
next_packet
Returns the next [`PcapPacket`].
libs/pcap-file/src/pcap/reader.rs:59
Method
next_raw_block
Returns the next [`RawBlock`].
libs/pcap-file/src/pcapng/reader.rs:62
Method
next_raw_block_inner
Inner function to parse the next raw block.
libs/pcap-file/src/pcapng/parser.rs:95
Method
next_raw_packet
Returns the next [`RawPcapPacket`].
libs/pcap-file/src/pcap/reader.rs:74
Method
opts_from_slice
Parse all options in a block
libs/pcap-file/src/pcapng/blocks/opt_common.rs:20
Method
packet_interface
Returns the [`InterfaceDescriptionBlock`] corresponding to the given packet.
libs/pcap-file/src/pcapng/parser.rs:124
Method
packet_interface
Returns the [`InterfaceDescriptionBlock`] corresponding to the given packet
libs/pcap-file/src/pcapng/reader.rs:87
Method
parse_inner
(mut slice: &[u8])
libs/pcap-file/src/pcapng/blocks/section_header.rs:64
Function
parse_ip_address_port
(input: &str)
src/util.rs:48
Function
pcap
Bench and compare Pcap readers and parsers
libs/pcap-file/benches/benches.rs:8
Function
pcapng
Bench and compare PcapNg readers and parsers
libs/pcap-file/benches/benches.rs:63
Method
proberesponseindex
(&mut self)
src/main.rs:175
Method
probes_to_string_list
(&mut self)
src/devices.rs:374
Method
random
Generate random valid mac
libs/libwifi/src/frame/components/mac_address.rs:48
Method
random_with_oui
Generate a random MAC address using the same OUI as the given MAC address
libs/libwifi/src/frame/components/mac_address.rs:66
Method
reset_state
Resets state to 0
src/devices.rs:55
Method
section
Returns the current [`SectionHeaderBlock`].
libs/pcap-file/src/pcapng/parser.rs:114
Method
section
Returns the current [`SectionHeaderBlock`].
libs/pcap-file/src/pcapng/writer.rs:221
Method
section
Returns the current [`SectionHeaderBlock`].
libs/pcap-file/src/pcapng/reader.rs:77
Method
sequence4
(&mut self)
src/main.rs:170
Method
size
(&self)
src/status.rs:78
Method
size
(&self)
src/devices.rs:398
Method
snaplen
Returns the snaplen used by the writer, i.e. an unsigned value indicating the maximum number of octets captured from each packet.
libs/pcap-file/src/pcap/writer.rs:119
Method
src
(&self)
libs/libwifi/src/frame/control/rts_cts_ack.rs:19
Method
src
Return the mac address of the sender
libs/libwifi/src/frame/components/header.rs:85
Function
tar_and_compress_files
(output_files: Vec<String>, filename: &str)
src/main.rs:2281
Function
test_beacon
Create a Management-Beacon FrameControl header FrameType should be `00` and SubType `1000` Remember
libs/libwifi/src/frame/components/frame_control.rs:131
Function
test_broadcast
()
libs/libwifi/src/frame/components/mac_address.rs:199
Function
test_flags
Set each flag once and ensure that only that bit is set. For this, we shift a byte with value `1` up to seven times to the left.
libs/libwifi/src/frame/components/frame_control.rs:110
Function
test_format
()
libs/libwifi/src/frame/components/mac_address.rs:205
Method
to_long_string
Generate string with delimitters.
libs/libwifi/src/frame/components/mac_address.rs:40
Method
try_from_raw_block
Tries to create a [`Block`] from a [`RawBlock`]. The RawBlock must be Borrowed.
libs/pcap-file/src/pcapng/blocks/block_common.rs:211
Method
try_from_raw_packet
Tries to create a [`PcapPacket`] from a [`RawPcapPacket`].
libs/pcap-file/src/pcap/packet.rs:77
Method
try_into_block
Tries to convert a [`RawBlock`] into a [`Block`]
libs/pcap-file/src/pcapng/blocks/block_common.rs:140
Method
try_into_pcap_packet
Tries to convert a [`RawPcapPacket`] into a [`PcapPacket`].
libs/pcap-file/src/pcap/packet.rs:165
Method
ts_resolution
Returns the timestamp resolution of the writer.
libs/pcap-file/src/pcap/writer.rs:124
Method
ts_sec
(&self)
src/pcapng.rs:67
Function
ts_to_system_time
(timestamp: u64, unit: TimeUnit)
src/util.rs:40
Method
ts_usec
(&self)
src/pcapng.rs:74
Method
with_capacity
Creates a new ReadBuffer with the given capacity
libs/pcap-file/src/read_buffer.rs:26
Method
with_endianness
Creates a new [`PcapNgWriter`] from an existing writer with the given endianness.
libs/pcap-file/src/pcapng/writer.rs:66
Method
with_header
Creates a new [`PcapWriter`] from an existing writer with a user defined [`PcapHeader`]. It also writes the pcap header to the file. # Errors The wr
libs/pcap-file/src/pcap/writer.rs:75
Method
with_section_header
Creates a new [`PcapNgWriter`] from an existing writer with the given section header.
libs/pcap-file/src/pcapng/writer.rs:73
Method
write_header
(header: &PcapHeader, writer: &mut W)
libs/pcap-file/src/pcap/header.rs:93
Method
write_opt_to
(&self, code: u16, writer: &mut W)
libs/pcap-file/src/pcapng/blocks/opt_common.rs:148
Method
write_opts_to
Write all options in a block
libs/pcap-file/src/pcapng/blocks/opt_common.rs:64
Method
write_packet
Writes a [`PcapPacket`].
libs/pcap-file/src/pcap/writer.rs:92
Method
write_raw_block
Writes a [`RawBlock`]. Doesn't check the validity of the written blocks.
libs/pcap-file/src/pcapng/writer.rs:188
Method
write_raw_packet
Writes a [`RawPcapPacket`].
libs/pcap-file/src/pcap/writer.rs:100
Method
write_to
Writes a [`PcapHeader`] to a writer. Uses the endianness of the header.
libs/pcap-file/src/pcap/header.rs:87
Method
write_to
(&self, writer: &mut W)
libs/pcap-file/src/pcapng/blocks/name_resolution.rs:47
Method
write_to
(&self, writer: &mut W)
libs/pcap-file/src/pcapng/blocks/interface_description.rs:60
Method
write_to
(&self, writer: &mut W)
libs/pcap-file/src/pcapng/blocks/systemd_journal_export.rs:26
Method
write_to
(&self, writer: &mut W)
libs/pcap-file/src/pcapng/blocks/packet.rs:81
Method
write_to
Writes a [`RawBlock`] to a writer. Uses the endianness of the header.
libs/pcap-file/src/pcapng/blocks/block_common.rs:130
Method
write_to
(&self, writer: &mut W)
libs/pcap-file/src/pcapng/blocks/unknown.rs:39
Method
write_to
(&self, writer: &mut W)
libs/pcap-file/src/pcapng/blocks/simple_packet.rs:39
Method
write_to
(&self, writer: &mut W)
libs/pcap-file/src/pcapng/blocks/interface_statistics.rs:50
Method
write_to
(&self, writer: &mut W)
libs/pcap-file/src/pcapng/blocks/section_header.rs:74
Method
write_to
(&self, writer: &mut W)
libs/pcap-file/src/pcapng/blocks/enhanced_packet.rs:73
Method
zeroed
()
libs/libwifi/src/frame/components/mac_address.rs:61
← previous
301–383 of 383, ranked by callers