OpenByteDev / dll-syringe

A windows dll injection library written in rust.
MIT License
166 stars 14 forks source link

Invalid access to memory location. #31

Closed hp8wvvvgnj6asjm7 closed 1 week ago

hp8wvvvgnj6asjm7 commented 1 month ago

Hi, I managed to find the missing DLL files, but now I'm getting this error message:

src/main.rs:9:5] metadata.is_file() = true
thread 'main' panicked at src/main.rs:15:98:
called `Result::unwrap()` on an `Err` value: RemoteIo(Os { code: 998, kind: Uncategorized, message: "Invalid access to memory location." })
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: process didn't exit successfully: `target\debug\injection-dll.exe .` (exit code: 101)
OpenByteDev commented 1 month ago

Is it still the same code you shared previously?

hp8wvvvgnj6asjm7 commented 4 weeks ago

yes

OpenByteDev commented 4 weeks ago

Is the dll written by you or do you know its source code?

hp8wvvvgnj6asjm7 commented 4 weeks ago

unfortunately i do not have the source code.

OpenByteDev commented 4 weeks ago

Can you try to inject the dll into another process and inject another dll into your target process?

hp8wvvvgnj6asjm7 commented 3 weeks ago

Ok so first I tried to inject that DLL it into another process, and it still shows the same error.

Injecting any other DLL to another process, also shows the same error.

"Invalid access to memory location."

RiritoXXL commented 1 week ago

I don't have any problem here, but maybe because Anticheat is protecting some memory or maybe because architecture type is not supported!!!

hp8wvvvgnj6asjm7 commented 1 week ago

I don't have any problem here, but maybe because Anticheat is protecting some memory or maybe because architecture type is not supported!!!

the dll used to work on windows 7

RiritoXXL commented 1 week ago

I don't have any problem here, but maybe because Anticheat is protecting some memory or maybe because architecture type is not supported!!!

the dll used to work on windows 7

oh okay

hp8wvvvgnj6asjm7 commented 1 week ago

I don't have any problem here, but maybe because Anticheat is protecting some memory or maybe because architecture type is not supported!!!

the dll used to work on windows 7

oh okay

I haven't written the DLL and I can't tell anything from code returned by decompilers. It's really tricky.

RiritoXXL commented 1 week ago

I don't have any problem here, but maybe because Anticheat is protecting some memory or maybe because architecture type is not supported!!!

the dll used to work on windows 7

oh okay

I haven't written the DLL and I can't tell anything from code returned by decompilers. It's really tricky.

try install Windows 10, install VS 2022 Professional with All Packages and try compile dll again!!!