Skip to content

A memory scanner made in python for linux

License

GPL-3.0, Unknown licenses found

Licenses found

GPL-3.0
LICENSE
Unknown
COPYING
Notifications You must be signed in to change notification settings

vikke1234/memory-scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

90813fd · Jun 6, 2021

History

93 Commits
Jun 6, 2021
Mar 30, 2021
Jun 6, 2021
Apr 13, 2021
Apr 11, 2021
May 10, 2021
Apr 27, 2021
May 14, 2021
May 14, 2021
Jun 6, 2021
May 4, 2021
Jun 6, 2021

Repository files navigation

Memory scanner

With the help of this program you can scan and use the process of elimination to find a variable in memory.

Latest release

Python version

This has been tested with python 3.9, it will probably work with an older one as long as it's above 3.5 due to the typing module. I do not guarantee it will work on anything below 3.9 though.

Documentation

Installation

  1. Install dependencies
poetry install
  1. NOTE this step is required IF you don't wish to execute as root
echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope

It will configure the system so that you're allowed to read from another processes' memory. If you do not do this you will need to run the program as root. It will reset if you reboot your machine, you can look here for more information as to how to have it persistent. You can read more about ptrace_scope here.

TL;DR if it's 0, you allow any process to read anothers memory. 1 the process must have a predefined relationship with an inferior process. 2. admin only, 3. no process may read anothers memory.

If you wish to disable the ptrace_scope you may simply execute the following command.

echo 2 | sudo tee /proc/sys/kernel/yama/ptrace_scope

Which will essetially require sudo access once again to read from another process. Another reasonable one is also 1, if you place 3 into the file you can't use e.g. gdb since it works via it.

  1. Start the program with
poetry run invoke start

Command line stuff

Start

poetry run invoke start

Testing

poetry run invoke test

Coverage

poetry run invoke coverage

Coverage report

poetry run invoke coverage-report

Lint

poetry run invoke lint

Freeze

poetry run invoke freeze

About

A memory scanner made in python for linux

Topics

Resources

License

GPL-3.0, Unknown licenses found

Licenses found

GPL-3.0
LICENSE
Unknown
COPYING

Stars

Watchers

Forks

Packages

No packages published

Languages