Code Monkey home page Code Monkey logo

processmemoryutilities.net's People

Contributors

chandlerferry avatar michel-pi avatar zaczero avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

processmemoryutilities.net's Issues

Library giving ERROR when using ReadProcessMemory function

Library version: 1.3.2
Function: NativeWrapper.ReadProcessMemory
ERROR MSG: "The type 'T' must be a non-nullable value type, along with all fields at any level of nesting, in order to use it as parameter 'T' in the generic type or method 'NativeWrapper.ReadProcessMemory(IntPtr, IntPtr, ref T)'"

Usage shown below

        public T ReadMemory<T>(IntPtr address)
            where T : struct
        {
            T result = default;
            if (this.IsInvalid || address.ToInt64() <= 0)
            {
                return result;
            }

            NativeWrapper.ReadProcessMemory(this.handle, address, ref result);
            return result;
        }

Managed. ReadProcessMemory stuck in infinite loop if process closes during execution

Description
If the target process (x64 bit) closes while the caller of this library (x64 bit process) is reading the target process memory, ReadProcessMemory will get stuck in an infinite while loop. This is because NtReadVirtualMemory over here returns PARTIAL_COPY rather than INVALID_HANDLE.

Workaround
The caller can directly use the underlying NtReadVirtualMemory function and handle the errors himself. Since NtReadVirtualMemory doesn't have any kind of looping in it.

Expected Behavior
As a caller I expect the library to not hang in an infinite loop and at some point in time returns the controller to the caller. There can be multiple solutions I (as a dev) can think of (not sure which one would be perfect):
1: Over here check if the offset is zero, if yes, error out.
2: Put a limit on the while loop and ask the caller for the limit number.

tutorial

hello
i know my question is stupid but i'll give try as i don't know about this things only i can do edit code or just compile it run
i downloaded a cheat using this bypass ByPh but it's deteced
someone says that " just modify the ByPh class in your esp where it reads the memory and write to the memory.
instead those use the methods from this dll to read and write the memory. "
so how can i use ur file to be undetected

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.