Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ropstar terminates at getting libc version #6

Closed
TarushS opened this issue Jan 2, 2020 · 3 comments
Closed

ropstar terminates at getting libc version #6

TarushS opened this issue Jan 2, 2020 · 3 comments

Comments

@TarushS
Copy link

TarushS commented Jan 2, 2020

[+] Leak puts : 0x7fc29146c040
[*] Saved leak
[*] Stopped process '/home/tarush/tools/ropstar/baby_boi' (pid 5748)
[*] Getting libc version
[*] /home/tarush/tools/libc-database/find puts 040 
[*] []
tarush@core:~/tools/ropstar$

I have installed libc-database in ~/tools/ but getting this error
Target binary: baby_boi

@xct
Copy link
Owner

xct commented Feb 13, 2020

I tested the target binary and it can be solved with ropstar, I assume you are missing the correct libc version in your libc-database. Have you added your local libc versions ?

@xct xct closed this as completed Feb 16, 2020
@TarushS
Copy link
Author

TarushS commented Feb 18, 2020

[DEBUG] [b'Hello!', b'Here I am: 0x7ff27542eb40', b'P\xe0Du\xf2\x7f', b'Hello!', b'Here I am: 0x7ff27542eb40']                                                                              
[+] Leak puts : 0x7ff27544e050                                                                                                                                                              
[*] Saved leak                                                                                                                                                                              
[*] Stopped process './baby_boi' (pid 14421)                                                                                                                                                
[*] Getting libc version                                                                                                                                                                    
[*] /root/tools/libc-database/find puts 050                                                                                                                                                 
[*] ['libc6_2.12.1-0ubuntu10.4_amd64']
Getting libc6_2.12.1-0ubuntu10.4_amd64
  -> Location: http://old-releases.ubuntu.com/ubuntu/pool/main/e/eglibc//libc6_2.12.1-0ubuntu10.4_amd64.deb
  -> Downloading package
Failed to download package from http://old-releases.ubuntu.com/ubuntu/pool/main/e/eglibc//libc6_2.12.1-0ubuntu10.4_amd64.deb
cp: cannot stat '/root/tools/libc-database/libs/libc6_2.12.1-0ubuntu10.4_amd64/libc.so.6': No such file or directory

Even after reinstalling libc-database and ropstar, this still happens and couldn't get a shell.

@xct
Copy link
Owner

xct commented Feb 18, 2020

Can you try again with the latest update (just pushed a small one)? If it is not working, go to the libc-database folder and make sure the library is really added (must be in ./libs).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants