mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-15 20:48:55 +00:00
Update cheatsheets
This commit is contained in:
25
tldr/linux/autorecon
Normal file
25
tldr/linux/autorecon
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# autorecon
|
||||
|
||||
> A multi-threaded network reconnaissance tool which performs automated enumeration of services.
|
||||
> More information: <https://github.com/Tib3rius/AutoRecon>.
|
||||
|
||||
- Perform reconnaissance on target host(s) (detailed scan results will be dumped in `./results`):
|
||||
|
||||
`sudo autorecon {{host_or_ip1,host_or_ip2,...}}`
|
||||
|
||||
- Perform reconnaissance on [t]arget(s) from a file:
|
||||
|
||||
`sudo autorecon --target-file {{path/to/file}}`
|
||||
|
||||
- [o]utput results to a different directory:
|
||||
|
||||
`sudo autorecon --output {{path/to/results}} {{host_or_ip1,host_or_ip2,...}}`
|
||||
|
||||
- Limit scanning to specific [p]orts and protocols (`T` for TCP, `U` for UDP, `B` for both):
|
||||
|
||||
`sudo autorecon --ports {{T:21-25,80,443,U:53,B:123}} {{host_or_ip1,host_or_ip2,...}}`
|
||||
43
tldr/linux/dnf5
Normal file
43
tldr/linux/dnf5
Normal file
@@ -0,0 +1,43 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# dnf5
|
||||
|
||||
> Package management utility for RHEL, Fedora, and CentOS (it replaces dnf, which in turn replaced yum).
|
||||
> DNF5 is a C++ rewrite of the DNF package manager featuring improved performance and a smaller size.
|
||||
> For equivalent commands in other package managers, see <https://wiki.archlinux.org/title/Pacman/Rosetta>.
|
||||
> More information: <https://dnf5.readthedocs.io/>.
|
||||
|
||||
- Upgrade installed packages to the newest available versions:
|
||||
|
||||
`sudo dnf5 upgrade`
|
||||
|
||||
- Search packages via keywords:
|
||||
|
||||
`dnf5 search {{keyword1 keyword2 ...}}`
|
||||
|
||||
- Display details about a package:
|
||||
|
||||
`dnf5 info {{package}}`
|
||||
|
||||
- Install new packages (Note: use `-y` to confirm all prompts automatically):
|
||||
|
||||
`sudo dnf5 install {{package1 package2 ...}}`
|
||||
|
||||
- Remove packages:
|
||||
|
||||
`sudo dnf5 remove {{package1 package2 ...}}`
|
||||
|
||||
- List installed packages:
|
||||
|
||||
`dnf5 list --installed`
|
||||
|
||||
- Find which packages provide a given command:
|
||||
|
||||
`dnf5 provides {{command}}`
|
||||
|
||||
- Remove or expire cached data:
|
||||
|
||||
`sudo dnf5 clean all`
|
||||
17
tldr/linux/eu-readelf
Normal file
17
tldr/linux/eu-readelf
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# eu-readelf
|
||||
|
||||
> Displays information about ELF files.
|
||||
> More information: <https://manned.org/eu-readelf>.
|
||||
|
||||
- Display all extractable information contained in the ELF file:
|
||||
|
||||
`eu-readelf --all {{path/to/file}}`
|
||||
|
||||
- Display the contents of all NOTE segments/sections, or of a particular segment/section:
|
||||
|
||||
`eu-readelf --notes[={{.note.ABI-tag}}] {{path/to/file}}`
|
||||
Reference in New Issue
Block a user