CGI file with ELV

Status
Not open for further replies.

CoC-Eu

Active Member
Jan 7, 2016
65
45
94
I need now how can i decompile a CGI File with ELV blabla...

[root@cpanel letsencrypt]# readelf -e letsencrypt.live.cgi
ELF Header:
Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
Class: ELF32
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: EXEC (Executable file)
Machine: Intel 80386
Version: 0x1
Entry point address: 0x8099750
Start of program headers: 52 (bytes into file)
Start of section headers: 276 (bytes into file)
Flags: 0x0
Size of this header: 52 (bytes)
Size of program headers: 32 (bytes)
Number of program headers: 7
Size of section headers: 40 (bytes)
Number of section headers: 22
Section header string table index: 6

Section Headers:
[Nr] Name Type Addr Off Size ES Flg Lk Inf Al
[ 0] NULL 00000000 000000 000000 00 0 0 0
[ 1] .text PROGBITS 08049000 001000 365bc0 00 AX 0 0 16
[ 2] .rodata PROGBITS 083af000 367000 1f0938 00 A 0 0 32
[ 3] .typelink PROGBITS 0859f938 557938 005d70 00 A 0 0 4
[ 4] .gosymtab PROGBITS 085a56a8 55d6a8 000000 00 A 0 0 1
[ 5] .gopclntab PROGBITS 085a56c0 55d6c0 145ded 00 A 0 0 32
[ 6] .shstrtab STRTAB 00000000 6a34c0 00012a 00 0 0 1
[ 7] .noptrdata PROGBITS 086ec000 6a4000 013a48 00 WA 0 0 32
[ 8] .data PROGBITS 086ffa60 6b7a60 005ea8 00 WA 0 0 32
[ 9] .bss NOBITS 08705920 6bd920 012044 00 WA 0 0 32
[10] .noptrbss NOBITS 08717980 6cf980 005020 00 WA 0 0 32
[11] .note.go.buildid NOTE 08048fc8 000fc8 000038 00 A 0 0 4
[12] .symtab SYMTAB 00000000 6be000 02f810 10 13 482 4
[13] .strtab STRTAB 00000000 6ed810 07397d 00 0 0 1
[14] .debug_abbrev PROGBITS 00000000 76118d 0000ff 00 0 0 1
[15] .debug_line PROGBITS 00000000 76128c 053b5c 00 0 0 1
[16] .debug_frame PROGBITS 00000000 7b4de8 04941c 00 0 0 1
[17] .debug_info PROGBITS 00000000 7fe204 16acad 00 0 0 1
[18] .debug_pubnames PROGBITS 00000000 968eb1 07f973 00 0 0 1
[19] .debug_pubtypes PROGBITS 00000000 9e8824 03a805 00 0 0 1
[20] .debug_aranges PROGBITS 00000000 a23029 000020 00 0 0 1
[21] .debug_gdb_script PROGBITS 00000000 a23049 000028 00 0 0 1
Key to Flags:
W (write), A (alloc), X (execute), M (merge), S (strings)
I (info), L (link order), G (group), T (TLS), E (exclude), x (unknown)
O (extra OS processing required) o (OS specific), p (processor specific)

Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
PHDR 0x000034 0x08048034 0x08048034 0x000e0 0x000e0 R 0x1000
NOTE 0x000fc8 0x08048fc8 0x08048fc8 0x00038 0x00038 R 0x4
LOAD 0x000000 0x08048000 0x08048000 0x366bc0 0x366bc0 R E 0x1000
LOAD 0x367000 0x083af000 0x083af000 0x33c5ea 0x33c5ea R 0x1000
LOAD 0x6a4000 0x086ec000 0x086ec000 0x19920 0x309a0 RW 0x1000
GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RW 0x4
LOOS+5041580 0x000000 0x00000000 0x00000000 0x00000 0x00000 0x4

Section to Segment mapping:
Segment Sections...
00
01 .note.go.buildid
02 .text .note.go.buildid
03 .rodata .typelink .gosymtab .gopclntab .shstrtab
04 .noptrdata .data .bss .noptrbss
05
06

It is a cPanel Module, that i have installed without a License because i removed a Licensecheck! But i do not do it in the CGI file ...
 

CoC-Eu

Active Member
Jan 7, 2016
65
45
94
Class: ELF32
Data: 2's complement, little endian
 

ehthe

Retired Staff
Contributor
Apr 26, 2015
1,028
896
216
If you can't write a correct post with informations, just use google and stop spamming the forum.
/closed
 
Status
Not open for further replies.
Top