A
A
Alex Wells2018-05-26 19:55:10
reverse engineering
Alex Wells, 2018-05-26 19:55:10

How to get executable JS from node?

Hello. There is a Linux binary, written in C++, using v8 node from here . Actually, its task is to launch a server written in JS, contained in it (somehow encrypted). The file without debug information, in IDA and HxD memory dump found the code of the node itself, but no mention of the source code of the server itself. It does not make any outgoing HTTP requests, it does not connect any other libraries (except the standard ones), I checked it through GDB + /proc ls.
I also found this thing: 5b0990d905cb7396043788.png
Two lines at the end - API functions of the same JS server, which it shoves into a global variable. The server also has the ability to load custom scripts in JS. The goal is to get the source code, but I don't know in which direction to move further :(
UPD: I also found such a thing as a debugger, this is exactly the code that I need. But the problem is that it cannot be copied or expanded (there are only 20 first lines at most), please tell me:
5b099c03cf455415754598.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question