Skip to content

Commit

Permalink
Update pages
Browse files Browse the repository at this point in the history
  • Loading branch information
jiripospisil committed Mar 8, 2024
1 parent 794d6c5 commit fd9c523
Show file tree
Hide file tree
Showing 621 changed files with 3,913 additions and 848 deletions.
2 changes: 1 addition & 1 deletion build.zig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const std = @import("std");
const Allocator = std.mem.Allocator;

const VERSION = "0.0.16";
const VERSION = "0.0.17";

fn embedData(b: *std.Build, exe: *std.Build.Step.Compile) !void {
var options = b.addOptions();
Expand Down
6 changes: 3 additions & 3 deletions pages/android/am.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# am

> Android activity manager.
> More information: <https://developer.android.com/studio/command-line/adb#am>.
> More information: <https://developer.android.com/tools/adb#am>.
- Start a specific activity:
- Start the activity with a specific component and package [n]ame:

`am start -n {{com.android.settings/.Settings}}`

- Start an activity and pass [d]ata to it:
- Start an intent [a]ction and pass [d]ata to it:

`am start -a {{android.intent.action.VIEW}} -d {{tel:123}}`

Expand Down
2 changes: 1 addition & 1 deletion pages/android/dalvikvm.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# dalvikvm

> Android Java virtual machine.
> More information: <https://source.android.com/devices/tech/dalvik>.
> More information: <https://source.android.com/docs/core/runtime>.
- Start a specific Java program:

Expand Down
4 changes: 2 additions & 2 deletions pages/android/dumpsys.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

> Provide information about Android system services.
> This command can only be used through `adb shell`.
> More information: <https://developer.android.com/studio/command-line/dumpsys>.
> More information: <https://developer.android.com/tools/dumpsys>.
- Get diagnostic output for all system services:

Expand All @@ -24,6 +24,6 @@

`dumpsys --skip {{service}}`

- Specify a timeout period in seconds (defaults to 10s):
- Specify a [t]imeout period in seconds (defaults to 10s):

`dumpsys -t {{8}}`
4 changes: 2 additions & 2 deletions pages/android/logcat.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# logcat

> Dump a log of system messages, including stack traces when an error occurred, and information messages logged by applications.
> More information: <https://developer.android.com/studio/command-line/logcat>.
> More information: <https://developer.android.com/tools/logcat>.
- Display system logs:

`logcat`

- Write system logs to a file:
- Write system logs to a [f]ile:

`logcat -f {{path/to/file}}`

Expand Down
6 changes: 3 additions & 3 deletions pages/android/pm.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# pm

> Display information about apps on an Android device.
> More information: <https://developer.android.com/studio/command-line/adb#pm>.
> More information: <https://developer.android.com/tools/adb#pm>.
- List all installed apps:

`pm list packages`

- List all installed system apps:
- List all installed [s]ystem apps:

`pm list packages -s`

- List all installed 3rd-Party apps:
- List all installed [3]rd-party apps:

`pm list packages -3`

Expand Down
2 changes: 1 addition & 1 deletion pages/android/screencap.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

> Take a screenshot of a mobile display.
> This command can only be used through `adb shell`.
> More information: <https://developer.android.com/studio/command-line/adb#screencap>.
> More information: <https://developer.android.com/tools/adb#screencap>.
- Take a screenshot:

Expand Down
4 changes: 2 additions & 2 deletions pages/android/wm.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
- Display the physical size of an Android device's screen:

`wm {{size}}`
`wm size`

- Display the physical density of an Android device's screen:

`wm {{density}}`
`wm density`
4 changes: 4 additions & 0 deletions pages/common/!.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,7 @@
- Substitute with the arguments of the latest command:

`{{command}} !*`

- Substitute with the last argument of the latest command:

`{{command}} !$`
17 changes: 17 additions & 0 deletions pages/common/^.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Caret

> Bash builtin to quick substitute a string in the previous command and run the result.
> Equivalent to `!!:s^string1^string2`.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#Event-Designators>.
- Run the previous command replacing `string1` with `string2`:

`^{{string1}}^{{string2}}`

- Remove `string1` from the previous command:

`^{{string1}}^`

- Replace `string1` with `string2` in the previous command and add `string3` to its end:

`^{{string1}}^{{string2}}^{{string3}}`
3 changes: 1 addition & 2 deletions pages/common/aapt.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# aapt

> Android Asset Packaging Tool.
> Compile and package an Android app's resources.
> Android Asset Packaging Tool: compile and package an Android app's resources.
> More information: <https://elinux.org/Android_aapt>.
- List files contained in an APK archive:
Expand Down
2 changes: 1 addition & 1 deletion pages/common/ab.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

`ab -k {{url}}`

- Set the maximum number of seconds ([t]imeout) to spend for benchmarking:
- Set the maximum number of seconds ([t]imeout) to spend for benchmarking (30 by default):

`ab -t {{60}} {{url}}`

Expand Down
2 changes: 1 addition & 1 deletion pages/common/ac.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@

`ac -p {{username}}`

- Print how long a particular user has been connected in hours per day (with total):
- Print how long a particular user has been connected in hours per [d]ay (with total):

`ac -dp {{username}}`
10 changes: 5 additions & 5 deletions pages/common/adb-install.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# adb install

> Android Debug Bridge Install: Push packages to an Android emulator instance or connected Android devices.
> More information: <https://developer.android.com/studio/command-line/adb>.
> Android Debug Bridge Install: push packages to an Android emulator instance or connected Android devices.
> More information: <https://developer.android.com/tools/adb>.
- Push an Android application to an emulator/device:

Expand All @@ -11,15 +11,15 @@

`adb -s {{serial_number}} install {{path/to/file.apk}}`

- Reinstall an existing app, keeping its data:
- [r]einstall an existing app, keeping its data:

`adb install -r {{path/to/file.apk}}`

- Push an Android application allowing version code downgrade (debuggable packages only):
- Push an Android application allowing version code [d]owngrade (debuggable packages only):

`adb install -d {{path/to/file.apk}}`

- Grant all permissions listed in the app manifest:
- [g]rant all permissions listed in the app manifest:

`adb install -g {{path/to/file.apk}}`

Expand Down
4 changes: 2 additions & 2 deletions pages/common/adb-logcat.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# adb logcat

> Dump a log of system messages.
> More information: <https://developer.android.com/studio/command-line/logcat>.
> More information: <https://developer.android.com/tools/logcat>.
- Display system logs:

`adb logcat`

- Display lines that match a regular expression:
- Display lines that match a regular [e]xpression:

`adb logcat -e {{regular_expression}}`

Expand Down
2 changes: 1 addition & 1 deletion pages/common/adb-reverse.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# adb reverse

> Android Debug Bridge Reverse: reverse socket connections from an Android emulator instance or connected Android devices.
> More information: <https://developer.android.com/studio/command-line/adb>.
> More information: <https://developer.android.com/tools/adb>.
- List all reverse socket connections from emulators and devices:

Expand Down
4 changes: 2 additions & 2 deletions pages/common/adb-shell.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# adb shell

> Android Debug Bridge Shell: Run remote shell commands on an Android emulator instance or connected Android devices.
> More information: <https://developer.android.com/studio/command-line/adb>.
> Android Debug Bridge Shell: run remote shell commands on an Android emulator instance or connected Android devices.
> More information: <https://developer.android.com/tools/adb>.
- Start a remote interactive shell on the emulator or device:

Expand Down
2 changes: 1 addition & 1 deletion pages/common/adb.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

> Android Debug Bridge: communicate with an Android emulator instance or connected Android devices.
> Some subcommands such as `adb shell` have their own usage documentation.
> More information: <https://developer.android.com/studio/command-line/adb>.
> More information: <https://developer.android.com/tools/adb>.
- Check whether the adb server process is running and start it:

Expand Down
2 changes: 1 addition & 1 deletion pages/common/adguardhome.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

`AdGuardHome --config {{path/to/AdGuardHome.yaml}}`

- Set the work directory for data to be stored in:
- Store the data in a specific work directory:

`AdGuardHome --work-dir {{path/to/directory}}`

Expand Down
4 changes: 2 additions & 2 deletions pages/common/ag.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@

`ag {{foo}} {{path/to/directory}}`

- Find files containing "foo", but only list the filenames:
- Find files containing "foo", but only [l]ist the filenames:

`ag -l {{foo}}`

- Find files containing "FOO" case-insensitively, and print only the match, rather than the whole line:
- Find files containing "FOO" case-[i]nsensitively, and print [o]nly the match, rather than the whole line:

`ag -i -o {{FOO}}`

Expand Down
2 changes: 1 addition & 1 deletion pages/common/age-keygen.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@

`age-keygen --output {{path/to/file}}`

- Convert an identity to a recipient and print the public key to `stdout`:
- Convert an identit[y] to a recipient and print the public key to `stdout`:

`age-keygen -y {{path/to/file}}`
2 changes: 1 addition & 1 deletion pages/common/airdecap-ng.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

`airdecap-ng -b {{ap_mac}} {{path/to/capture.cap}}`

- Decrypt a WEP encrypted capture file using the key in hex format:
- Decrypt a [w]EP encrypted capture file using the key in hex format:

`airdecap-ng -w {{hex_key}} {{path/to/capture.cap}}`

Expand Down
10 changes: 9 additions & 1 deletion pages/common/airodump-ng.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,18 @@
> Part of `aircrack-ng`.
> More information: <https://www.aircrack-ng.org/doku.php?id=airodump-ng>.
- Capture packets and display information about a wireless network:
- Capture packets and display information about wireless network(s) on the 2.4GHz band:

`sudo airodump-ng {{interface}}`

- Capture packets and display information about wireless network(s) on the 5GHz band:

`sudo airodump-ng {{interface}} --band a`

- Capture packets and display information about wireless network(s) on both 2.4GHz and 5GHz bands:

`sudo airodump-ng {{interface}} --band abg`

- Capture packets and display information about a wireless network given the MAC address and channel, and save the output to a file:

`sudo airodump-ng --channel {{channel}} --write {{path/to/file}} --bssid {{mac}} {{interface}}`
4 changes: 2 additions & 2 deletions pages/common/alacritty.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@

`alacritty --working-directory {{path/to/directory}}`

- Run a command in a new Alacritty window:
- [e]xecute a command in a new Alacritty window:

`alacritty -e {{command}}`

- Specify alternative configuration file (defaults to `$XDG_CONFIG_HOME/alacritty/alacritty.yml`):
- Use an alternative configuration file (defaults to `$XDG_CONFIG_HOME/alacritty/alacritty.yml`):

`alacritty --config-file {{path/to/config.yml}}`

Expand Down
2 changes: 1 addition & 1 deletion pages/common/alex.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# alex

> A tool that catches insensitive, inconsiderate writing.
> Catch insensitive, inconsiderate writing.
> It helps you find gender favouring, polarising, race related, religion inconsiderate, or other unequal phrasing in text.
> More information: <https://github.com/get-alex/alex>.
Expand Down
4 changes: 2 additions & 2 deletions pages/common/amass-db.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@

`amass db -dir {{path/to/database_directory}} -list`

- Show results for a specified enumeration index and domain name:
- Show results for a specified enumeration index and [d]omain name:

`amass db -dir {{path/to/database_directory}} -d {{domain_name}} -enum {{index_from_list}} -show`

- List all found subdomains of a domain within an enumeration:
- List all found subdomains of a [d]omain within an enumeration:

`amass db -dir {{path/to/database_directory}} -d {{domain_name}} -enum {{index_from_list}} -names`

Expand Down
4 changes: 2 additions & 2 deletions pages/common/amass-enum.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
> Find subdomains of a domain.
> More information: <https://github.com/OWASP/Amass/blob/master/doc/user_guide.md#the-enum-subcommand>.
- Passively find subdomains of a domain:
- Passively find subdomains of a [d]omain:

`amass enum -passive -d {{domain_name}}`

- Find subdomains of a domain and actively verify them attempting to resolve the found subdomains:
- Find subdomains of a [d]omain and actively verify them attempting to resolve the found subdomains:

`amass enum -active -d {{domain_name}} -p {{80,443,8080}}`

Expand Down
2 changes: 1 addition & 1 deletion pages/common/amass-intel.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

`amass intel -active -addr {{192.168.0.1-254}}`

- Find root domains related to a domain:
- Find root domains related to a [d]omain:

`amass intel -whois -d {{domain_name}}`

Expand Down
2 changes: 1 addition & 1 deletion pages/common/androguard.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# androguard

> Reverse engineering tool for Android applications. Written in Python.
> Reverse engineer Android applications. Written in Python.
> More information: <https://github.com/androguard/androguard>.
- Display Android app manifest:
Expand Down
10 changes: 5 additions & 5 deletions pages/common/ani-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,22 @@

`ani-cli "{{anime_name}}"`

- Download episode:
- [d]ownload episode:

`ani-cli -d "{{anime_name}}"`

- Use VLC as the media player:
- Use [v]LC as the media player:

`ani-cli -v "{{anime_name}}"`

- Specify episode to watch:
- Watch a specific [e]pisode:

`ani-cli -e {{episode_number}} "{{anime_name}}"`

- Continue watching anime from history:
- [c]ontinue watching anime from history:

`ani-cli -c`

- Update `ani-cli`:
- [U]pdate `ani-cli`:

`ani-cli -U`
Loading

0 comments on commit fd9c523

Please sign in to comment.