gdelugre / shell-factory

C++-based shellcode builder
MIT License
110 stars 15 forks source link

Linking error #2

Open wintrmvte opened 2 years ago

wintrmvte commented 2 years ago

hosaka 福 ~/shell-factory 10322 ◯ : s rake dropexec ⏎ [~] [*] Generating target 'dropexec' ├ Compiler: gcc 11.2.0 ├ Host architecture: x86_64-pc-linux-gnu ├ Target architecture: x86_64-pc-linux-gnu └ Options: {}

gcc -std=c++1y -Wall -Wno-unused-function -Wextra -Wfatal-errors -ffreestanding -fshort-wchar -fshort-enums -fno-common -fno-rtti -fno-exceptions -fno-non-call-exceptions -fno-asynchronous-unwind-tables -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-stack-protector -nostdlib -fPIC -Wl,-T/home/wintrmve/shell-factory/factory-elf.lds -Wl,--gc-sections -Wl,-N -Wl,--build-id=none -fno-toplevel-reorder -finline-functions -fno-jump-tables -fno-leading-underscore -flto -nodefaultlibs -Os -w -Iinclude shellcodes/dropexec.cc -o bins/dropexec.elf /usr/bin/ld: bins/dropexec.elf: error: PHDR segment not covered by LOAD segment collect2: error: ld returned 1 exit status

[*] Error: Compilation failed.

wintrmvte commented 10 months ago

U there? Lol