Skip to main content
Tweeted twitter.com/#!/StackReverseEng/status/330487255451967488

ldd output base Base address of shared objects from ldd output

ImI'm on a linuxLinux machine with ASLR disabled. DoingRunning ldd on a binary gives me the following result :

linux-gate.so.1 =>  (0xb7fe1000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb7e5c000)
/lib/ld-linux.so.2 (0xb7fe2000)

Does this mean that libc.so.6 will be loaded at the address 0xb7e5c000.? I'm trying to build a ROP chain for an old CTF challenge and idI'd like to get gadgets from the library. I'm looking to know the base address of the library so that I can add it to the offsets of the gadgets.

ldd output base address of shared objects

Im on a linux machine with ASLR disabled. Doing ldd on a binary gives me the following result :

linux-gate.so.1 =>  (0xb7fe1000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb7e5c000)
/lib/ld-linux.so.2 (0xb7fe2000)

Does this mean that libc.so.6 will be loaded at the address 0xb7e5c000. I'm trying to build a ROP chain for an old CTF challenge and id like to get gadgets from the library. I'm looking to know the base address of the library so that I can add it to the offsets of the gadgets.

Base address of shared objects from ldd output

I'm on a Linux machine with ASLR disabled. Running ldd on a binary gives me the following result :

linux-gate.so.1 =>  (0xb7fe1000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb7e5c000)
/lib/ld-linux.so.2 (0xb7fe2000)

Does this mean that libc.so.6 will be loaded at the address 0xb7e5c000? I'm trying to build a ROP chain for an old CTF challenge and I'd like to get gadgets from the library. I'm looking to know the base address of the library so that I can add it to the offsets of the gadgets.

Better usage of the wiki syntax
Source Link
perror
  • 19.2k
  • 29
  • 89
  • 151

Im on a linux machine with ASLR disabled. Doing lddldd on a binary gives me the following result :-

linux-gate.so.1 =>  (0xb7fe1000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb7e5c000)
/lib/ld-linux.so.2 (0xb7fe2000)

Does this mean that libc.so.6libc.so.6 will be loaded at the address 0xb7e5c0000xb7e5c000. I'm trying to build a ROP chain for an old CTF challenge and id like to get gadgets from the library. I'm looking to know the base address of the library so that I can add it to the offsets of the gadgets.

Im on a linux machine with ASLR disabled. Doing ldd on a binary gives me the following result :-

linux-gate.so.1 =>  (0xb7fe1000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb7e5c000)
/lib/ld-linux.so.2 (0xb7fe2000)

Does this mean that libc.so.6 will be loaded at the address 0xb7e5c000. I'm trying to build a ROP chain for an old CTF challenge and id like to get gadgets from the library. I'm looking to know the base address of the library so that I can add it to the offsets of the gadgets.

Im on a linux machine with ASLR disabled. Doing ldd on a binary gives me the following result :

linux-gate.so.1 =>  (0xb7fe1000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb7e5c000)
/lib/ld-linux.so.2 (0xb7fe2000)

Does this mean that libc.so.6 will be loaded at the address 0xb7e5c000. I'm trying to build a ROP chain for an old CTF challenge and id like to get gadgets from the library. I'm looking to know the base address of the library so that I can add it to the offsets of the gadgets.

Source Link
user1743
user1743

ldd output base address of shared objects

Im on a linux machine with ASLR disabled. Doing ldd on a binary gives me the following result :-

linux-gate.so.1 =>  (0xb7fe1000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb7e5c000)
/lib/ld-linux.so.2 (0xb7fe2000)

Does this mean that libc.so.6 will be loaded at the address 0xb7e5c000. I'm trying to build a ROP chain for an old CTF challenge and id like to get gadgets from the library. I'm looking to know the base address of the library so that I can add it to the offsets of the gadgets.