Update cheatsheets

This commit is contained in:
ivuorinen
2025-06-01 00:24:58 +00:00
parent 17ca2e244e
commit 856ab03c8f
5 changed files with 81 additions and 0 deletions

View File

@@ -13,6 +13,10 @@ source: https://github.com/tldr-pages/tldr.git
`aircrack-ng -w {{path/to/wordlist.txt}} {{path/to/capture.cap}}`
- Crack key using multiple CPU threads from capture file using [w]ordlist:
`aircrack-ng -p {{number}} -w {{path/to/wordlist.txt}} {{path/to/capture.cap}}`
- Crack key from capture file using [w]ordlist and the access point's [e]ssid:
`aircrack-ng -w {{path/to/wordlist.txt}} -e {{essid}} {{path/to/capture.cap}}`

17
tldr/linux/intercept Normal file
View File

@@ -0,0 +1,17 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# intercept
> Read raw input events from a specified input event device and redirect it to stdout.
> More information: <https://gitlab.com/interception/linux/tools/-/tree/master?ref_type=heads#intercept>.
- Read and output raw input events from a given input device file (the system will not see any key presses):
`sudo intercept -g {{/dev/input/eventX}}`
- Read and output raw input events from a given input device file (the system can see key presses and does not block other programs from reading them):
`sudo intercept {{/dev/input/eventX}}`

25
tldr/linux/mux Normal file
View File

@@ -0,0 +1,25 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# mux
> Intercept and multiplex streams of input events.
> More information: <https://gitlab.com/interception/linux/tools/-/tree/master?ref_type=heads#mux>.
- Create a new muxer with a specified name:
`mux -c {{muxer_name1 muxer_name2 ...}}`
- Set the muxer's internal queue size (default is 100):
`mux -s {{size}}`
- Read input from a named muxer (can be repeated in "switch mode"):
`mux -i {{input_muxer_name}}`
- Write output to a named muxer (can be repeated):
`mux -o {{output_muxer_name}}`

14
tldr/linux/udevmon Normal file
View File

@@ -0,0 +1,14 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# udevmon
> Intercept and monitor input devices for launching tasks.
> Filters or modifies events according to configuration file(s) (default: `/etc/interception/udevmon.d/*.yaml`).
> More information: <https://gitlab.com/interception/linux/tools/-/tree/master?ref_type=heads#udevmon>.
- Start udevmon with specified configuration file:
`udevmon -c {{path/to/config.yaml}}`

21
tldr/linux/uinput Normal file
View File

@@ -0,0 +1,21 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# uinput
> Intercept and write input events to a virtual keyboard device using /dev/uinput.
> More information: <https://gitlab.com/interception/linux/tools/-/tree/master?ref_type=heads#uinput>.
- Show resulting YAML device description merge and exit (dry-run):
`uinput -p`
- Merge YAML device description(s) to resulting virtual device:
`sudo uinput -c {{path/to/device1.yaml path/to/device2.yaml ...}}`
- Merge reference device description from device node(s) to resulting virtual device:
`sudo uinput -d {{/dev/input/eventX /dev/input/eventY ...}}`