Jump to content

Recommended Posts

Posted (edited)

Hey GUYS ! I need some help. When i download a javascript file , in almost all the times it  looks like it is compiled.  Can anyone tell me a way to disassemble a javascript file and to make it viewable in a text-like format? I wait for your answers.If there is a Tool for that , then post its name in this topic!

Thanks in advance.

Edited by Renderer
  • Moderators
Posted

We don't support decompiling AutoIt code on this forum, my guess for any other language would be that it is up to the EULA for the binary you're trying to decompile. Best to let a Mod weigh in. 

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

  • Moderators
Posted

Renderer,

Although the Forum rules only specifically prohibit the decompilation of AutoIt scripts, we do not want to encourage such questions here. Thread locked.

M23

 

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

  • Moderators
Posted

Renderer,

It has been pointed out that you might mean "de-minification" rather than "decompilation" - I do not use javascript and so the difference was not clear to me.  Can you explain in more detail exactly what you are trying to do?

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

Posted

Sometimes the code is inline for want of a better word, just a wall of text with no formatting or spaces when opened in notepad.

If that is what you are referring to then just open the file in an editor, not sure if scite does it but dreamweaver certainly does.

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Posted (edited)

The JS you are looking at has been minified (amalgamated) or obfuscated.
If it was minified, you need a JS beautifier: http://jsbeautifier.org/
De-obfuscation is much more complex, and most of the time not feasible.  

Few other things:

  • There are no files with a .javascript extension, only .js
  • Javascript can not be compiled (for web usage)
Edited by minxomat

I will answer every single PM, and you are free to ask anything anytime.

Posted

Maybe let the OP explain what it is they're trying to do first, before second guessing. It's my fault that this topic was opened again, but instead of going in all guns blazing saying "hey, you might have meant minification", I thought best that the OP explain a little bit more. Sorry @Melba23 about this.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted
  On 7/23/2015 at 5:49 PM, Melba23 said:

Renderer,

It has been pointed out that you might mean "de-minification" rather than "decompilation" - I do not use javascript and so the difference was not clear to me.  Can you explain in more detail exactly what you are trying to do?

M23

I just wanted to make a .js file easy to read,and i've just found the answer. I'm not interested in decoding autoit programs.

Posted

Did you find the original de-minified source code?

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted (edited)

I use that, but there is also http://dirtymarkup.com

Edited by guinness

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

  • 4 months later...
Posted

Uglify is better

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...