Coder Social home page Coder Social logo

writemem's Introduction

writemem

Add it in your root build.gradle at the end of repositories:

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}

Step 2. Add the dependency

dependencies {
        implementation 'com.github.ExploitTheLoop:writemem:Tag'
}

step 3 example

        AllTools.initUtil("包名");

        
        AllTools.memRange = MemRange.CA;

       
        System.err.println("开始范围搜索.....");
        ArrayList<Long> rangeSearchAddrs = MemorySearch.rangeSearch(12345, DataType.DWORD);
        System.err.println("范围搜索完毕!共: " + rangeSearchAddrs.size() + "个结果");

        System.err.println("开始偏移4匹配结果999...");
        ArrayList<Long> offsetSearchAddrs = MemorySearch.offsetSearch(999, 4, rangeSearchAddrs, DataType.DWORD);
        System.err.println("偏移搜索完成,共: " + offsetSearchAddrs.size() + "个结果!");
        int addrInfo = MemorySearch.getAddrInfo(offsetSearchAddrs.get(0), 0, DataType.DWORD);
        System.err.println("第一个数据为: " + addrInfo);

        
        ArrayList<Integer> addrInfos = MemorySearch.getAddrInfos(rangeSearchAddrs, 0, DataType.DWORD);
        System.err.println("范围搜索数据结果: ");
        for (int i = 0; i < addrInfos.size(); i++) {
            System.err.println(addrInfos.get(i));
        }

        
        ServerThread serverThread = MemorySearch.putAddrInfos(rangeSearchAddrs, 0, DataType.DWORD, 8088);

        
        serverThread.setState(false);

        
        MemoryWrite.addrWrite(54321,0,rangeSearchAddrs,DataType.DWORD);

        
        MemoryWrite.one = true;//将线程状态设置为true
        MemoryWrite.freezeAddrWrite(54321,0,rangeSearchAddrs,DataType.DWORD,300,ThreadNumber.ONE);

       
        MemoryWrite.one = false;//将对应的线程号设置为false即可关闭

writemem's People

Contributors

exploittheloop avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

writemem's Issues

a

显示依赖未找到

Does that work for root?

I want to implement it externally for my game. So will that get root permission and take the pid of the game to handle it?

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.