You are not logged in.
Pages: 1
The file I'm trying to debug has a input/ouput error
The file and its dependencies have exec. permissions
output:
(gdb) r
Starting program: /home/dtexetd/Desktop/test/h/demo
/usr/bin/bash: line 1: /home/dtexetd/Desktop/test/h/demo: Input/output error
/usr/bin/bash: line 1: /home/dtexetd/Desktop/test/h/demo: Success
During startup program exited with code 126.
(gdb) Offline
Can you launch the executable without gdb? also whats the output of "file /home/dtexetd/Desktop/test/h/demo"?
Offline
Can you launch the executable without gdb? also whats the output of "file /home/dtexetd/Desktop/test/h/demo"?
./demo
bash: ./demo: Input/output errorfile demo
demo: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter ../.glibc/glibc_2.28_no-tcache/ld.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=767e8320822fef96ebaeab4221088b81907ce17c, with debug_info, not strippedOffline
How did you build this executable?
Offline
126 is ENOKEY ![]()
What exactly is "demo"?
And what process do you pass to gdb to get bash outputs?
Offline
How did you build this executable?
I didn't create the binary
Offline
126 is ENOKEY
What exactly is "demo"?
And what process do you pass to gdb to get bash outputs?
I just did "gdb demo" with no args
Offline
I didn't create the binary
Who/what did? Is is publically available? Do you have access to the source code? Can you share it?
Also
What exactly is "demo"?
Offline
I didn't create the binary
Who/what did? Is is publically available? Do you have access to the source code? Can you share it?
Alsoseth wrote:What exactly is "demo"?
It's a course on udemy by Max Kamper
There's some downloads of the files on github
https://github.com/limitedeternity/HeapLAB
https://github.com/ivanmedina/Pwning/tr … AP/HeapLAB
You'll also need lib.so.6 for glibc 2.28 (it isn't in the repo)
../.glibc/glibc_2.28_no-tcache/libc.so.6Offline
1. which one exactly? All of them?
2.
ldd demo
file ../.glibc/glibc_2.28_no-tcache/ld.so.2Offline
Pages: 1