mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-04 20:43:59 +00:00
Update cheatsheets
This commit is contained in:
@@ -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
17
tldr/linux/intercept
Normal 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
25
tldr/linux/mux
Normal 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
14
tldr/linux/udevmon
Normal 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
21
tldr/linux/uinput
Normal 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 ...}}`
|
||||
Reference in New Issue
Block a user