Some notes and techniques for reverse engineering Webpack (and a little bit about React/Vue/Angular) apps.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /usr/bin/env bash | |
| # Author: Artfaith | |
| # Date: 2021 | |
| # Related: https://stackoverflow.com/questions/66357451/why-does-signing-a-certificate-require-cacreateserial-argument | |
| # -------------------------- # | |
| # User variables # | |
| # -------------------------- # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /usr/bin/env bash | |
| _totalSize=0; | |
| _Fmt() ( numfmt --from=iec --to=iec --suffix B --format='%0.2f' -- "${1}K"; ); | |
| _DirSize() ( sudo -- bash -c 'if [[ -d "$1" ]]; then du -ks -- "$1" | cut -f1; else printf ?; fi;' - "$1"; ); | |
| _TreePath() ( sudo -- tree -avr --charset=ascii --dirsfirst --du -- "$1"; ); | |
| _PreviewLayers() | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /usr/bin/env bash | |
| # Tested on p7zip Version 16.02 | |
| _Main() | |
| { | |
| declare __manifestFilepath="$1"; | |
| shift; | |
| if [[ ! "$__manifestFilepath" =~ \.txt$ ]]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <sys/ioctl.h> | |
| #include <unistd.h> | |
| #include <stdio.h> | |
| int main(void) | |
| { | |
| struct winsize ws; | |
| ioctl(STDIN_FILENO, TIOCGWINSZ, &ws); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <fcntl.h> | |
| int main(int argc, char* argv[]) | |
| { | |
| if (argc < 2) { | |
| return(2); | |
| } | |
| if (open(argv[1], O_TRUNC | O_WRONLY) < 0) { | |
| return(1); |
May the previous years define an increase...
Treasures to carry, and goals to receive...
These are now safe, and cherished in seeds...
Secured by time, and the future it sees...
May the next year support you in peace...
So wishes appear in the world as it seems...
To be reified from the Universe breeze...
To continue believing in miracles' dreams...
~ /\
While implementing the quick experiment for Steam desktop notification toasts size scaling (i.e. https://github.com/serious-angel/steam-client-custom-toasts, the source had the following object that may suggest supported devices by Steam, at least, for the current Steam desktop client version, with the Webpack transpiled chunks versioned as 2dcc5aaf7 (2025-10-26):
h = {
[-1]: "controller_none",
20: "controller_unknown",
0: "controller_unknown",
1: "controller_generic",
2: "controller_steamcontroller_gordon",
3: "controller_steamcontroller_unknown",
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /usr/bin/env bash | |
| declare c=0; | |
| _PidTree() | |
| { | |
| declare __pid="$1"; | |
| shift || return 2; | |
| declare stat=(); readarray -td ' ' stat < "/proc/${__pid}/stat"; |
$ ls -lA '~/.local/exec-scripts/';
total 4
-rwxrwxr-x 1 user user 927 Jan 25 13:20 git-file-size-diff.sh$ export PATH="${PATH}${PATH:+:}${HOME}/.local/exec-scripts";
$ git log;OlderNewer