unknowncheats uc-forum.com ucdownloads ucdownloads.com

Go Back   UC-Tutorials - Multiplayer Game Hacking and Cheat Tutorials > Programming > C and C++

- Sponsored Advertisement -
http://www.myfpscheats.com/

Reply
 
Thread Tools Display Modes
  #1  
Old 08-21-2007, 10:54 PM
zero_tolerance zero_tolerance is offline
Senior Member
 
Join Date: Dec 2006
Posts: 289
Default Make your DLLs disappear

Credits: Umo

NEVER INCLUDE A DLL AGAIN!!!!!

VS2005

Attached is the source to load any dll into memory. I made an example of how to appear "DLL-less" (lul)

Process:
1st run (commented out code)
Read dll file (test.dll)
Write contents to log file (in bytes - you can change it to make the output file shorter)
-----------------------------------------------------------------------------------------
copy output to your source - it is already formatted in c for you
----- above steps have been done for you already/commented out -----

2nd run
Write DLL file to drive
Load DLL to memory
Delete DLL file
Load DLL functions
Call DLL functions
Unload

note: the files would appear never to exist if you take out the pauses
I'm sure there are plenty of uses for this be creative.

-Yes, you can hide other things with this but just cant delete it until you are finished with it.

Also, I hope it works for you. Some have said they can't. If you can't, you can just compile it. :P

DLLDump 1.1 - Converts your DLL to a C code byte buffer.
http://www.ucdownloads.com/downloads...o=file&id=2027
ss:
http://img227.imageshack.us/img227/7580/dlldumplz2.png
http://img170.imageshack.us/img170/3314/dlldump2xx5.png


source + exe
http://www.ucdownloads.com/downloads...o=file&id=2021

NOTICE: MODIFIED SOURCE BELOW WHERE YOU DON'T HAVE TO WRITE THE DLL TO THE DISK


modified source:
Code:
	//part 2: we copy the output to the file stdafx.h so you wont have all that mess here
	//now let's make our temp dll

	HMEMORYMODULE TempDll = MemoryLoadLibrary(&byteDLLcontents);
	if(TempDll == NULL)
	{
		printf("ERROR: DLL not loaded. Most likely corrupt buffer data.\n");
		system("PAUSE");
		return 1;
	}

	//lets define some functions
	add = (funct)GetProcAddressMemory(TempDll, "addNumbers");
	subtract = (funct)GetProcAddressMemory(TempDll, "subtractNumbers");

	//let's test :D
	printf("5 + 3 = %i\n", add(5,3));
	printf("5 - 3 = %i\n", subtract(5,3));
	UnloadFromMemory(TempDll);
	system("PAUSE");

	return 0;
}
Reply With Quote
Reply

  • Submit Thread to Digg
  • Submit Thread to del.icio.us
  • Submit Thread to StumbleUpon
  • Submit Thread to Google
  • Submit Thread to Facebook
  • Submit Thread to My Yahoo!
  • Submit Thread to MySpace
  • Submit Thread to Twitter
  • Submit Thread to Reddit

Tags
disappear, dlls, make

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 05:40 PM.


- Sponsored Advertisement -
http://www.myfpscheats.com/