Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to decompile + examples #128

Open
chameleonuser opened this issue Jan 15, 2024 · 6 comments
Open

Fail to decompile + examples #128

chameleonuser opened this issue Jan 15, 2024 · 6 comments
Labels
bug Something isn't working edgecase parsing

Comments

@chameleonuser
Copy link

Hello.

While some files decompile with no issue, some fail at all with a variety of errors. See attached examples.

Thanks
examples_jsx.zip

@AngeloD2022
Copy link
Owner

Can you verify for me that these scripts are valid and work when ran?

@chameleonuser
Copy link
Author

Yes, they do, these are not some random files.

@AngeloD2022
Copy link
Owner

Can you give me some of the background on these files? Do you know what purpose they serve/if they are deliberately obfuscated/malicious?

@chameleonuser
Copy link
Author

They are parts of working plugins (different) and look like obfuscated, but some other JSX from the same plugins do decompile normally, so I can not tell exactly. And they are not a virus or stuff like that.

@AngeloD2022 AngeloD2022 added the bug Something isn't working label Jan 31, 2024
@chameleonuser
Copy link
Author

A bit of update here. I've tried opening that examples I've sent you with Adobe ExtendScript Toolkit to find out whatever is possible. And there is a result.

  1. File 20P2 could be opened and "exported as binary" (kinda again?) After that it was decompiled with Jsxer w/o errors. I'm sending you .jsxbin exported with ESTk and decompiled variant of that initial file from my 1st msg.
  2. The other 2 files from the example couldn't be "exported as binary" as well as not able to run for debug with no visible errors.
  3. Looks like all plugins' files from which 202P was originally taken, could be converted via 1) solution, but when I put them back to plugin folder, some functions of the plugin cause errors in Photoshop. Nevertheless, it's at least something, I hope.
    20P2.jsx.txt
    20P2.jsxbin.txt
    P.S. Remove .txt ⬆️

@AngeloD2022
Copy link
Owner

Interesting. Did ESTK actually let you open a jsxbin file and export it again as a binary file? That's strange.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working edgecase parsing
Projects
None yet
Development

No branches or pull requests

2 participants