Results 1 to 7 of 7

Thread: help linux shared linked library

  1. #1
    celestezhu
    Guest

    help linux shared linked library

    hi all
    i have a damn question.

    i have a linux shared linked library(*.so) now.
    i must crack it.
    i want to know the information of interface and interface's parameters in this library.

    i use objdump -dx to get the interface information.
    but, how can i get the information of interface's parameters.

    thks.
    I promise that I have read the FAQ and tried to use the Search to answer my question.

  2. #2
    Teach, Not Flame Kayaker's Avatar
    Join Date
    Oct 2000
    Posts
    4,124
    Blog Entries
    5
    There's no need to crosspost on different forums. The way to attract specific attention is to create a descriptive title, not multiple postings. I changed your title to include the word 'linux', else some linux-knowledgable people may ignore the posting entirely.

    Kayaker

  3. #3
    Administrator dELTA's Avatar
    Join Date
    Oct 2000
    Location
    Ring -1
    Posts
    4,206
    Blog Entries
    5
    If they are anything like Windows shared libraries (DLLs), you cannot do this automatically in a good and 100% secure way...

  4. #4
    Wizard Extraordinaire
    Join Date
    Sep 2002
    Posts
    127
    On C++ libs you can get some more information by demangling the functions. Use the -C option on objdump to demangle the names.
    Alternatively you can use the c++filt command to demangle a name.

    e.g.
    libstdc++
    has 0008b870 w DF .text 0000002c GLIBCXX_3.4 _ZNSt14codecvt_bynameIwc11__mbstate_tED2Ev

    If you use objdump -CT or pipe the line above through c++filt you get:

    std::codecvt_byname<wchar_t, char, __mbstate_t>::~codecvt_byname [not-in-charge]()

    Which is a bit more readable

  5. #5
    celestezhu
    Guest
    thank you all.
    i have made a little progress.

    i have got some call tree in the library.
    but,
    how can i get the parameter of interface in library, it's a c library.
    i only can get interface's name.
    I promise that I have read the FAQ and tried to use the Search to answer my question.

  6. #6
    Wizard Extraordinaire
    Join Date
    Sep 2002
    Posts
    127
    AFAIK you can't. You will have to disassemble the library to know which params are passed to it.

    Checkout ltrace & strace

  7. #7
    celestezhu
    Guest
    isn't there a existing tool can do such thing?
    god bless me.
    the question is i am not very familiar with Assembly.

    is there any chance you could possilbly recomment some guide for me?

    thank you.
    Last edited by celestezhu; August 20th, 2004 at 01:17.
    I promise that I have read the FAQ and tried to use the Search to answer my question.

Similar Threads

  1. some FB shared malware.
    By evaluator in forum Malware Analysis and Unpacking Forum
    Replies: 5
    Last Post: March 17th, 2014, 08:03
  2. find checksum code inside shared lib (linux .so)
    By mikeparadox in forum Advanced Reversing and Programming
    Replies: 0
    Last Post: December 8th, 2012, 03:24
  3. Analyzing and debugging not linux binaries on linux
    By Xgrzyb90 in forum The Newbie Forum
    Replies: 2
    Last Post: June 13th, 2010, 12:50
  4. Find symbols from statically linked library
    By rajkosto in forum Tools of Our Trade (TOT) Messageboard
    Replies: 6
    Last Post: July 6th, 2009, 12:00
  5. how to see the DD library name under linux
    By tapo2001 in forum Advanced Reversing and Programming
    Replies: 0
    Last Post: October 11th, 2001, 09:16

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •