Update cheatsheets

This commit is contained in:
ivuorinen
2025-06-16 00:21:27 +00:00
parent 27e9052087
commit 79690d7a3a
4 changed files with 44 additions and 4 deletions

22
tldr/flutterfire Normal file
View File

@@ -0,0 +1,22 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# flutterfire
> Configure a Firebase project for your Flutter app.
> Note: Requires Firebase CLI and FlutterFire CLI to be installed.
> More information: <https://firebase.google.com/docs/flutter/setup>.
- Initialize and configure Firebase for your current Flutter app:
`flutterfire configure`
- Specify platforms (iOS, Android, web) to support:
`flutterfire configure --platforms {{ios,android,...}}`
- Use a specific Firebase project:
`flutterfire configure --project {{project_id}}`

View File

@@ -11,11 +11,11 @@ source: https://github.com/tldr-pages/tldr.git
- Enumerate users with Kerberos pre-authentication disabled (default anonymous enumeration):
`GetNPUsers.py {{domain}}/ -usersfile {{path/to/userslist}} -dc-ip {{domain_controller_ip}}`
`GetNPUsers.py {{domain}}/ -usersfile {{path/to/userslist}} -dc-ip {{domain_controller_ip}} -no-pass`
- Perform AS-REP roasting and dump crackable hashes for offline cracking:
`GetNPUsers.py {{domain}}/ -usersfile {{path/to/userslist}} -dc-ip {{domain_controller_ip}} -request`
`GetNPUsers.py {{domain}}/ -usersfile {{path/to/userslist}} -dc-ip {{domain_controller_ip}} -no-pass -request`
- Authenticate with valid credentials (if anonymous binding is disabled):

View File

@@ -15,7 +15,7 @@ source: https://github.com/tldr-pages/tldr.git
- Archive a file keeping the input file:
`p7zip {{[-k|--heep]}} {{path/to/file}}`
`p7zip {{[-k|--keep]}} {{path/to/file}}`
- Decompress a file, replacing it with the original uncompressed version:
@@ -23,7 +23,7 @@ source: https://github.com/tldr-pages/tldr.git
- Decompress a file keeping the input file:
`p7zip {{[-d|--decompress]}} {{[-k|--heep]}} {{compressed.ext}}.7z`
`p7zip {{[-d|--decompress]}} {{[-k|--keep]}} {{compressed.ext}}.7z`
- Skip some checks and force compression or decompression:

18
tldr/python-m-json.tool Normal file
View File

@@ -0,0 +1,18 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# python -m json.tool
> Validate and pretty-print JSON data.
> Part of Python's standard library.
> More information: <https://docs.python.org/library/json.html#module-json.tool>.
- Pretty-print JSON from a file:
`python -m json.tool {{path/to/file.json}}`
- Validate and pretty-print JSON from standard input:
`echo '{{{"key": "value"}}}' | python -m json.tool`