←back to thread

Macrodata Refinement

(lumon-industries.com)
722 points gaws | 2 comments | | HN request time: 0.001s | source
Show context
kusha ◴[] No.42903173[source]
Edit: this is not needed, see child comment that this is open source!

Looks like the JS is not obfuscated. Even dev comments are still there, which is v cool. Good idea to download it all before they wise up!

    wget --mirror --convert-links --adjust-extension --page-requisites --no-parent -e robots=off -P ./website "https://lumon-industries.com/"
    wget -P ./website/images "https://lumon-industries.com/images/lumon.png"
    wget -P ./website/images "https://lumon-industries.com/images/nope.png"
    wget -P ./website/images "https://lumon-industries.com/images/100.png"
    wget -P ./website/images "https://lumon-industries.com/images/clipboard.png"
    wget -P ./website/images "https://lumon-industries.com/images/mde.gif"
    wget -P ./website/shaders "https://lumon-industries.com/shaders/crt.vert.glsl"
    wget -P ./website/shaders "https://lumon-industries.com/shaders/crt.frag.glsl"
    wget -P ./website "https://lumon-industries.com/favicon.ico"
and then comment out

    <script>
      navigator.serviceWorker.register?.('/service-worker.js').catch(() => {})
    </script>
in index.html

Finally, download p5 and replace the cloudflare CDN pointing to your own p5.js installation.

Run it all with

    python3 -m http.server
replies(2): >>42903270 #>>42903623 #
1. BiteCode_dev ◴[] No.42903270[source]
ChatGpt is pretty good at deobfuscate js
replies(1): >>42903548 #
2. latexr ◴[] No.42903548[source]
Why is that relevant? The code is not obfuscated, it’s already as clear as can be.