N
N
nefs2022-04-19 11:54:26
HTML
nefs, 2022-04-19 11:54:26

How to decompile or how to open CGI files?

What kind of CGI files are used on the website? I see that in the code of *.js files there are so-called links or indications to these files, but what is inside and how to decrypt them or how to open them for editing?
Through a text editor, the beginning of the files looks like this:
ELF and then some unreadable text.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Rsa97, 2022-04-19
@nefs

CGI (from the English Common Gateway Interface - “common gateway interface”) is an interface used by an external program to communicate with a web server. The interface is designed in such a way that any programming language that can work with standard I/O devices can be used.
ELF (Executable and Linkable Format - executable and linkable file format) is a binary file format used in many modern UNIX-like operating systems, such as FreeBSD, Linux, Solaris, etc.
Thus, you have a *NIX program written in some compiled programming language, working with a web server through input-output streams.
It is usually impossible to restore the source code of such a program. You can decompile it and study the resulting assembler code to try to restore the logic of the program, but this requires the appropriate knowledge and skills.

O
ostup17, 2022-04-19
@ostup17

here , here, in my opinion, it is well described what CGI is and how to open it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question