Comments (7)
I can go through the code fixing this type of version mismatches , similar issues etc and submit a PR if that's indeed a valid issue and I haven't done anything insanely stupid.
from gef-extras.
You need to use the version of gef from the dev
branch.
from gef-extras.
Switching over to the dev branch it looks like it's still broken but for a different reason. get_main_arena
seems to have been removed in 11a68a2f1264608e343e3a95a7a9d34a081d682c and replaced with get_glibc_arena
. I tried simply swapping out the function name but that doesn't seem to be compatible. When I try to execute I'm getting
[!] Command 'visualize-libc-heap-chunks' failed to execute properly, reason: Cannot access memory at address 0x56277cea2ff0
from gef-extras.
Using dev
I could repro it was not working properly due to a recent code change in gef.
from gef-extras.
Should be fixed by 041fc86 , feel free to check and close if is.
Make sure you use gef from dev
from gef-extras.
It doesn't seem to be fixed
[!] Command 'visualize-libc-heap-chunks' failed to execute properly, reason: Cannot access memory at address 0x55b18db0dff0
gef➤ vmmap
[ Legend: Code | Heap | Stack ]
Start End Offset Perm Path
0x000055b18cf75000 0x000055b18cf76000 0x0000000000000000 r-- /home/jrozner/tsgctf2021/pwn/cheap/cheap
0x000055b18cf76000 0x000055b18cf77000 0x0000000000001000 r-x /home/jrozner/tsgctf2021/pwn/cheap/cheap
0x000055b18cf77000 0x000055b18cf78000 0x0000000000002000 r-- /home/jrozner/tsgctf2021/pwn/cheap/cheap
0x000055b18cf78000 0x000055b18cf79000 0x0000000000002000 r-- /home/jrozner/tsgctf2021/pwn/cheap/cheap
0x000055b18cf79000 0x000055b18cf7a000 0x0000000000003000 rw- /home/jrozner/tsgctf2021/pwn/cheap/cheap
0x000055b18db0e000 0x000055b18db2f000 0x0000000000000000 rw- [heap]
0x00007fdbcf9fe000 0x00007fdbcfa23000 0x0000000000000000 r-- /usr/lib/x86_64-linux-gnu/libc-2.31.so
0x00007fdbcfa23000 0x00007fdbcfb9b000 0x0000000000025000 r-x /usr/lib/x86_64-linux-gnu/libc-2.31.so
0x00007fdbcfb9b000 0x00007fdbcfbe5000 0x000000000019d000 r-- /usr/lib/x86_64-linux-gnu/libc-2.31.so
0x00007fdbcfbe5000 0x00007fdbcfbe6000 0x00000000001e7000 --- /usr/lib/x86_64-linux-gnu/libc-2.31.so
0x00007fdbcfbe6000 0x00007fdbcfbe9000 0x00000000001e7000 r-- /usr/lib/x86_64-linux-gnu/libc-2.31.so
0x00007fdbcfbe9000 0x00007fdbcfbec000 0x00000000001ea000 rw- /usr/lib/x86_64-linux-gnu/libc-2.31.so
0x00007fdbcfbec000 0x00007fdbcfbf2000 0x0000000000000000 rw-
0x00007fdbcfbfc000 0x00007fdbcfbfd000 0x0000000000000000 r-- /usr/lib/x86_64-linux-gnu/ld-2.31.so
0x00007fdbcfbfd000 0x00007fdbcfc20000 0x0000000000001000 r-x /usr/lib/x86_64-linux-gnu/ld-2.31.so
0x00007fdbcfc20000 0x00007fdbcfc28000 0x0000000000024000 r-- /usr/lib/x86_64-linux-gnu/ld-2.31.so
0x00007fdbcfc29000 0x00007fdbcfc2a000 0x000000000002c000 r-- /usr/lib/x86_64-linux-gnu/ld-2.31.so
0x00007fdbcfc2a000 0x00007fdbcfc2b000 0x000000000002d000 rw- /usr/lib/x86_64-linux-gnu/ld-2.31.so
0x00007fdbcfc2b000 0x00007fdbcfc2c000 0x0000000000000000 rw-
0x00007ffe02324000 0x00007ffe02345000 0x0000000000000000 rw- [stack]
0x00007ffe02387000 0x00007ffe0238b000 0x0000000000000000 r-- [vvar]
0x00007ffe0238b000 0x00007ffe0238c000 0x0000000000000000 r-x [vdso]
from gef-extras.
Re-tested and it works as expected.
If it fails provide a complete description so we can try reproduce.
Note it should go without saying that if the heap is corrupted (in the case of a heap corruption exploit dev for instance), there is no way for this command to work.
from gef-extras.
Related Issues (20)
- `gef-extras` Automatic Installation Fails HOT 2
- Why's it not working? HOT 1
- improve retdec decompilation output
- skel is_big_endian deprecated HOT 2
- some error in ubuntu20.04:AttributeError: type object 'ABCMeta' has no attribute '_cmdline_' HOT 11
- unable to use syscall-args when gef-extras configured in python3.9 HOT 6
- source syntax highlight HOT 1
- Cannot print stack frame using `stack-view` when in main method
- Install script fails to pull all dependencies HOT 3
- ropper.py breaks tab completion
- `visualize-heap` is broken HOT 1
- libc_function_args and syscall_args error when installing gef-extras HOT 6
- Trying to run unicorn-emulate with an ARM64 binary causes a syntax error HOT 4
- Restore Binja compat for `ida-interact`
- NameError: name 'register' is not defined HOT 6
- Command stack support? HOT 4
- libc_function_args does not respect context.libc_args HOT 1
- Latest version of retdec does not seem to work with GEF-Extras
- [Bug] GEF with openocd HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gef-extras.