Giter Site home page Giter Site logo

Comments (13)

Quantum64 avatar Quantum64 commented on May 24, 2024

Right! We're all trying to decompile cash show...

from jsc-decompile-mozjs-34.

discoli-zz avatar discoli-zz commented on May 24, 2024

Welcome to the club!

from jsc-decompile-mozjs-34.

PutterPlace avatar PutterPlace commented on May 24, 2024

Tell me about it. I can connect to their websocket, but I can't figure out, for the life of me, how to communicate with it properly. I need the JS! :-P

from jsc-decompile-mozjs-34.

Quantum64 avatar Quantum64 commented on May 24, 2024

I'm in exactly the same spot. Just looks like a stream of binary data in Wireshark, so there isn't much hope of blackboxing it.

from jsc-decompile-mozjs-34.

PutterPlace avatar PutterPlace commented on May 24, 2024

The data is definitely hexadecimal, but I'm not sure of the formatting is all. You can read the strings inside the messages sent and received, but there's other data being sent and received along with it.

from jsc-decompile-mozjs-34.

Quantum64 avatar Quantum64 commented on May 24, 2024

I mean you can represent binary data as hexadecimal digits. One byte can be represented as two characters from 0 to f. There's no such thing as "hexadecimal data". Typically when people refer to binary data, they mean "non-ascii" data, or not plaintext.

from jsc-decompile-mozjs-34.

PutterPlace avatar PutterPlace commented on May 24, 2024

I know that. It's definitely being transmitted as binary data. I just mean that it's not completely unreadable if switched to hex or ascii. Just enough so to not be able to replicate it without more info. :-P

from jsc-decompile-mozjs-34.

Quantum64 avatar Quantum64 commented on May 24, 2024

While we await @irelance's reply, I've done some research into this issue myself.

It appears that $parseIndex is extending past the number of bytes in the file, causing the undefined offsets in the $bytecodes array, which is just the file as a byte array. I'm still not sure what's causing this though.

from jsc-decompile-mozjs-34.

PutterPlace avatar PutterPlace commented on May 24, 2024

I'll probably take a look into as well tomorrow. Much too tired atm. :-P

from jsc-decompile-mozjs-34.

WalkyRG avatar WalkyRG commented on May 24, 2024

Any progress on the issue ? I'm not able to decompile JSC files too..

from jsc-decompile-mozjs-34.

PutterPlace avatar PutterPlace commented on May 24, 2024

None thus far. Sorry.

from jsc-decompile-mozjs-34.

irelance avatar irelance commented on May 24, 2024

That means my script do not work on your bytecode:

  1. Maybe my script decompile has some bugs (I am trying to rewrite the generate code process in the free time)
  2. Maybe your bytecode compile by different engine or different version (see issue2)

from jsc-decompile-mozjs-34.

Quantum64 avatar Quantum64 commented on May 24, 2024

Have you had a chance to look into this @irelance?

from jsc-decompile-mozjs-34.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.