<?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[Hooking related question]]></title><description><![CDATA[<p>Hi,</p>
<p>Ich habe eine cDetour class, die von einer DLL eine funktionen hooken kann.</p>
<p>Mein Problem ist jetzt, dass die klasse über getprocaddress die funktion holt und anschliessend wird sie detoured (Kein problem bei einer DLL)!</p>
<p>aber ich muss eine funktion von einer (.exe) hooken z.B StartFile() und getprocaddress funktioniert doch nur in verbindung mit einer dll oder nicht?</p>
<p>kann mir wer sagen, wie ich das jetzt am besten mache?<br />
waere dankbar</p>
<p>gruss,<br />
felix w.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/163494/hooking-related-question</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Jul 2026 16:58:59 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/163494.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 30 Oct 2006 09:58:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Hooking related question on Mon, 30 Oct 2006 09:58:29 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>Ich habe eine cDetour class, die von einer DLL eine funktionen hooken kann.</p>
<p>Mein Problem ist jetzt, dass die klasse über getprocaddress die funktion holt und anschliessend wird sie detoured (Kein problem bei einer DLL)!</p>
<p>aber ich muss eine funktion von einer (.exe) hooken z.B StartFile() und getprocaddress funktioniert doch nur in verbindung mit einer dll oder nicht?</p>
<p>kann mir wer sagen, wie ich das jetzt am besten mache?<br />
waere dankbar</p>
<p>gruss,<br />
felix w.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1164324</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1164324</guid><dc:creator><![CDATA[Danke_Fuer_Die_Antwort]]></dc:creator><pubDate>Mon, 30 Oct 2006 09:58:29 GMT</pubDate></item><item><title><![CDATA[Reply to Hooking related question on Mon, 30 Oct 2006 11:06:07 GMT]]></title><description><![CDATA[<p>Exe-Dateien enthalten keine Variablennamen (oder Funktionsnamen) mehr, daher ist dies nicht möglich. Eine DLL enthält gerade deshalb eine Liste mit allen Funktionsnamen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1164370</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1164370</guid><dc:creator><![CDATA[Th]]></dc:creator><pubDate>Mon, 30 Oct 2006 11:06:07 GMT</pubDate></item><item><title><![CDATA[Reply to Hooking related question on Mon, 30 Oct 2006 15:44:22 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile.php?mode=viewprofile&amp;u=403" rel="nofollow">HumeSikkins</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=15" rel="nofollow">C++</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=4" rel="nofollow">WinAPI</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic.php?t=39405" rel="nofollow">C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?</a></p>
<p><em>Dieses Posting wurde automatisch erzeugt.</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1164616</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1164616</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Mon, 30 Oct 2006 15:44:22 GMT</pubDate></item><item><title><![CDATA[Reply to Hooking related question on Mon, 30 Oct 2006 17:03:33 GMT]]></title><description><![CDATA[<p>ich kann auch den offset sochen, da wo die funktion im ist.</p>
<p>aber wie kann ich die detouren?</p>
<p>hast du irgendwelche example codes?</p>
<p>(codeproject, uvm)?</p>
<p>mfg,<br />
felix</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1164722</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1164722</guid><dc:creator><![CDATA[danke_Fuer_die_antwort]]></dc:creator><pubDate>Mon, 30 Oct 2006 17:03:33 GMT</pubDate></item><item><title><![CDATA[Reply to Hooking related question on Tue, 31 Oct 2006 14:59:51 GMT]]></title><description><![CDATA[<p>Th schrieb:</p>
<blockquote>
<p>Exe-Dateien enthalten keine Variablennamen (oder Funktionsnamen) mehr, daher ist dies nicht möglich. Eine DLL enthält gerade deshalb eine Liste mit allen Funktionsnamen.</p>
</blockquote>
<p>Auch wenn das nicht zur Lösung des Ursprungsproblems beiträgt:</p>
<p>Executables können genau wie DLLs Symbole exportieren. Das ist völlig legal.</p>
<p>Gruß,</p>
<p>Matthias.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1165408</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1165408</guid><dc:creator><![CDATA[Wulk]]></dc:creator><pubDate>Tue, 31 Oct 2006 14:59:51 GMT</pubDate></item><item><title><![CDATA[Reply to Hooking related question on Tue, 31 Oct 2006 15:08:45 GMT]]></title><description><![CDATA[<p>danke_Fuer_die_antwort schrieb:</p>
<blockquote>
<p>ich kann auch den offset sochen, da wo die funktion im ist.</p>
<p>aber wie kann ich die detouren?</p>
<p>hast du irgendwelche example codes?</p>
<p>(codeproject, uvm)?</p>
<p>mfg,<br />
felix</p>
</blockquote>
<p>Hierfür gibt es keine triviale Lösung, die mir bekannt wäre. Letztlich würdest<br />
Du hierzu wohl im Adressraum des zu hookenden Prozesses rumfummeln müssen.<br />
Wie kommst Du an den offset der besagten Funktion ? Wie bringst Du Deinen<br />
Detour Code sauber in den fremden Adressraum ? Das ist nicht unmöglich, aber -<br />
wie gesagt - recht kompliziert, wenn man nicht wirklich weiß, was man da tut.</p>
<p>Gruß,</p>
<p>Matthias.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1165414</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1165414</guid><dc:creator><![CDATA[Wulk]]></dc:creator><pubDate>Tue, 31 Oct 2006 15:08:45 GMT</pubDate></item></channel></rss>