|
You last visited: Today at 03:32
Advertisement
C# Write/ReadprocessMemory Fehler Code 5 ( Zugriff Verweigert)
Discussion on C# Write/ReadprocessMemory Fehler Code 5 ( Zugriff Verweigert) within the .NET Languages forum part of the Coders Den category.
01/07/2013, 20:08
|
#1
|
elite*gold: 0
Join Date: Jun 2010
Posts: 3,146
Received Thanks: 583
|
C# Write/ReadprocessMemory Fehler Code 5 ( Zugriff Verweigert)
Hey Leute, ich habe folgendes Problem, undzwra erstelle ich grade ienn hack für Metin, welcher auf Metin2 Singapore auch geht, jedoch bekomme ich bei Metin2 Deutschland, die Fehlermeldung "Zugriff Verweigert".
Ich weiß jedoch auchnicht wo diesen Problem liegt.
Das gleiche ist in C++ auch.
Hier ist einmal die Komplette source:
frmMain.cs

cMemory.cs:

Player.cs:
Und dann gibt es eben noch die Pointer.cs, wo nur die Addressen + Offsets drinne sind.
Welche jedoch stimmen, da sie mit CE funktionieren( ja auf Metin2 DE)
Weiß einer wo der Fehler liegt und / oder wie ich diesen beheben kann?
|
|
|
01/08/2013, 04:55
|
#2
|
elite*gold: 237
Join Date: Sep 2010
Posts: 1,152
Received Thanks: 4,910
|
Sorry, I only speak english.
This could be caused by one of two things. Firstly, as you said it works for one, and not the other, I would start by checking the Memory Pointers are correct for the one it does not work on. You may be trying to use metin singapore memory addresses on metin germany which is totally wrong. If this is true, that is your source of access denied error, as you are probably trying to write into the wrong address and that address is write protected.
Second possibility: Memory regions can be declared write protected meaning only the process owning the memory can write to it (and sometimes read from it). You would need to use DLL Injection to get the process owning the memory to read or write it for you and then pass it back to your process. Named pipes work well! Its basically a proxy.
Hope that helps
-jD
|
|
|
01/08/2013, 12:39
|
#3
|
elite*gold: 0
Join Date: Jun 2010
Posts: 3,146
Received Thanks: 583
|
Hey, thanks for your Answer and your help to find a Solution for my Problem, First The Adresses and Pointers are right. I've tested the Adresses and Pointer in CheatEngine.
I think it can be, that the Addresses are Proctected, but how does CheatEngine Read/Write from it? As i know CheatEngine does not Inject an DLL.
Sorry for my bad English
|
|
|
01/09/2013, 05:12
|
#4
|
elite*gold: 237
Join Date: Sep 2010
Posts: 1,152
Received Thanks: 4,910
|
I'm not sure. You could use OllyDbg to find out some more information on the memory of the program! You can download it from  . Its pretty simple to use. What you would need to do is run the program, then click File -> Attach in OllyDbg and find your program. Once you've done that click "Attach", give it some time to attach, and then find the little 'M' in the bright blue box up the top of OllyDbg. Clicking that will bring up the Memory View. Simply find your address in the list and then see what is in the "Access" column. That should give you a rough indication on whether the memory is read/write protected. Mind you it isn't impossible to read or write protected memory
About your cheat engine question, as far as I'm aware I think they have their own "driver" that can run in kernel mode with unlimited permissions to read/write memory, they then use some custom functions to use the driver to access the memory. I could be totally wrong as I never really looked into cheat engine and it has been years since I opened it up. Please note that GameGuard and assorted other anti-cheat engines will detect this sort of driver hooking and stop it before you can do anything. I can whip you up a DLL or some examples if you would like.
-jD
|
|
|
01/09/2013, 14:34
|
#5
|
elite*gold: 0
Join Date: Jun 2010
Posts: 3,146
Received Thanks: 583
|
Hey the User  gave me the Answer of my Quest, if i asked him yesterday, the Anti-Cheat of Metin2 Germany blocks Memory Writing and Reading at Kernel and User-level.
So i have to Inject an DLL or ?
|
|
|
01/10/2013, 00:27
|
#6
|
elite*gold: 237
Join Date: Sep 2010
Posts: 1,152
Received Thanks: 4,910
|
Yes, you would need to inject a DLL or like I said above, write a Kernel Driver
-jD
|
|
|
09/01/2013, 11:07
|
#7
|
elite*gold: 0
Join Date: Sep 2013
Posts: 2
Received Thanks: 0
|
hey I want to do for metin2 turkey. csharp pointers gives the error, if pointers.cs construction? :/
|
|
|
 |
Similar Threads
|
Autorun.inf , Zugriff verweigert
12/16/2012 - Technical Support - 4 Replies
Hallo,
Habe einen 8GB SanDisk Cruzer Edge möchte damit dort Windows 8 (Setup) drauf packen jedoch sagt er mir das er die AutorunINF nicht dorthin kopieren kann da schon eine vorhanden ist diese ist leer kann sie nicht enfernen und nach formatieren ist sie immernoch da sie wird nicht angezeigt erst wenn ich die aus der iso dorthin machen möchte.
Per Windows 7 DVD/USB Installer Tool gibt auch Fehler "unable to copy files" hatte das Problem schonmals keine Ahnung wie ich es hinbekommen habe
...
|
phpMyadmin zugriff verweigert
02/03/2012 - Metin2 Private Server - 5 Replies
Fehler
MySQL meldet:
Die Verbindung konnte aufgrund von ungültigen Einstellungen nicht hergestellt werden.
phpMyAdmin hat versucht eine Verbindung zum MySQL-Server aufzubauen, jedoch hat dieser die Verbindung zurückgewiesen. Sie sollten Ihre Einstellungen für Host, Benutzername und Passwort in Ihrer config.inc.php überprüfen und sich vergewissern, dass diese den Informationen, welche Sie vom Administrator erhalten haben, entsprechen.
das kam als ich das passwort beim root geändert...
|
Zugriff verweigert.. EMT2
03/29/2011 - Metin2 - 4 Replies
Hey :D ich hatte das Problem das mein EasyMetin2 fenster nach dem Einloggen nicht da war..
Mir wurde drauf hingewiesen das irgendwas mit meiner General.dll datei nicht stimmt hab ich überprüft und ist glaub ich soger richtig weil wenn ich die öffnen will kommt die meldung " Zugriff Verweigert "
Ich tuh es nicht in dem Sammelthread weil auch Leute die nichts über Easymetin2 wissen vielleicht eine Ahung haben wie die Fehlermeldung weg geht
Ich hoffe auf Antworten :D
Mfg
|
Zugriff verweigert
02/09/2010 - Metin2 Private Server - 6 Replies
Zugriff verweigert!
Neues XAMPP Sicherheitskonzept:
Der Zugriff auf das angeforderte Verzeichnis ist nur aus dem lokalen Netzwerk möglich.
Diese Einstellung kann in der Datei "httpd-xampp.conf" angepasst werden.
Sofern Sie dies für eine Fehlfunktion des Servers halten, informieren Sie bitte den Webmaster hierüber.
Error 403
|
rootkit zugriff verweigert O_o
02/03/2008 - Kal Online - 14 Replies
Nabend, ich habe ein prob. mit dem root kit für "u"ce
Immer wenn ich fu.exe starte im cmd modus kommt die meldung:
"Zugriff verweigert"
warum????
|
All times are GMT +1. The time now is 03:36.
|
|