diff --git a/tldr/bloodhound-python b/tldr/bloodhound-python new file mode 100644 index 00000000..56f841b6 --- /dev/null +++ b/tldr/bloodhound-python @@ -0,0 +1,29 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# bloodhound-python + +> A Python ingestor for BloodHound, used to enumerate Active Directory relationships. +> More information: . + +- Collect all data using default collection methods (includes groups, sessions, and trusts): + +`bloodhound-python --username {{username}} --password {{password}} --domain {{domain}}` + +- Collect data using Kerberos authentication without requiring a plaintext password: + +`bloodhound-python --collectionmethod {{All}} --kerberos --domain {{domain}}` + +- Authenticate using NTLM hashes instead of a password: + +`bloodhound-python --collectionmethod {{All}} --username {{username}} --hashes {{LM:NTLM}} --domain {{domain}}` + +- Specify a custom name server for DNS queries: + +`bloodhound-python --collectionmethod {{All}} --username {{username}} --password {{password}} --domain {{domain}} --nameserver {{nameserver}}` + +- Save the output files as a compressed ZIP archive: + +`bloodhound-python --collectionmethod {{All}} --username {{username}} --password {{password}} --domain {{domain}} --zip` diff --git a/tldr/byobu b/tldr/byobu new file mode 100644 index 00000000..e4eeba49 --- /dev/null +++ b/tldr/byobu @@ -0,0 +1,30 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# byobu + +> Window manager and terminal multiplexer. +> See also: `tmux` and `screen`. +> More information: . + +- Start a new session: + +`byobu` + +- Configuration and help: + +`byobu-config` + +- Select tmux (default) or screen backend: + +`byobu-select-backend` + +- Enable automatic startup after login into text console: + +`byobu-enable` + +- Disable automatic startup after login into text console: + +`byobu-disable` diff --git a/tldr/linux/kde-builder b/tldr/linux/kde-builder index 25d21f2e..37d07b22 100644 --- a/tldr/linux/kde-builder +++ b/tldr/linux/kde-builder @@ -11,7 +11,7 @@ source: https://github.com/tldr-pages/tldr.git - Initialize `kde-builder`: -`kde-builder --initial-setup` +`kde-builder --generate-config && kde-builder --install-distro-packages` - Compile a KDE component and its dependencies from the source: @@ -27,7 +27,7 @@ source: https://github.com/tldr-pages/tldr.git - Resume compilation from a specific dependency: -`kde-builder --resume-from={{dependency_component}} {{component_name}}` +`kde-builder --resume-from {{dependency_component}} {{component_name}}` - Run a component with a specified executable name: diff --git a/tldr/mpremote b/tldr/mpremote new file mode 100644 index 00000000..96c37c17 --- /dev/null +++ b/tldr/mpremote @@ -0,0 +1,29 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# mpremote + +> Remotely control MicroPython devices. +> More information: . + +- List all connected MicroPython devices: + +`mpremote connect list` + +- Open an interactive REPL session with a connected device: + +`mpremote connect {{device}}` + +- Run a local script on a connected device: + +`mpremote run {{path/to/script.py}}` + +- Mount a local directory to the device: + +`mpremote mount {{path/to/directory}}` + +- Install a mip package on the device: + +`mpremote mip install {{package}}` diff --git a/tldr/proxify b/tldr/proxify new file mode 100644 index 00000000..82bf6b20 --- /dev/null +++ b/tldr/proxify @@ -0,0 +1,26 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# proxify + +> A versatile and portable proxy for capturing, manipulating, and replaying HTTP/HTTPS traffic on the go. +> See also: `mitmproxy`. +> More information: . + +- Start a HTTP proxy (on the loopback network interface `127.0.0.1` port `8888`): + +`proxify` + +- Start a HTTP proxy on a custom network interface and port (may require `sudo` for a port number lower than `1024`): + +`proxify -http-addr "{{network_interface}}:{{port_number}}"` + +- Specify output format and output file: + +`proxify -output-format {{jsonl|yaml}} -output {{path/to/file}}` + +- Display help: + +`proxify -h` diff --git a/tldr/socat b/tldr/socat index 759fdb61..b52bf359 100644 --- a/tldr/socat +++ b/tldr/socat @@ -23,3 +23,11 @@ source: https://github.com/tldr-pages/tldr.git - Forward incoming data of a local port to another host and port: `sudo socat TCP-LISTEN:80,fork TCP4:www.example.com:80` + +- Send data with multicast routing scheme: + +`{{echo "Hello Multicast"}} | socat - UDP4-DATAGRAM:{{224.0.0.1}}:{{5000}}` + +- Receive data from a multicast: + +`socat - UDP4-RECVFROM:{{5000}}`