From b0c7acbdc02eff57841fc6f53ce12133cad129ab Mon Sep 17 00:00:00 2001 From: ivuorinen Date: Thu, 22 Feb 2024 00:13:00 +0000 Subject: [PATCH] Update cheatsheets --- tldr/clementine | 18 +++++++++--------- tldr/osx/tail | 2 +- tldr/searchsploit | 18 +++++++++++++----- tldr/tail | 2 +- 4 files changed, 24 insertions(+), 16 deletions(-) diff --git a/tldr/clementine b/tldr/clementine index 968593d8..32c73217 100644 --- a/tldr/clementine +++ b/tldr/clementine @@ -6,15 +6,15 @@ source: https://github.com/tldr-pages/tldr.git # clementine > A modern music player and library organizer. -> More information: . +> More information: . -- Open Clementine: +- Start the GUI or bring it to front: `clementine` -- Start playing a music file: +- Start playing music: -`clementine {{url/or/path/to/file.ext}}` +`clementine {{url|path/to/music.ext}}` - Toggle between pausing and playing: @@ -24,18 +24,18 @@ source: https://github.com/tldr-pages/tldr.git `clementine --stop` -- Skip to the next track: +- Skip to the next or previous track: -`clementine --next` +`clementine --{{next|previous}}` -- Skip to the previous track: +- Create a new playlist with one or more music files or URLs: -`clementine --previous` +`clementine --create {{url1 url2 ... | path/to/music1.ext path/to/music2.ext ...}}` - Load a playlist file: `clementine --load {{path/to/playlist.ext}}` -- Play the 5th track in the currently loaded playlist: +- Play a specific track in the currently loaded playlist: `clementine --play-track {{5}}` diff --git a/tldr/osx/tail b/tldr/osx/tail index 7b259a8f..fdf594ed 100644 --- a/tldr/osx/tail +++ b/tldr/osx/tail @@ -21,7 +21,7 @@ source: https://github.com/tldr-pages/tldr.git `tail -c {{8}} {{path/to/file}}` -- Print the last lines of a given file and keep reading file until `Ctrl + C`: +- Print the last lines of a given file and keep reading it until `Ctrl + C`: `tail -f {{path/to/file}}` diff --git a/tldr/searchsploit b/tldr/searchsploit index 46445929..7d45521e 100644 --- a/tldr/searchsploit +++ b/tldr/searchsploit @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # searchsploit -> Searchsploit searches exploit database's database for exploits, shellcodes and/or papers. +> Search Exploit Database for exploits, shellcodes and/or papers. > If known version numbers are used as search terms, exploits for both the exact version and others whose version range covers the one specified are shown. > More information: . @@ -21,14 +21,22 @@ source: https://github.com/tldr-pages/tldr.git `searchsploit --www {{search_terms}}` -- Make a copy of the resource to the current directory (requires the number of the exploit): +- Copy ([m]irror) the resource to the current directory (requires the number of the exploit): `searchsploit --mirror {{exploit_number}}` -- Open the resource to read with the pager defined in the `$PAGER` environment variable: +- E[x]amine the resource, using the pager defined in the `$PAGER` environment variable: -`searchsploit --explore {{exploit_number}}` +`searchsploit --examine {{exploit_number}}` -- Update the local exploit database: +- [u]pdate the local Exploit Database: `searchsploit --update` + +- Search for the [c]ommon [v]ulnerabilities and [e]xposures (CVE) value: + +`searchsploit --cve {{2021-44228}}` + +- Check results in `nmap`'s XML output with service version (`nmap -sV -oX nmap-output.xml`) for known exploits: + +`searchsploit --nmap {{path/to/nmap-output.xml}}` diff --git a/tldr/tail b/tldr/tail index 40d7411c..d4f5e9f4 100644 --- a/tldr/tail +++ b/tldr/tail @@ -21,7 +21,7 @@ source: https://github.com/tldr-pages/tldr.git `tail --bytes {{count}} {{path/to/file}}` -- Print the last lines of a given file and keep reading file until `Ctrl + C`: +- Print the last lines of a given file and keep reading it until `Ctrl + C`: `tail --follow {{path/to/file}}`