Update cheatsheets

This commit is contained in:
ivuorinen
2024-03-07 00:10:46 +00:00
parent 17a4574aeb
commit 18990cb95e
7 changed files with 135 additions and 11 deletions

41
tldr/linux/iwlist Normal file
View File

@@ -0,0 +1,41 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# iwlist
> Get detailed information from a wireless interface.
> More information: <https://manned.org/iwlist.8>.
- Display the list of access points and ad-hoc cells in range:
`iwlist {{wireless_interface}} scan`
- Display available frequencies in the device:
`iwlist {{wireless_interface}} frequency`
- List the bit-rates supported by the device:
`iwlist {{wireless_interface}} rate`
- List the WPA authentication parameters currently set:
`iwlist {{wireless_interface}} auth`
- List all the WPA encryption keys set in the device:
`iwlist {{wireless_interface}} wpakeys`
- List the encryption key sizes supported and list all the encryption keys set in the device:
`iwlist {{wireless_interface}} keys`
- List the various power management attributes and modes of the device:
`iwlist {{wireless_interface}} power`
- List generic information elements set in the device (used for WPA support):
`iwlist {{wireless_interface}} genie`

View File

@@ -16,10 +16,18 @@ source: https://github.com/tldr-pages/tldr.git
`macchanger --random {{interface}}`
- Set interface to a specific MAC:
- Set an interface to a random MAC address, and pretend to be a [b]urned-[i]n-[a]ddress:
`macchanger --random --bia {{interface}}`
- Set an interface to a specific MAC address:
`macchanger --mac {{XX:XX:XX:XX:XX:XX}} {{interface}}`
- Reset interface to its permanent hardware MAC:
- Print the identifications (the first three bytes of a MAC address) of all known vendors:
`macchanger --list`
- Reset an interface to its permanent hardware MAC address:
`macchanger --permanent {{interface}}`