<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Hab eine komplizierte Frage]]></title><description><![CDATA[<p>Hi, ich hab eine (für meine Verhältnisse) eher komplizierte Frage und zwar:<br />
Ich habe eine dll in einen Prozess injeziert, und würde nun gern mit dieser dll einen Befehl an einer bestimmten Adresse abändern und zwar der Befehl ist:</p>
<p>6FAE1EFE 81FE 30750000 CMP ESI,7530</p>
<p>daraus soll : CMP ESI,3000 werden. Ich probier jetzt schon seit einiger Zeit herum, aber ich bekomms einfach nicht hin. Kann mir da bitte jemand helfen?<br />
danke schonmal <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /> .</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/179303/hab-eine-komplizierte-frage</link><generator>RSS for Node</generator><lastBuildDate>Mon, 21 Sep 2026 04:59:41 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/179303.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 20 Apr 2007 09:56:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Hab eine komplizierte Frage on Fri, 20 Apr 2007 09:56:33 GMT]]></title><description><![CDATA[<p>Hi, ich hab eine (für meine Verhältnisse) eher komplizierte Frage und zwar:<br />
Ich habe eine dll in einen Prozess injeziert, und würde nun gern mit dieser dll einen Befehl an einer bestimmten Adresse abändern und zwar der Befehl ist:</p>
<p>6FAE1EFE 81FE 30750000 CMP ESI,7530</p>
<p>daraus soll : CMP ESI,3000 werden. Ich probier jetzt schon seit einiger Zeit herum, aber ich bekomms einfach nicht hin. Kann mir da bitte jemand helfen?<br />
danke schonmal <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /> .</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1269854</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1269854</guid><dc:creator><![CDATA[macmallow]]></dc:creator><pubDate>Fri, 20 Apr 2007 09:56:33 GMT</pubDate></item><item><title><![CDATA[Reply to Hab eine komplizierte Frage on Fri, 20 Apr 2007 10:01:53 GMT]]></title><description><![CDATA[<p>Was soll denn das für ein Befehl sein? Und wo steht der?</p>
<p>(im Zweifelsfall - Assambler-Befehle kannst du fast 1:1 in Bytemuster übersetzen - dann mußt du ihn nur noch suchen und ersetzen)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1269859</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1269859</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Fri, 20 Apr 2007 10:01:53 GMT</pubDate></item><item><title><![CDATA[Reply to Hab eine komplizierte Frage on Fri, 20 Apr 2007 10:22:20 GMT]]></title><description><![CDATA[<p>CStoll schrieb:</p>
<blockquote>
<p>Was soll denn das für ein Befehl sein? Und wo steht der?</p>
<p>(im Zweifelsfall - Assambler-Befehle kannst du fast 1:1 in Bytemuster übersetzen - dann mußt du ihn nur noch suchen und ersetzen)</p>
</blockquote>
<p>Hm, der Befehl gehört zu einer Funktion, die überprüft ob bereits 30 Sekunden (30000 Millisekunden = 7530) vergangen sind. Ich wollte diese 30000 Millisekunden auf einen kleineren Wert ändern, habe aber keine Ahnung wie.</p>
<p>Darum hab ich gehofft, dass mir hier vielleicht jemand helfen könnte. Wahrscheinlich ist das ganze nur eine Programmzeile, aber ich komm einfach nicht drauf <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /> .</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1269870</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1269870</guid><dc:creator><![CDATA[macmallow]]></dc:creator><pubDate>Fri, 20 Apr 2007 10:22:20 GMT</pubDate></item><item><title><![CDATA[Reply to Hab eine komplizierte Frage on Fri, 20 Apr 2007 10:43:20 GMT]]></title><description><![CDATA[<p>Und welches Spiel willst du damit cheaten?</p>
<p>Wenn du weißt, wo genau in deinem Programm das steht, sind das wirklich nur drei Programmzeilen:</p>
<pre><code class="language-cpp">ofstream exe(&quot;das_programm.exe&quot;,ios::out|ios::binary);
exe.seekp(zielposition);
exe.write(neuer Befehl);
</code></pre>
<p>(wie dieser Befehl in &quot;Reinform&quot; aussieht, kannst du evt. im Assambler-Board erfragen - aber das dürfte abhängig von deinem System sein)</p>
<p>PS: Aber nimm dir lieber den Original-Quelltext deiner Funktion vor, ändere die Wartezeit dort und compiliere neu - das ist einfacher und weniger fehleranfällig.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1269888</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1269888</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Fri, 20 Apr 2007 10:43:20 GMT</pubDate></item><item><title><![CDATA[Reply to Hab eine komplizierte Frage on Fri, 20 Apr 2007 11:41:14 GMT]]></title><description><![CDATA[<ol>
<li>Ich will gar nichts Cheaten, sondern eine Verbindungstimeoutzeit heruntersetzen.</li>
<li>Danke.</li>
<li>Ich möchte das ganze aber bitte mit einer injezierten dll während der Laufzeit machen, und nicht die komplette Exe Datei verändern. Und eben genau da weiss ich nicht , wie ich das machen soll. Ich weiss nur, dass es definitiv funktioniert.</li>
</ol>
]]></description><link>https://www.c-plusplus.net/forum/post/1269929</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1269929</guid><dc:creator><![CDATA[macmallow]]></dc:creator><pubDate>Fri, 20 Apr 2007 11:41:14 GMT</pubDate></item><item><title><![CDATA[Reply to Hab eine komplizierte Frage on Fri, 20 Apr 2007 14:22:11 GMT]]></title><description><![CDATA[<p>uh, dann musst du im Codesegment des prozesses rumpfuschen... dürfte wohl eher kompliziert werden. vl mit writeprocessmemory?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1270048</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1270048</guid><dc:creator><![CDATA[Maxi]]></dc:creator><pubDate>Fri, 20 Apr 2007 14:22:11 GMT</pubDate></item><item><title><![CDATA[Reply to Hab eine komplizierte Frage on Fri, 20 Apr 2007 14:52:09 GMT]]></title><description><![CDATA[<p>Hmm, funktionierts vielleicht mit dem Befehl hier:<br />
<a href="http://www.cplusplus.com/reference/clibrary/cstring/memcpy.html" rel="nofollow">http://www.cplusplus.com/reference/clibrary/cstring/memcpy.html</a><br />
?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1270068</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1270068</guid><dc:creator><![CDATA[macmallow]]></dc:creator><pubDate>Fri, 20 Apr 2007 14:52:09 GMT</pubDate></item><item><title><![CDATA[Reply to Hab eine komplizierte Frage on Fri, 20 Apr 2007 16:05:58 GMT]]></title><description><![CDATA[<p>glaub ich kaum. Ich glaub sowieso kaum, dass du schreibrechte auf das Codesegment bekmmst</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1270115</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1270115</guid><dc:creator><![CDATA[Maxi]]></dc:creator><pubDate>Fri, 20 Apr 2007 16:05:58 GMT</pubDate></item><item><title><![CDATA[Reply to Hab eine komplizierte Frage on Fri, 20 Apr 2007 16:31:21 GMT]]></title><description><![CDATA[<p>WinAPI-Lösung :</p>
<blockquote>
<p>6FAE1EFE 81FE <strong>3075</strong>0000 CMP ESI,<strong>7530</strong><br />
6FAE1EFE 81FE <strong>0030</strong>0000 CMP ESI,<strong>3000</strong></p>
</blockquote>
<p>OpenProcess () VirtualProtectEx () WriteProcessMemory () CloseHandle ()</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1270132</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1270132</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Fri, 20 Apr 2007 16:31:21 GMT</pubDate></item><item><title><![CDATA[Reply to Hab eine komplizierte Frage on Fri, 20 Apr 2007 16:40:28 GMT]]></title><description><![CDATA[<p>der macht nen hack -.-<br />
haha hoffentlich wirst vacbanned <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1270137</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1270137</guid><dc:creator><![CDATA[...]]></dc:creator><pubDate>Fri, 20 Apr 2007 16:40:28 GMT</pubDate></item></channel></rss>