{"id":16151380,"url":"https://github.com/aghontpi/memorypatternscanner","last_synced_at":"2025-06-29T11:33:01.670Z","repository":{"id":54987837,"uuid":"174206477","full_name":"aghontpi/MemoryPatternScanner","owner":"aghontpi","description":"AOB Scanner(Array of bytes) wildcard,  ReadProcessMemory, WriteProcessMemory.","archived":false,"fork":false,"pushed_at":"2021-01-17T14:21:55.000Z","size":20,"stargazers_count":26,"open_issues_count":0,"forks_count":9,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-11T00:56:15.214Z","etag":null,"topics":["aob","aobscanner","c-sharp","c-sharp-library","csharp","memory-scanner"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aghontpi.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-06T19:22:56.000Z","updated_at":"2024-02-29T09:36:34.000Z","dependencies_parsed_at":"2022-08-14T08:20:09.650Z","dependency_job_id":null,"html_url":"https://github.com/aghontpi/MemoryPatternScanner","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aghontpi%2FMemoryPatternScanner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aghontpi%2FMemoryPatternScanner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aghontpi%2FMemoryPatternScanner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aghontpi%2FMemoryPatternScanner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aghontpi","download_url":"https://codeload.github.com/aghontpi/MemoryPatternScanner/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221716329,"owners_count":16868688,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aob","aobscanner","c-sharp","c-sharp-library","csharp","memory-scanner"],"created_at":"2024-10-10T00:56:28.197Z","updated_at":"2024-10-27T18:18:28.079Z","avatar_url":"https://github.com/aghontpi.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# (c#) dll for Array of bytes [AOB] scan with wildcard,Reading process memeory, Writing process memory. \n\n\u003eA standalone dll library written in c# for for wildcard AOB scan, reading and writing from process, its an old lib that I created and used for my personel use. Maybe this would help new modders, I recently stumbled upon this, so here it is.\n\n# [![latest release][release]][release link] [![license][license badge]][license link]\n\n[license badge]: https://img.shields.io/github/license/aghontpi/MemoryPatternScanner\n[license link]: https://github.com/aghontpi/MemoryPatternScanner/blob/master/LICENSE\n[release link]: https://github.com/aghontpi/MemoryPatternScanner/releases\n[release]: https://img.shields.io/github/v/release/aghontpi/MemoryPatternScanner?include_prereleases\n\n## Some insights.\n\nThis was developed in visual studio 2013 and was done when I started learning modding so dont expect geat code(although I retouched some of it now.)\n\n### Just wanna use the dll?\n\n* download the dll\n* add a reference to the dll\n* 'using memory' must be added\n* check how other stuff is implemented in the source from here.\n\n### Wanna Add some modifications?\n\n* clone-fork the repo do as you wish.\n\n## Usage\n\n#### Methods available\n\nThe following methods assumes that you have selected the process, set the handle, set the module \nand set the pattern to scan.\n\nClassName: Scanner.\n\n* bool writeBytes(Process process, ulong address, byte[] bytesToWrite)\n\n* bool writeBytes(Process process, ulong address, String pattern)\n\n* byte[] getBackupBytes()\n\n* ulong FindPattern()\n\n* bool WriteProcessMemory(IntPtr hProcess,IntPtr lpBaseAddress,byte[] lpBuffer,int dwSize,out IntPtr lpNumberOfBytesWritten)\n\n* bool ReadProcessMemory(IntPtr hProcess,IntPtr lpBaseAddress,byte[] lpBuffer,int dwSize,out IntPtr lpNumberOfBytesRead)\n\n## Example\n\nI didn't include all the process memeory stuff below, but those can be used to, its available in the memory class, check source.\n\n```js\n\nProcess process = the selected process that you want to use.\n\nbelow could be set via constructor or set via setters, check the source.\n\nScanner Obj = new Scanner(process,process.Handle,\"80 00 41 ?? ?? 00 00 ?? ?? ?? ?? ?? ?? 00 00 00 00 00\");\n\n\nObj.setModule(process.MainModule);\n\nObj.FindPattern()\n\nthe below could be done for writing found bytes,\n\nmemObj.writeBytes(process, memObj.FindPattern(), \"00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\");\n\nyou could also do below to get the backup bytes which you wrote for ex, you would get this region\n80 00 41 ?? ?? 00 00 ?? ?? ?? ?? ?? ?? 00 00 00 00 00, the placeholder with real values.\n\nmemObj.getBackupBytes();\n```\n## Built With\n\n* c#\n* a newbie modder back in the day.\n\n## Authors\n\n* **aghontpi (aka) Bluepie** [aghontpi](https://github.com/aghontpi) \n\n## Meta\n\naghontpi (aka) bluepie – [@bluepie](https://twitter.com/aghontpi) – aghontpi@gmail.com\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faghontpi%2Fmemorypatternscanner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faghontpi%2Fmemorypatternscanner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faghontpi%2Fmemorypatternscanner/lists"}