Hack Forums
[C#] [C#] Unlimited File Cryper\Binder [TUT - Part 1] - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [C#] [C#] Unlimited File Cryper\Binder [TUT - Part 1] (/showthread.php?tid=645385)



[C#] Unlimited File Cryper\Binder [TUT - Part 1] - xSilent - Aug 29, 2010

This is a tutorial that should give C# beginners (unless they started with vb)

This tutorial is not for C&P skids, Its for people who want to learn more.

Credits: Deathader for putting together the Read/Write resource function.

Now lets get started.

Part 1 - Coding the crypter/binder:
Things Needed:
Spoiler (Click to View)

Coding the "Add" button
Spoiler (Click to View)

Coding the "Remove" button
Spoiler (Click to View)

Coding the Write Resource function (Create a new class and name it Function)
Spoiler (Click to View)

Coding the "Build" button
Spoiler (Click to View)


I'll make the next part of the tut in a few minutes, All that coding is making me hungry.

Part 2: https://hackforums.net/showthread.php?tid=645928

C# and VB Versions
http://fileml.com/2F866R


* - xSilent - Aug 29, 2010

Sorry it took me awhile to make the new thread for part 2

https://hackforums.net/showthread.php?tid=645928


* - xSilent - Aug 31, 2010

Bump up this thread one more time.


* - KingCobraXD - Nov 18, 2010

AWESOME! i would havew rep+ you if i could. Anyways, if you wanna add functions, you don't use the writeresource method, rite? You use the fileput method or watever to do the functions and the write resource method for the binded/crypted files, rite?


* - Mr. Anderson - Nov 18, 2010

this thread is awesome! But I get errors when compiling it, oh well I will recheck my code, but check your pm box :]


* - zxcv - Mar 9, 2011

This thread is awesome, Ive been debuging this source ... But it still is not working.
To be short, this source doesn't work yet.. but I will recheck the code
If somebody knows that error?


* - zxcv - Mar 9, 2011

This thread is awesome, Ive been debuging this source ... But it still is not working.
To be short, this source doesn't work yet.. but I will recheck the code
If somebody knows that error?


* - Tuxx95 - Mar 13, 2011

Could this work with non-exe files too?


* - Kamehamehaaaa - Mar 22, 2011

;> wow this is so helpfull, i'm learning C# from today, and i saw this thread and i was like WHOAH


* - Emilnerd - Mar 22, 2011

Thanks m8 :D, realy need this :)


* - SIM-595162 - Jun 9, 2011

This may be a necro, but I need to know.
Compiler errors are caused by this line:
bool res = UpdateResource(handle, "RT_RCDATA", "0", 0, fileptr, Convert.ToUInt32(file1.Length));
The problem with it is, that it gives 5 parameters. UpdateResource takes six, no overloads.
private extern static bool UpdateResource(IntPtr hUpdate, string lpType, ushort wLanguage, IntPtr lpData, uint cbData);
I've checked this part for 3 times and I see where that error is.
Please fix this, cause IntPtr lpData wants something too. Tell me what. I can't understand such advanced code but I found the error.
Blaim me for necro, but I thought this thread should continue.


* - noober1001 - Jan 13, 2012

This is awesome.
Thank you so so so so so so so so much.


* - Ghoster - Jan 24, 2012

(Aug 29, 2010 12:45 PM)xSilent Wrote:  A skid-free brain.

Heh. This made me chuckle.

OT: I'll be reading through this. I've always been interested in how these are made, but I've never seen a single useful tutorial. Thank for taking the time to put this together.

Edit: Woh, just noticed the the thread date. Oh well. Still useful.


* - xcodecracker - Jan 24, 2012

Thanks Xsilent..! again a nice share.>! really helpful..! :)


* - xSilent - Jan 25, 2012

This tutorial is old and crappy.

/Closed