Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C# 

[C#] Unlimited File Cryper\Binder [TUT - Part 2]

Part 1: https://hackforums.net/showthread.php?tid=645385

Welcome to part 2 - Coding the Stub

From your first project, go to File > Add Project > New Project and add a console application (Yes, console application, just do it and I'll explain later)

Once your in the code form, add a new class and name it Function

Function Code
Spoiler (Click to View)

Now go back to program and finish the stub code.
Spoiler (Click to View)

Couple of more things to do in the stub.

Go to Properties and change Output Style to Windows Application.

Once your done with that, uncomment the "System.IO.File.WriteAllBytes(Path, Properties.Resources.S);" line, add the stub to resources and test it.

Now it has some issues, but you should be able to fix it with no problem as soon as it happens.

Happy Coding 🤝

C# and VB Versions
http://fileml.com/2F866R
No comments at all on this tutorial at all?
this is c#, the most code in vb.net. but nice tut anyways
(Aug 29, 2010 05:39 PM)JackD Wrote:  this is c#, the most code in vb.net. but nice tut anyways

C# and VB is the same thing, just a different syntax. They both run off framework. Unless you use Microsoft.Visualbasic.dll in VB ❓ which is a bad habit IMO
Nice tut man, keep it up
too short
Bump up this thread one more time.
Cool :) I have been starting to "try" C# lately and this is a good start from VB.NET..easy to understand.
(Aug 31, 2010 10:08 PM)Kink Wrote:  Cool :) I have been starting to "try" C# lately and this is a good start from VB.NET..easy to understand.

C# is easier then VB IMO and it makes more sense due to the C syntax.

VB
Code
Dim Str As String

C#
Code
String Str;

Shorter also 🎉

Let me know what you think.

Just don't carry any bad habits from the Microsoft.VisualBasic namespace :P
Shit hot tut xSilent.

[Watch my warning level increase now: TOO SHORT]
(Sep 1, 2010 09:57 AM)laptopguy Wrote:  Shit hot tut xSilent.

[Watch my warning level increase now: TOO SHORT]

Thanks

[Check out my warning level also: too short]
I´v trubles adding the stub.. Compile the stub and add the exe? Add the Project? Add the *.cs files? How I do that?
sicccck and smoooth coding, ill have a go at this later , thanks man.
Hiya Silent, cool code!

I just gave it a bash and learnt more about using the unmanaged kernel32.dll read and writing resource.

Can I ask why you used that, instead of something simple like , 'System.IO.File.WriteAllBytes(string path, data bytes[])' and 'System.IO.File.ReadAllBytes(string path) , or FileStream class.

Also, wondering why you didn't encrypt the bytes, wouldn't the signature of the programs still reside in the bytes and if malicious be detected by the anti-virus .
Looks like a great tut, Im gonna try this soon. I havent really messed around with C# but i really would like to learn. Thanks for the tut man.
Nice tut, easy to follow, though half asleep and drunk I could rush through it last night for some finger exercises^^. Don't know if that's the reason but getting a
Code
System.Overflow exception
for the stub on

Code
Byte[] bPtr = new Byte[size - 1];

any ideas?


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C#] by DannyTMOct 4, 2016 06:01 AM 3 179 Oct 4, 2016 06:01 AM
Last Post: LogicGeek
[C#] by DaaksinAug 19, 2015 03:45 AM 41 6,306 Aug 19, 2015 03:45 AM
Last Post: hexrex111
[.NET] by TheAniMalJan 18, 2015 03:45 PM 4 142 Jan 18, 2015 03:45 PM
Last Post: Odus