<?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[DLL injecten geht bei mir, bei nem Kumpel aber ned... [erledigt]]]></title><description><![CDATA[<p>Hey!</p>
<p>Ich frage mich, warum mein Programm bei nem Kumpel nicht funktioniert. Es lädt eine DLL in einen Prozess, davor werden natürlich nötige Privilegien gesetzt.</p>
<p>Nun, bei mir funktioniert das laden einer DLL (Von mir erstellt, nix drin außer DllMain) in einen Prozess eines Spiels (egal.exe) einwandfrei, beim Kumpel wird die DLL einfach nicht reingeladen...</p>
<p>Woran kann das liegen? Er ist natürlich Admin und hat dasselbe Betriebssystem.<br />
Natürlich legt er die DLL auch ins richtige Verzeichnis (C:\) und startet den Prozess vorher, er macht alles gleich wie ich... Programm und DLL sind beide &quot;Release built&quot;.</p>
<p>Bin am verzweifeln... Mit dem Injection-Code möchte ich euch nicht bombadieren, aber der ist nicht von mir sondern aus dem Netz.<br />
Naja, falls es wichtig sein könnte (Bei mir gehts aber doch...):</p>
<p><a href="http://datakeeper.lima-city.de/html/winject.txt" rel="nofollow">http://datakeeper.lima-city.de/html/winject.txt</a><br />
<a href="http://datakeeper.lima-city.de/html/winject_h.txt" rel="nofollow">http://datakeeper.lima-city.de/html/winject_h.txt</a></p>
<p>Und so wird das Modul geladen:</p>
<pre><code class="language-cpp">char* exe = &quot;egal.exe&quot;;
char* path = &quot;c:/test.dll&quot;;

DWORD PID = GetPIDbyEXE(exe);
int result = DoInject(PID, path);

if(!IsModuleLoaded(PID, path))
{
	// Meier...
    // Und result == 8 (0 wäre success)
}
</code></pre>
<p>Leider gehts beim Kumpel in den Abschnitt &quot;Meier...&quot;.<br />
Also, woran kanns liegen?</p>
<p><strong>Achja:</strong> Mit ner anderen DLL funktionierts bei ihm (detoured.dll zB.)!<br />
Aber mit meiner DLL müsste es doch genauso tun, zumal es bei mir ja geht:</p>
<pre><code class="language-cpp">#include &lt;windows.h&gt;

bool WINAPI DllMain(HMODULE hDll, DWORD dwReason, PVOID pvReserved)
{
	if(dwReason == DLL_PROCESS_ATTACH)
		;
	else if(dwReason == DLL_PROCESS_DETACH)
		;

    return true;
}
</code></pre>
<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
<p>Danke!<br />
MfG</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/214120/dll-injecten-geht-bei-mir-bei-nem-kumpel-aber-ned-erledigt</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Apr 2026 20:19:32 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/214120.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 25 May 2008 21:17:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to DLL injecten geht bei mir, bei nem Kumpel aber ned... [erledigt] on Tue, 14 Oct 2008 23:05:06 GMT]]></title><description><![CDATA[<p>Hey!</p>
<p>Ich frage mich, warum mein Programm bei nem Kumpel nicht funktioniert. Es lädt eine DLL in einen Prozess, davor werden natürlich nötige Privilegien gesetzt.</p>
<p>Nun, bei mir funktioniert das laden einer DLL (Von mir erstellt, nix drin außer DllMain) in einen Prozess eines Spiels (egal.exe) einwandfrei, beim Kumpel wird die DLL einfach nicht reingeladen...</p>
<p>Woran kann das liegen? Er ist natürlich Admin und hat dasselbe Betriebssystem.<br />
Natürlich legt er die DLL auch ins richtige Verzeichnis (C:\) und startet den Prozess vorher, er macht alles gleich wie ich... Programm und DLL sind beide &quot;Release built&quot;.</p>
<p>Bin am verzweifeln... Mit dem Injection-Code möchte ich euch nicht bombadieren, aber der ist nicht von mir sondern aus dem Netz.<br />
Naja, falls es wichtig sein könnte (Bei mir gehts aber doch...):</p>
<p><a href="http://datakeeper.lima-city.de/html/winject.txt" rel="nofollow">http://datakeeper.lima-city.de/html/winject.txt</a><br />
<a href="http://datakeeper.lima-city.de/html/winject_h.txt" rel="nofollow">http://datakeeper.lima-city.de/html/winject_h.txt</a></p>
<p>Und so wird das Modul geladen:</p>
<pre><code class="language-cpp">char* exe = &quot;egal.exe&quot;;
char* path = &quot;c:/test.dll&quot;;

DWORD PID = GetPIDbyEXE(exe);
int result = DoInject(PID, path);

if(!IsModuleLoaded(PID, path))
{
	// Meier...
    // Und result == 8 (0 wäre success)
}
</code></pre>
<p>Leider gehts beim Kumpel in den Abschnitt &quot;Meier...&quot;.<br />
Also, woran kanns liegen?</p>
<p><strong>Achja:</strong> Mit ner anderen DLL funktionierts bei ihm (detoured.dll zB.)!<br />
Aber mit meiner DLL müsste es doch genauso tun, zumal es bei mir ja geht:</p>
<pre><code class="language-cpp">#include &lt;windows.h&gt;

bool WINAPI DllMain(HMODULE hDll, DWORD dwReason, PVOID pvReserved)
{
	if(dwReason == DLL_PROCESS_ATTACH)
		;
	else if(dwReason == DLL_PROCESS_DETACH)
		;

    return true;
}
</code></pre>
<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
<p>Danke!<br />
MfG</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1516625</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1516625</guid><dc:creator><![CDATA[ceplusplus*loggedoff]]></dc:creator><pubDate>Tue, 14 Oct 2008 23:05:06 GMT</pubDate></item><item><title><![CDATA[Reply to DLL injecten geht bei mir, bei nem Kumpel aber ned... [erledigt] on Mon, 26 May 2008 16:41:13 GMT]]></title><description><![CDATA[<p>Auf Windows XP <strong>Home</strong> geht es nicht, kann das sein? Ist der einzige Unterschied, auf zwei Home-Maschinen gehts nicht, auf zwei Professional-Maschinen gehts... Überall Admin...</p>
<p>Was ist da los? Was schränkt Home da wieder ein? Liegt es an:</p>
<pre><code class="language-cpp">TOKEN_PRIVILEGES priv;
	HANDLE hThis, hToken;
	LUID luid;
	hThis = GetCurrentProcess();
	OpenProcessToken(hThis, TOKEN_ADJUST_PRIVILEGES, &amp;hToken);
	LookupPrivilegeValue(0, &quot;seDebugPrivilege&quot;, &amp;luid);
	priv.PrivilegeCount = 1;
	priv.Privileges[0].Luid = luid;
	priv.Privileges[0].Attributes = SE_PRIVILEGE_ENABLED;
	AdjustTokenPrivileges(hToken, false, &amp;priv, 0, 0, 0);
	CloseHandle(hToken);
	CloseHandle(hThis);
</code></pre>
<p>Geht das auf XP Home nicht oder wie?<br />
Und noch eine Seltsamkeit:</p>
<pre><code class="language-cpp">SendMessage(analyzePanel, LB_ADDSTRING, 0, reinterpret_cast&lt;LPARAM&gt;(entry.c_str()));
</code></pre>
<p>Scheint bei nem Kumpel mit XP Home keine Auswirkung zu haben. Es wird kein Text der ListBox hinzugefügt. Bei mir gehts aber...</p>
<p>//EDIT:<br />
Mit LB_INSERTSTRING gehts auf Home... aber das kann doch nicht sein? Was ist da nur los?<br />
Aber das Hauptproblem ist eher, dass sich die DLL unter Home nicht laden lässt...</p>
<p>//EDIT 2:<br />
Auf 2 von 3 Home-Systemen funzt LB_ADDSTRING, warum funzt das auf einer Maschine nicht?</p>
<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1517074</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1517074</guid><dc:creator><![CDATA[ceplusplus*loggedoff]]></dc:creator><pubDate>Mon, 26 May 2008 16:41:13 GMT</pubDate></item><item><title><![CDATA[Reply to DLL injecten geht bei mir, bei nem Kumpel aber ned... [erledigt] on Mon, 26 May 2008 17:12:34 GMT]]></title><description><![CDATA[<p>Und wir sollen jetzt den Inject code debuggen, den du nicht mal selbst geschrieben hast, sondern nur irgendwo ausm Netz gefischt hast? Ich glaub du hast'n Sonnenbrand im Hirn.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1517094</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1517094</guid><dc:creator><![CDATA[Inf.Student]]></dc:creator><pubDate>Mon, 26 May 2008 17:12:34 GMT</pubDate></item><item><title><![CDATA[Reply to DLL injecten geht bei mir, bei nem Kumpel aber ned... [erledigt] on Mon, 26 May 2008 17:30:09 GMT]]></title><description><![CDATA[<p><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>
<p>Nana... es muss doch an etwas grundlegendem scheitern, sonst würde es auf XP Prof. doch auch nicht tun.</p>
<p>Nun, hier ein kürzerer injection-Code, mit dem es auf XP Professional funktioniert, auf XP Home wieder nicht...:</p>
<pre><code class="language-cpp">bool insertDll(DWORD procID, std::string dll)
{
    //Find the address of the LoadLibrary api, luckily for us, it is loaded in the same address for every process
    HMODULE hLocKernel32 = GetModuleHandle(&quot;Kernel32&quot;);
    FARPROC hLocLoadLibrary = GetProcAddress(hLocKernel32, &quot;LoadLibraryA&quot;);

    //Adjust token privileges to open system processes
    HANDLE hToken;
    TOKEN_PRIVILEGES tkp;
    if(OpenProcessToken(GetCurrentProcess(), TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY, &amp;hToken))
    {
        LookupPrivilegeValue(NULL, SE_DEBUG_NAME, &amp;tkp.Privileges[0].Luid);
        tkp.PrivilegeCount = 1;
        tkp.Privileges[0].Attributes = SE_PRIVILEGE_ENABLED;
        AdjustTokenPrivileges(hToken, 0, &amp;tkp, sizeof(tkp), NULL, NULL);
    }

    //Open the process with all access
    HANDLE hProc = OpenProcess(PROCESS_ALL_ACCESS, FALSE, procID);

    //Allocate memory to hold the path to the Dll File in the process's memory
    dll += '\0';
    LPVOID hRemoteMem = VirtualAllocEx(hProc, NULL, dll.size(), MEM_COMMIT, PAGE_READWRITE);

    //Write the path to the Dll File in the location just created
    DWORD numBytesWritten;
    WriteProcessMemory(hProc, hRemoteMem, dll.c_str(), dll.size(), &amp;numBytesWritten);

    //Create a remote thread that starts begins at the LoadLibrary function and is passed are memory pointer
    HANDLE hRemoteThread = CreateRemoteThread(hProc, NULL, 0, (LPTHREAD_START_ROUTINE)hLocLoadLibrary, hRemoteMem, 0, NULL);

    //Wait for the thread to finish
    bool res = false;
    if (hRemoteThread)
        res = (bool)WaitForSingleObject(hRemoteThread, 10000) != WAIT_TIMEOUT;

    //Free the memory created on the other process
    VirtualFreeEx(hProc, hRemoteMem, dll.size(), MEM_RELEASE);

    //Release the handle to the other process
    CloseHandle(hProc);

    return res;
}
</code></pre>
<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1517111</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1517111</guid><dc:creator><![CDATA[ceplusplus*loggedoff]]></dc:creator><pubDate>Mon, 26 May 2008 17:30:09 GMT</pubDate></item><item><title><![CDATA[Reply to DLL injecten geht bei mir, bei nem Kumpel aber ned... [erledigt] on Mon, 26 May 2008 18:10:50 GMT]]></title><description><![CDATA[<p>Ich würde es mal mit Fehlerbehandlung versuchen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1517139</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1517139</guid><dc:creator><![CDATA[sri]]></dc:creator><pubDate>Mon, 26 May 2008 18:10:50 GMT</pubDate></item><item><title><![CDATA[Reply to DLL injecten geht bei mir, bei nem Kumpel aber ned... [erledigt] on Mon, 26 May 2008 18:22:39 GMT]]></title><description><![CDATA[<p>liegt an dem OpenProcessToken bzw OpenProcess kram. wieso checkst du die rückgabewerte nicht? der rest ist ok</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1517143</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1517143</guid><dc:creator><![CDATA[Inf.Student]]></dc:creator><pubDate>Mon, 26 May 2008 18:22:39 GMT</pubDate></item><item><title><![CDATA[Reply to DLL injecten geht bei mir, bei nem Kumpel aber ned... [erledigt] on Mon, 26 May 2008 20:27:24 GMT]]></title><description><![CDATA[<p>Warum vergesse ich immer, Returnwerte abzufragen...<br />
Aber: Es tritt kein Fehler auf!<br />
(Habe Parameter 3 von VirtualFreeEx() noch auf 0 gesetzt, das war der einzige Fehler)</p>
<p>Gerade habe ich ein XP Home System gefunden, auf dem das Ganze funktioniert aber...</p>
<p>XP Professional System:<br />
DLL Injizieren funktioniert</p>
<p>XP Home System 1:<br />
DLL Injizieren funktioniert</p>
<p>XP Home System 2:<br />
DLL Injizieren funktioniert nicht<br />
(detoured.dll geht aber zB, nur meine nicht!)</p>
<p>XP Home System 3:<br />
DLL Injizieren funktioniert nicht<br />
(detoured.dll geht aber zB, nur meine nicht!)</p>
<p>Bei Home System 2 &amp; 3 werden zwar msvcp71.dll und MSVCR71.DLL in den Prozess geladen, meine DLL aber nicht... Was ist da los?</p>
<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
<p>Danke!<br />
MfG</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1517195</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1517195</guid><dc:creator><![CDATA[ceplusplus*loggedoff]]></dc:creator><pubDate>Mon, 26 May 2008 20:27:24 GMT</pubDate></item><item><title><![CDATA[Reply to DLL injecten geht bei mir, bei nem Kumpel aber ned... [erledigt] on Mon, 26 May 2008 19:45:56 GMT]]></title><description><![CDATA[<p>vielleicht irgendwelche antivirensoftware?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1517206</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1517206</guid><dc:creator><![CDATA[rggrge]]></dc:creator><pubDate>Mon, 26 May 2008 19:45:56 GMT</pubDate></item><item><title><![CDATA[Reply to DLL injecten geht bei mir, bei nem Kumpel aber ned... [erledigt] on Mon, 26 May 2008 20:26:22 GMT]]></title><description><![CDATA[<p>Ne leider, daran liegts auch nicht...</p>
<p>Wie anfangs schon erwähnt, funktioniert nur meine DLL nicht, aber zB. detoured.dll von Microsoft schon!<br />
(Also dort, wo sich meine DLL injizieren lässt, geht natürlich auch detoured.dll, aber dort wo sich meine DLL nicht injizieren lässt, geht es jedoch mit detoured.dll)</p>
<p>MfG</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1517223</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1517223</guid><dc:creator><![CDATA[ceplusplus*loggedoff]]></dc:creator><pubDate>Mon, 26 May 2008 20:26:22 GMT</pubDate></item><item><title><![CDATA[Reply to DLL injecten geht bei mir, bei nem Kumpel aber ned... [erledigt] on Mon, 26 May 2008 21:22:38 GMT]]></title><description><![CDATA[<p>Na dann prüfe, wie schon mehrfach gesagt, JEDEN Rückgabewert JEDER Funktion. Irgendwo wird das schieflaufen, wie sollen wir dir das hier sagen, wenn wir dein Problem nicht reproduzieren können, selbst wenn wir uns dazu motivieren könnten, es zu tun.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1517259</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1517259</guid><dc:creator><![CDATA[Inf.Student]]></dc:creator><pubDate>Mon, 26 May 2008 21:22:38 GMT</pubDate></item><item><title><![CDATA[Reply to DLL injecten geht bei mir, bei nem Kumpel aber ned... [erledigt] on Mon, 26 May 2008 21:28:16 GMT]]></title><description><![CDATA[<p>ceplusplus@loggedoff schrieb:</p>
<blockquote>
<p>Aber: Es tritt kein Fehler auf!</p>
</blockquote>
<p>Hab jede Funktion in insertDll() geprüft, jede gibt einen Wert ungleich 0 zurück. Auf jedem System. Aber trotzdem wird auf manchen Systemen nicht injiziert... Bei &quot;XP Media Center Edition&quot; gehts auch nicht...<br />
Überall als Admin probiert, kein AntiVirus, ...</p>
<p>MfG</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1517260</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1517260</guid><dc:creator><![CDATA[ceplusplus*loggedoff]]></dc:creator><pubDate>Mon, 26 May 2008 21:28:16 GMT</pubDate></item><item><title><![CDATA[Reply to DLL injecten geht bei mir, bei nem Kumpel aber ned... [erledigt] on Mon, 26 May 2008 21:28:46 GMT]]></title><description><![CDATA[<p>Das ist unmöglich. Dann machst du in deiner DLL irgendwas zweifelhaftes in DllMain oder so.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1517261</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1517261</guid><dc:creator><![CDATA[Inf.Student]]></dc:creator><pubDate>Mon, 26 May 2008 21:28:46 GMT</pubDate></item><item><title><![CDATA[Reply to DLL injecten geht bei mir, bei nem Kumpel aber ned... [erledigt] on Mon, 26 May 2008 21:42:47 GMT]]></title><description><![CDATA[<p>Inf.Student schrieb:</p>
<blockquote>
<p>Das ist unmöglich.</p>
</blockquote>
<p>Ja, das denke ich auch ständig <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
<pre><code class="language-cpp">#include &lt;windows.h&gt;

bool WINAPI DllMain(HMODULE hDll, DWORD dwReason, PVOID pvReserved)
{
	if(dwReason == DLL_PROCESS_ATTACH)
		;
	else if(dwReason == DLL_PROCESS_DETACH)
		;

    return true;
}
</code></pre>
<p>Es ist aber so... Aber es muss doch mit meiner DLL zu tun haben, immerhin funktioniert es mit anderen ja überall, doch mit meiner Selbsterstellten nicht überall...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1517266</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1517266</guid><dc:creator><![CDATA[ceplusplus*loggedoff]]></dc:creator><pubDate>Mon, 26 May 2008 21:42:47 GMT</pubDate></item><item><title><![CDATA[Reply to DLL injecten geht bei mir, bei nem Kumpel aber ned... [erledigt] on Mon, 26 May 2008 21:41:26 GMT]]></title><description><![CDATA[<p>Um welches Programm geht es? Bist du dir sicher, daß das Programm keine Maßnahmen enthält?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1517267</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1517267</guid><dc:creator><![CDATA[Inf.Student]]></dc:creator><pubDate>Mon, 26 May 2008 21:41:26 GMT</pubDate></item><item><title><![CDATA[Reply to DLL injecten geht bei mir, bei nem Kumpel aber ned... [erledigt] on Mon, 26 May 2008 21:45:52 GMT]]></title><description><![CDATA[<p>Zuerst mit nem alten Spiel, dann mit procexp.exe (Process Explorer) versucht. Haben beide sicher keine Maßnahmen, außerdem bleibt es beim selben: Bei meinen zwei PC's gehts (XP Home &amp; XP Prof.), auf paar anderen Systemen nicht... Mit ner Microsoft DLL gehts überall...</p>
<p>MfG</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1517268</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1517268</guid><dc:creator><![CDATA[ceplusplus*loggedoff]]></dc:creator><pubDate>Mon, 26 May 2008 21:45:52 GMT</pubDate></item><item><title><![CDATA[Reply to DLL injecten geht bei mir, bei nem Kumpel aber ned... [erledigt] on Mon, 02 Jun 2008 20:46:21 GMT]]></title><description><![CDATA[<p>Hilfe <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1521421</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1521421</guid><dc:creator><![CDATA[ceplusplus*loggedoff]]></dc:creator><pubDate>Mon, 02 Jun 2008 20:46:21 GMT</pubDate></item><item><title><![CDATA[Reply to DLL injecten geht bei mir, bei nem Kumpel aber ned... [erledigt] on Mon, 02 Jun 2008 20:59:55 GMT]]></title><description><![CDATA[<p>Bei dem Code von <a href="http://datakeeper.lima-city.de/html/winject.txt" rel="nofollow">http://datakeeper.lima-city.de/html/winject.txt</a> hatte es bei dir nicht geklappt mit result==6, richtig? In dem Code steht in &quot;InjectOrEject&quot;</p>
<pre><code class="language-cpp">ht = CreateRemoteThread( hProcess, 0, 0, (DWORD (__stdcall *)( void *)) p, c, 0, &amp;rc );
if ( ht == NULL ) 
	nResult=6;
</code></pre>
<p>. Hast du in deinem Codestückchen mal probiert, ob CreateRemoteThread schiefgeht? Wenn's NULL zurückgibt, dann zeig mal den GetLastError.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1521436</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1521436</guid><dc:creator><![CDATA[Badestrand]]></dc:creator><pubDate>Mon, 02 Jun 2008 20:59:55 GMT</pubDate></item><item><title><![CDATA[Reply to DLL injecten geht bei mir, bei nem Kumpel aber ned... [erledigt] on Tue, 03 Jun 2008 08:06:32 GMT]]></title><description><![CDATA[<p>Mit GetExitCodeThread müsstest Du den Returncode von Deinem Remotethread bekommen. Das müsste ja der DLL-HINSTANCE Wert sein. Zumindest wüsstest Du dann ob der LoadLibrary überhaupt funktioniert.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1521567</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1521567</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Tue, 03 Jun 2008 08:06:32 GMT</pubDate></item><item><title><![CDATA[Reply to DLL injecten geht bei mir, bei nem Kumpel aber ned... [erledigt] on Tue, 03 Jun 2008 10:45:35 GMT]]></title><description><![CDATA[<p>Danke, aber auch bei diesem Code...</p>
<p><a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-214120-and-postdays-is-0-and-postorder-is-asc-and-start-is-0.html#1517111" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-t-is-214120-and-postdays-is-0-and-postorder-is-asc-and-start-is-0.html#1517111</a></p>
<p>...funktioniert es nicht. Dabei geben aber alle Funktionen auf jedem System !0 zurück, trotzdem wird auf einigen Systemen nicht injiziert.</p>
<p>MfG</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1521670</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1521670</guid><dc:creator><![CDATA[ceplusplus*loggedoff]]></dc:creator><pubDate>Tue, 03 Jun 2008 10:45:35 GMT</pubDate></item><item><title><![CDATA[Reply to DLL injecten geht bei mir, bei nem Kumpel aber ned... [erledigt] on Tue, 03 Jun 2008 10:48:47 GMT]]></title><description><![CDATA[<p>1. Alle DLLs wirklich auf der Maschine?<br />
2. Was ist der Returnwert Deines Threads? Nach dem injezieren?<br />
3. Terminiert der Thread normal?</p>
<p>Mögichkeit:<br />
1. Deine DLL funktioniert nicht...<br />
2. Deine DLL braucht DLLs die auf dem Zielsystem nicht geladen werden können<br />
3. Dein DLL beendet DllMain nicht korrekt und wird wieder entladen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1521672</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1521672</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Tue, 03 Jun 2008 10:48:47 GMT</pubDate></item><item><title><![CDATA[Reply to DLL injecten geht bei mir, bei nem Kumpel aber ned... [erledigt] on Mon, 13 Oct 2008 20:34:55 GMT]]></title><description><![CDATA[<p>Hey!</p>
<p>Hab das Problem immer noch. Jetzt wirds aber dringend, dass es auf allen XP Systemen funktioniert...<br />
Grade wieder mit nem Kumpel getestet.</p>
<p>Hab mir jetzt einen Universal-DLL-Injector zugelegt. Er gibt bei mir keinen Fehler aus, und die DLL wird tatsächlich im Prozess ausgeführt.<br />
Beim Kumpel gibt der Injector auch keinen Fehler aus, aber die DLL wird <strong>nicht</strong> im Prozess ausgeführt!</p>
<p>Somit ist es klar, es liegt nich an meinem Injektor, sondern an meiner DLL!<br />
Denn der UniversalInjektor wurde zu genüge getestet...</p>
<p>Frage:<br />
Was muss ich beim schreiben einer DLL beachten, welche in einem Prozess ausgeführt werden soll? Brauche ich da extern &quot;C&quot;, __declspec(dllimport) Anweisungen?</p>
<p>An irgendwas muss es ja liegen...</p>
<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_down"
      title=":-1:"
      alt="👎"
    /> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1598457</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1598457</guid><dc:creator><![CDATA[cpp@loggedoff@loggedoff]]></dc:creator><pubDate>Mon, 13 Oct 2008 20:34:55 GMT</pubDate></item><item><title><![CDATA[Reply to DLL injecten geht bei mir, bei nem Kumpel aber ned... [erledigt] on Mon, 13 Oct 2008 20:43:52 GMT]]></title><description><![CDATA[<p>das hab ich dir vor 3 monaten schonmal gesagt, es liegt an dem virenscanner von deinem kumpel. woher sollen wir wissen was sein rootkit da alles im system macht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1598465</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1598465</guid><dc:creator><![CDATA[ascda]]></dc:creator><pubDate>Mon, 13 Oct 2008 20:43:52 GMT</pubDate></item><item><title><![CDATA[Reply to DLL injecten geht bei mir, bei nem Kumpel aber ned... [erledigt] on Mon, 13 Oct 2008 21:19:27 GMT]]></title><description><![CDATA[<p>Der hat nur Avast oben, und das hat er zuvor komplett deaktiviert...<br />
Er hat mal mit Process Explorer nachgesehen, wie vermutet ist die .dll einfach nicht im Prozess... Bei mir gehts doch aber verdammt, und auf meinem anderen PC auch... <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
<p><strong>Eine andere DLL lässt sich ja sogar laden</strong>, zB. eine von Microsoft...<br />
Deshalb bin ich mir so sicher, dass es an meinem DLL Code liegt (Eh schon gepostet)...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1598482</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1598482</guid><dc:creator><![CDATA[ceplusplus*loggedoff]]></dc:creator><pubDate>Mon, 13 Oct 2008 21:19:27 GMT</pubDate></item><item><title><![CDATA[Reply to DLL injecten geht bei mir, bei nem Kumpel aber ned... [erledigt] on Tue, 14 Oct 2008 06:47:58 GMT]]></title><description><![CDATA[<p>ceplusplus@loggedoff schrieb:</p>
<blockquote>
<p>XP Professional System:<br />
DLL Injizieren funktioniert</p>
<p>XP Home System 1:<br />
DLL Injizieren funktioniert</p>
<p>XP Home System 2:<br />
DLL Injizieren funktioniert nicht<br />
(detoured.dll geht aber zB, nur meine nicht!)</p>
<p>XP Home System 3:<br />
DLL Injizieren funktioniert nicht<br />
(detoured.dll geht aber zB, nur meine nicht!)</p>
<p>Bei Home System 2 &amp; 3 <strong>werden zwar msvcp71.dll und MSVCR71.DLL in den Prozess geladen</strong>, meine DLL aber nicht... Was ist da los?</p>
</blockquote>
<p>Falls das immer noch so ist, dann prüf mal mit einem &quot;DependencyWalker&quot; ob die eigene DLL außer den beiden ev. noch eine DLL braucht (die auf dem &quot;Zielsystem&quot; nicht vorhanden ist).</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1598557</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1598557</guid><dc:creator><![CDATA[abhängiger]]></dc:creator><pubDate>Tue, 14 Oct 2008 06:47:58 GMT</pubDate></item><item><title><![CDATA[Reply to DLL injecten geht bei mir, bei nem Kumpel aber ned... [erledigt] on Tue, 14 Oct 2008 23:06:29 GMT]]></title><description><![CDATA[<p>Lag tatsächlich an den Abhängigkeiten... daran hatte ich irgendwie nicht gedacht...</p>
<p>Thx a lot!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1599067</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1599067</guid><dc:creator><![CDATA[ceplusplus*loggedoff]]></dc:creator><pubDate>Tue, 14 Oct 2008 23:06:29 GMT</pubDate></item><item><title><![CDATA[Reply to DLL injecten geht bei mir, bei nem Kumpel aber ned... [erledigt] on Wed, 15 Oct 2008 08:34:19 GMT]]></title><description><![CDATA[<p>ich auch nicht, sehr gut <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1599179</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1599179</guid><dc:creator><![CDATA[ascda]]></dc:creator><pubDate>Wed, 15 Oct 2008 08:34:19 GMT</pubDate></item></channel></rss>