GithubHelp home page GithubHelp logo

anonym0uswork1221 / android-memorytool Goto Github PK

View Code? Open in Web Editor NEW
51.0 4.0 10.0 315 KB

Android Memory Tools written in python for RAM data reading and writing process of android, linux and windows os's.

License: GNU General Public License v3.0

Python 100.00%
cheat memory memory-tool python termux android-memory-tool cheat-script termux-cheats android-kernel game-cheats

android-memorytool's Issues

Fails to find Texts (UTF_8)

Describe the bug

Hi! Attempting an UTF_8 searches on version 0.3; fails on Encoding. Performing another DataTypes is working but it's not for text related searches. Using a provided template also fails, the console omits the following:

Traceback (most recent call last):
  File "/data/media/0/Pictures/test.py", line 6, in <module>
    values = tool.read_value('Traffic')
  File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/androidMemoryTool/androidMemoryTool.py", line 46, in read_value
    self._SearchAndReadObject.search_and_read_text(proc_id, maps_addr, value_to_read)
  File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/androidMemoryTool/search_and_readers.py", line 122, in search_and_read_text
    byte_strings = mem_file.read(total_bytes)
OSError: [Errno 5] I/O error

To Reproduce

A code snippet to reproduce the same behavior:

tool = AndroidMemoryTool(PKG="com.emanuelef.remote_capture", TYPE=AndroidMemoryTool.DataTypes.UTF_8, SPEED_MODE=False, WORKERS=55,
                        pMAP=AndroidMemoryTool.PMAP(ALL=True))
values = tool.read_value('Traffic')
founded_values = values[1]
print(founded_values)

Expected behavior

Performing searches with another DataTypes (DWORD) returns expected number of values exist. Using the provided template:

2062
['0x25b00c98', '0x25b02d9c', '0x25b049d0',....]

Screenshots

image

Specification

  • Device: LDPlayer 9
  • OS: Android 9
  • Version: androidMemoryTool 0.3

Additional context

I/O Error
Running a workable searches (DWORD) still also omits I/O Error exception, although the result is working fine. Is this a normal behaviour that should be ignored?
image

Documentation
I hope there's more documentation or examples for each DataTypes. Especially for recent 0.3, this is a bummer with such a great tool.

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.