Some notes and techniques for reverse engineering Webpack (and a little bit about React/Vue/Angular) apps.
This file contains 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
#!/bin/bash | |
# Update on 2024/05/29 | |
# 1. use wget to fetch latest frp version when curl was not installed | |
# 2. Remind users that frp will be run in non-root user | |
# 3. Add CI | |
# | |
# Update on 2024/04/13 | |
# 1. Improved OS compatibility: try wget and then curl for downloading files. | |
# | |
# Update on 2024/01/26 |
This file contains 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
Show hidden characters
{ | |
"rulesDirectory": ["node_modules/@nrwl/workspace/src/tslint", "node_modules/codelyzer"], | |
"extends": ["rxjs-tslint-rules", "ngrx-tslint-rules/recommended", "tslint:recommended"], | |
"linterOptions": { | |
"exclude": ["**/*"] | |
}, | |
"rules": { | |
"arrow-return-shorthand": true, | |
"ban-types": [ | |
true, |
This file contains 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
<# | |
.DESCRIPTION | |
Copies the Windows Spotlight lock screen images in Windows 10 to a "Windows Spotlight" folder in My Pictures. | |
This script will intelligently sort through the temporary directory and will only copy images | |
that are 1920x1080. Since the filenames of the images can change, the script will also compare | |
SHA1 hashes of the existing so we don't copy duplicates. | |
.NOTES | |
Version: 1.0.4 |
*update: TBC, but this new might affect how easy it is to use this technique past August 2024: Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August
This gist, based in part on a gist by Brian Hartvigsen, allows you to export from Authy your TOTP tokens you have stored there.
Those can be "standard" 6-digits / 30 secs tokens, or Authy's own version, the 7-digits / 10 secs tokens.
This file contains 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
function logClass(target: any) { | |
// save a reference to the original constructor | |
var original = target; | |
// a utility function to generate instances of a class | |
function construct(constructor, args) { | |
var c : any = function () { | |
return constructor.apply(this, args); | |
} |
This file contains 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
$OutputEncoding = New-Object -typename System.Text.UTF8Encoding | |
[Console]::OutputEncoding = New-Object -typename System.Text.UTF8Encoding |