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 |
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
| 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(''); | |
| } |
Figured it would make sense to create a single gist collating my previous deep dive explorations and notes.. so here it is!
Some notes and techniques for reverse engineering Webpack (and a little bit about React/Vue/Angular) apps.
Some notes and tools for reverse engineering / deobfuscating / unminifying obfuscated web app code.
Some notes/resources for bypassing anti-bot/scraping features on Cloudflare, Akamai, etc.
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
| /* | |
| * Adyen 4.5.0 encryption by github.com/levi-nz | |
| * | |
| * This code is a rough implementation and can be improved in some places. | |
| * Read comments throughout the code for more information. | |
| */ | |
| const jose = require('node-jose'); | |
| // Parse the key from the string found in securedFields.html ("10001|...") |
Some notes, tools, and techniques for reverse engineering Golang binaries.