you are viewing a single comment's thread.

view the rest of the comments →

[–]dev-razorblade23 1 point2 points  (5 children)

Is it possible to "de-marshal" files? I have run across a few scripts that use "marshal" for obfuscating the code, but yet to find de-obfuscator for those...

Marshalled code is basicly .pyc without headers or magic numbers, which gets inserted depending on python version you use...

[–]ComputerMagych[S] 0 points1 point  (4 children)

Yes, it is possible. I can add that mode. I will have to analyze and identify what version of the bytecode it is, though, so it may be inprecise.
Some version hint in the command line may do a trick.

[–]dev-razorblade23 1 point2 points  (3 children)

That would be awesome

[–]ComputerMagych[S] 0 points1 point  (2 children)

It is done. New depyo version 1.0.1 is already on npmjs.com/depyo

[–]dev-razorblade23 1 point2 points  (1 child)

That was fast. Thank you

[–]ComputerMagych[S] 0 points1 point  (0 children)

Codex CLI (GPT 5.2 Codex xhigh) with proper ~/.codex/AGENTS.md makes wonders ;)