Some notes and tools for reverse engineering / deobfuscating / unminifying obfuscated web app code.
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
| const MY_DOMAIN = "agodrich.com" | |
| const START_PAGE = "https://www.notion.so/gatsby-starter-notion-2c5e3d685aa341088d4cd8daca52fcc2" | |
| const DISQUS_SHORTNAME = "agodrich" | |
| addEventListener('fetch', event => { | |
| event.respondWith(fetchAndApply(event.request)) | |
| }) | |
| const corsHeaders = { | |
| "Access-Control-Allow-Origin": "*", |
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
| FROM debian:11 AS build | |
| RUN apt-get update \ | |
| && apt-get install -y libsdl2-dev alsa-utils g++ make wget | |
| RUN mkdir /whisper && \ | |
| wget -q https://github.com/ggerganov/whisper.cpp/tarball/master -O - | \ | |
| tar -xz -C /whisper --strip-components 1 | |
| WORKDIR /whisper |
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
| import base64 | |
| import tempfile | |
| from typing import Optional | |
| from pydantic import BaseModel | |
| from modal import Image, Secret, Stub, build, enter, gpu, web_endpoint | |
| whisper_image = ( | |
| Image.micromamba() |
OlderNewer