Some notes and techniques for reverse engineering Webpack (and a little bit about React/Vue/Angular) apps.
Figured it would make sense to create a single gist collating my previous deep dive explorations and notes.. so here it is!
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
function stringToBytes(t) { | |
for (var e = [], i = 0; i < t.length; i++) e.push(255 & t.charCodeAt(i)); | |
return e; | |
} | |
function bytesToString(t) { | |
for (var e = [], i = 0; i < t.length; i++) e.push(String.fromCharCode(t[i])); | |
return e.join(''); | |
} |
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
[ "$UID" -eq 0 ] || exec sudo "$0" "$@" | |
su | |
apt install unzip curl ; rm -rf /tmp/acun* | |
apt install libxdamage1 libgtk-3-0 libasound2 libnss3 libxss1 libx11-xcb1 -y | |
cd /tmp; rm master.zip -f | |
curl -L -o master.zip http://github.com/neolead/acunetix-linux/zipball/master/ | |
unzip master.zip | |
cd `ls|grep neolead` && cat acupatch* > acupatch.tgz | |
tar -zxvf acupatch.tgz | |
chmod +x ./acunetix_trial.sh |
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
<?php | |
/** | |
* Escape markdown text | |
* | |
* @param string $text The markdown text to escape | |
* | |
* @return string Escaped text | |
*/ | |
function markdown_escape($text) { | |
// Define a regex pattern for all special characters in markdown |
- Dissecting Go Binaries
- Go: Overview of the Compiler
- Go compiler internals: adding a new statement to Go - Part 1
- Go compiler internals: adding a new statement to Go - Part 2
- Reversing GO binaries like a pro
- How a Go Program Compiles down to Machine Code
- Analyzing Golang Executables
- Go Reverse Engineering Tool Kit
- go-internals book
- [Reconstructing Program Semantics from Go Binaries](http://home.in.tum.de/
- 📙 Biblia de Rails: Explicación clara y completa de cómo hacer una aplicación mediana en Rails. Explica practicamente todos los conceptos que van a necesitar para este proyecto. 10/10 Mejor material.
- 📹 Ayudantías del curso: Pensadas para este proyecto. Aprovechenlas
- 👌 Stack Overflow: La vieja confiable de los computines
- 🔀 Git y Github: Para que no sufran tanto al hacer merges
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
# pyclean command to clear all python cache in a directory | |
# source: https://stackoverflow.com/questions/28991015/python3-project-remove-pycache-folders-and-pyc-files | |
# in .bash_profile / .bash_rc etc put: | |
pyclean () { | |
find . -type f -name '*.py[co]' -delete -o -type d -name __pycache__ -delete | |
} | |