Git Product home page Git Product logo

pongohelper's Introduction

Helper module for PongoKit

Usage

Using this module, the following 3 commands will be available in pongoOS shell:

  • mread: read DWORD from memory The syntax is mread 0xaaaaa. The only supported input format is hex in lower case. Please also pay attention to the space, only one space is allowed The output will be a DWORD (little endian)
  • mwrite: write to memory The syntax is mwrite 0xaaaaaaaa f 0xbbbbbbbb. 0xaaaaaaaa is the target addr to write, f is the writing width, and 0xbbbbbbbb is the value to be written. Addrs' format is same as above, and f can be b,w,d,q which refers to bytes, word, dword, qword.
  • dis: disassemble The symtax is dis 0xaaaaaaaa [0xbbb], 0xaaaa is the address to be disassembled; 0xbbbb is number of instructions to disassemble, which could be omitted.
  • mfind: Search memory Syntax: mfind 0xaaaaaaaa 0xbbbb 0xcccccccc 0xdddd 0xaaaaaaaa: start address, 0xbbbb: search length, 0xcccccc: pattern in uint64_t, 0xdddd: pattern length
  • dumpvars: Print pongoOS runtime variables
  • memmap: Dump out the memory-map in the device-tree
  • hexdump: Print hexdump of specified addr Syntax: hexdump 0xaaaaaaaa [0xbbbb], 0xaaaaaaaa is the address, 0xbbbb is dump length

Build

$ git clone https://github.com/checkra1n/PongoKit
$ cd PongoKit
$ git clone --recursive https://github.com/NyaMisty/PongoHelper test
$ cd test
$ ./make.sh
$ python ../scripts/module_load.py test_module

Run

You should build first, but if you want a binary, you can find the built test_module in the repo

$ python ../scripts/module_load.py test_module
$ python ../scripts/issue_cmd.py dumpvars

pongohelper's People

Contributors

nyamisty avatar

Stargazers

 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.