diff --git a/tldr/btop b/tldr/btop index 31e52ae8..2e593c46 100644 --- a/tldr/btop +++ b/tldr/btop @@ -28,3 +28,7 @@ source: https://github.com/tldr-pages/tldr.git - Set the update rate to 500 milliseconds: `btop --update 500` + +- Exit `btop`: + +`` diff --git a/tldr/getuserspns.py b/tldr/getuserspns.py new file mode 100644 index 00000000..a1f861b5 --- /dev/null +++ b/tldr/getuserspns.py @@ -0,0 +1,30 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# GetUserSPNs.py + +> Retrieve Service Principal Names (SPNs) associated with Active Directory user accounts. +> Part of the Impacket suite. +> More information: . + +- Enumerate user accounts with an SPN and request their Kerberos TGS tickets: + +`GetUserSPNs.py {{domain}}/{{username}}:{{password}} -dc-ip {{domain_controller_ip}}` + +- Use pass-the-hash authentication: + +`GetUserSPNs.py {{domain}}/{{username}} -hashes {{LM_Hash}}:{{NT_Hash}} -dc-ip {{domain_controller_ip}}` + +- Save the output to a file: + +`GetUserSPNs.py {{domain}}/{{username}}:{{password}} -dc-ip {{domain_controller_ip}} -outputfile {{output_file}}` + +- Request only TGS tickets: + +`GetUserSPNs.py {{domain}}/{{username}}:{{password}} -dc-ip {{domain_controller_ip}} -request` + +- Request only TGS tickets using pass-the-hash authentication: + +`GetUserSPNs.py {{domain}}/{{username}} -dc-ip {{domain_controller_ip}} -hashes {{LM_Hash}}:{{NT_Hash}} -request` diff --git a/tldr/impacket-getuserspns b/tldr/impacket-getuserspns new file mode 100644 index 00000000..c40fe41e --- /dev/null +++ b/tldr/impacket-getuserspns @@ -0,0 +1,14 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# impacket-GetUserSPNs + +> This command is an alias of `GetUserSPNs.py`. +> Part of the Impacket suite. +> More information: . + +- View documentation for the original command: + +`tldr GetUserSPNs.py` diff --git a/tldr/linux/fluidsynth b/tldr/linux/fluidsynth index 6bc3e442..cfef6f68 100644 --- a/tldr/linux/fluidsynth +++ b/tldr/linux/fluidsynth @@ -10,4 +10,8 @@ source: https://github.com/tldr-pages/tldr.git - Play a MIDI file: -`fluidsynth --audio-driver={{pipewire|pulseaudio}} {{path/to/soundfont.sf2}} {{path/to/file.midi}}` +`fluidsynth {{path/to/soundfont.sf2}} {{path/to/file.midi}}` + +- Specify the audio driver: + +`fluidsynth {{[-a|--audio-driver]}} {{pipewire|pulseaudio}} {{path/to/soundfont.sf2}} {{path/to/file.midi}}` diff --git a/tldr/linux/lbu b/tldr/linux/lbu index e70fa4de..06a4d31c 100644 --- a/tldr/linux/lbu +++ b/tldr/linux/lbu @@ -11,11 +11,11 @@ source: https://github.com/tldr-pages/tldr.git - Commit changes to persistent storage (only files in `/etc` by default): -`lbu {{ci|commit}}` +`lbu {{[ci|commit]}}` - List files that would be saved using `commit`: -`lbu {{st|status}}` +`lbu {{[st|status]}}` - Display changes in tracked files that would be saved using `commit`: @@ -23,19 +23,19 @@ source: https://github.com/tldr-pages/tldr.git - Include a specific file or directory in the `apk` overlay: -`lbu {{add|inc|include}} {{path/to/file_or_directory}}` +`lbu {{[inc|include]}} {{path/to/file_or_directory}}` - Exclude a specific file or directory in `/etc` from the `apk` overlay: -`lbu {{ex|exclude|delete}} {{path/to/file_or_directory}}` +`lbu {{[ex|exclude]}} {{path/to/file_or_directory}}` - Display the list of manually included/excluded files: -`lbu {{inc|include|ex|exclude}} -l` +`lbu {{include|exclude}} -l` - List backups (previously created overlays): -`lbu {{lb|list-backup}}` +`lbu {{[lb|list-backup]}}` - Revert to a backup overlay: diff --git a/tldr/linux/resize b/tldr/linux/resize new file mode 100644 index 00000000..e7585977 --- /dev/null +++ b/tldr/linux/resize @@ -0,0 +1,17 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# resize + +> Resize terminal size to the window size. +> More information: . + +- Resize the terminal: + +`resize` + +- Print terminal size: + +`resize -s` diff --git a/tldr/linux/uname b/tldr/linux/uname index 72824974..09b4c7da 100644 --- a/tldr/linux/uname +++ b/tldr/linux/uname @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # uname -> Uname prints information about the machine and operating system it is run on. +> Print details about the current machine and the operating system running on it. > More information: . - Print all information: diff --git a/tldr/ulimit b/tldr/ulimit index 10a7f8ba..8797fd3f 100644 --- a/tldr/ulimit +++ b/tldr/ulimit @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # ulimit -> Get and set user limits. +> Get and set resource limits for user processes. > More information: . - Get the properties of all the user limits: diff --git a/tldr/vagrant-validate b/tldr/vagrant-validate new file mode 100644 index 00000000..15f76504 --- /dev/null +++ b/tldr/vagrant-validate @@ -0,0 +1,18 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# vagrant validate + +> Check the validity of a Vagrantfile. +> See also: `vagrant`, `vagrant box`, `vagrant plugin`. +> More information: . + +- Validate the syntax of the Vagrantfile to ensure it is correctly structured and free of errors: + +`vagrant validate` + +- Ensure that the Vagrantfile is correctly structured while ignoring provider-specific configuration options: + +`vagrant validate {{[-p|--ignore-provider]}} {{docker|hypervlibvirt|parallels|qemu|virtualbox|vmware_desktop}`