디버깅중 오류

워게임중 pwndbg를통해 디버깅을 하려고 하는데 다음과 같이 에러가나네요
64비트 운영체제에서 32비트바이너리 파일을 하려다 보니 생기는 문제같은데 해결방법을 아시는분 계실까요..??

pwndbg> b *main Breakpoint 1 at 0x804872b pwndbg> r Starting program: /home/seonghun/stackcanary/ssp_001 /bin/bash: /home/seonghun/stackcanary/ssp_001: cannot execute binary file: Exec format error /bin/bash: /home/seonghun/stackcanary/ssp_001: Success
During startup program exited with code 126.

#디버깅
작성자 정보
답변 1
0nid
대표 업적 없음

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libc6:i386

위에 명령어 순서대로 한 번 입력해보세요 :)

2022.06.16. 23:47
질문에 대한 답을 알고 계신가요?
지식을 나누고 포인트를 획득해보세요.
답변하고 포인트 받기