Coder Social home page Coder Social logo

memdumper's Introduction

MemDumper

Dump Memory Segment From Process Memory and Rebuild So(Elf) Libraries

Features

  • No need of Ptrace
  • Bypass Anti Debugging
  • Dumping of Lib from Memory of Process
  • Auto Dumping With Segment Name
  • Manual Dumping With Custom Memory Address
  • Fix and Regenerate Elf File
  • Support Fast Dumping(May Miss some data)

How to use

  • You can Use latest precompiled Binaries from HERE or You Can build your Own.
  • Needs Root Access or Virtual Space
  • Get Root Shell through Adb or Terminal Apps(type: 'su') or Normal Shell into Virtual Space via Terminal Apps
  • For Usage Help: memdumper -h
  • For General Usage: memdumper -p <option(s)> -o
      Help: ./memdumper -h
      
      MemDumper v0.4 <==> Made By KMODs(kp7742)
      Usage: memdumper -p <packageName> <option(s)>
      Dump Memory Segment From Process Memory and Rebuild So(Elf) Libraries
      -l for Library Mode, -m for Manual Dumping Mode, By Default Auto Dumping Mode
       Options:
      --Auto Dump Args-------------------------------------------------------------------------
        -n --name <segment_name>              Segment Name From proc maps
      --Manual Dump Args-----------------------------------------------------------------------
        -m --manual                           Manual Dump Mode for Custom Address
        -n --name <dump_name>                 Dumping File Name
        -s --start <address>                  Starting Address
        -e --end <address>                    Ending Address
      --Lib Dump Args-------------------------------------------------------------------------
        -l --lib                              Dump So(Elf) Library from Memory
        -n --name <lib_name>                  Library Name From proc maps
        -r --raw(Optional)                    Output Raw Lib and Not Rebuild It
      --Other Args----------------------------------------------------------------------------
        -f --fast(Optional)                   Enable Fast Dumping(May Miss Some Bytes in Dump)
        -p --package <packageName>            Package Name of App
        -o --output <outputPath>              File Output path(Default: /sdcard)
        -h --help                             Display this information
       
    
  • For Dumping Libraries
      Dump Library: ./memdumper -p com.dts.freefireth -l -n libil2cpp.so -o /sdcard
      Process name: com.dts.freefireth, Pid: 27077
      Base Address of libil2cpp.so Found At b2dc4000
      End Address of libil2cpp.so Found At b60b5000
      Lib Size: 53415936
      Dumped in 25.414995S
    

How to Build

  • Clone this repo
  • Install Android NDK, if not already.
  • Open Shell/CMD in Project Folder
  • Drag ndk-build of NDK in Shell or CMD an then Execute
  • Output will be in libs Folder.

Credits

Technlogy Communication

Email: [email protected]

memdumper's People

Contributors

kp7742 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.