Sinisterly
how to make a stub and a builder in VB.Net? - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Coding (https://sinister.li/Forum-Coding)
+--- Forum: Visual Basic & .NET Framework (https://sinister.li/Forum-Visual-Basic-NET-Framework)
+--- Thread: how to make a stub and a builder in VB.Net? (/Thread-how-to-make-a-stub-and-a-builder-in-VB-Net)



how to make a stub and a builder in VB.Net? - 1234hotmaster - 12-05-2010

well, i'm starting to make a cool program which i'm going to make it a builder to build a server.exe with a stub. um...how to start? Biggrin


1 - 1llusion - 12-05-2010

Hey Smile

Well, Ill give you my source, its not 100% working but should give you the idea xD

Builder:
Code:
Imports System.IO Public Class Form1 Dim stub, text1, text2 As String Const FileSplit = "@builder@" Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Me.Close() End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click text1 = TextBox1.Text text2 = TextBox2.Text FileOpen(1, Application.StartupPath & "\stub.exe", OpenMode.Binary, OpenAccess.Read, OpenShare.Default) stub = Space(LOF(1)) FileGet(1, stub) FileClose(1) If File.Exists("Patcher.exe") Then My.Computer.FileSystem.DeleteFile("Patcher.exe") End If FileOpen(1, Application.StartupPath & "\Patcher.exe", OpenMode.Binary, OpenAccess.ReadWrite, OpenShare.Default) FilePut(1, stub & FileSplit & text1 & FileSplit & text2 & FileSplit) FileClose(1) MsgBox("Your Patcher is ready!") End Sub End Class

Stub:
Code:
Imports System.IO Dim options(), text1, text2 As String Const FileSplit = "@builder@"

I didnt include the whole stub since it wasnt important.

Important is to have same thing under:
Code:
Const FileSplit =

and
Code:
Dim options(), text1, text2 As String
are the options taken from the builder.

Hope I helped Smile


RE: how to make a stub and a builder in VB.Net? - 1234hotmaster - 12-05-2010

oh tnx a bounch Biggrin


RE: how to make a stub and a builder in VB.Net? - 1llusion - 12-05-2010

Your welcome Smile


RE: how to make a stub and a builder in VB.Net? - 1234hotmaster - 12-05-2010

well, nice to see friends helping you out =]

since sage is completely ignoring me today -_-"


RE: how to make a stub and a builder in VB.Net? - 1234hotmaster - 12-06-2010

omg... lol if i had the same situation i go mad XD...

k understood... fking HF banned for releasing tool with HC name? :mad:

a guy in forum comes saying your gona be hacked? fake. no one can hack a person blindly. either with hacking the site and finding the account or by sending him a file XD


RE: how to make a stub and a builder in VB.Net? - 1234hotmaster - 12-06-2010

yea. weird but 70% of HF is just skids. 10% is people who don't know anything about hacking and 10% is just people passing by and the remaining 10% is number of real hackers XD


RE: how to make a stub and a builder in VB.Net? - Th3Proph3t - 12-07-2010

I am probably the biggest skid in the fucking world though lol Tongue At least I admit it.


RE: how to make a stub and a builder in VB.Net? - 1234hotmaster - 12-07-2010

skid? lol we are all skids :lp:


RE: how to make a stub and a builder in VB.Net? - Coder-san - 01-11-2011

Hmm how could I miss this? :lp:
If you still need any help with this, here is the Tutorial I've been writing from a few minutes.

[Tutorial] [VB.Net] Making a Builder and Stub Program