Sinisterly
[Tutorial] [VB.Net] Making a Builder and Stub Program - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Coding (https://sinister.ly/Forum-Coding)
+--- Forum: Visual Basic & .NET Framework (https://sinister.ly/Forum-Visual-Basic-NET-Framework)
+--- Thread: [Tutorial] [VB.Net] Making a Builder and Stub Program (/Thread-Tutorial-VB-Net-Making-a-Builder-and-Stub-Program)

Pages: 1 2 3 4 5 6


RE: [Tutorial] [VB.Net] Making a Builder and Stub Program - rahul19285 - 09-14-2011

One question When i build the server and if use icon injector and inject an icon in server then all information is erase from server howz that possible ?


RE: [Tutorial] [VB.Net] Making a Builder and Stub Program - haunter90 - 11-04-2011

Thanks , this is one of the guides I've read while taking my baby steps into VB.Net Smile


RE: [Tutorial] [VB.Net] Making a Builder and Stub Program - Drayk - 11-25-2011

can you use appendtxt multiple times on 1 bin?
i want to change more than just 1 string in the stub bin.. i've no idea why this keeps failing on me maybe a lack of sleep?
it would be cool if you could help me out on this one..


RE: [Tutorial] [VB.Net] Making a Builder and Stub Program - Coder-san - 11-25-2011

(09-14-2011, 08:09 AM)rahul19285 Wrote: One question When i build the server and if use icon injector and inject an icon in server then all information is erase from server howz that possible ?
What are you talking about?
(11-25-2011, 01:50 PM)Drayk Wrote: can you use appendtxt multiple times on 1 bin?
i want to change more than just 1 string in the stub bin.. i've no idea why this keeps failing on me maybe a lack of sleep?
it would be cool if you could help me out on this one..

Yes, AppendText is used especially for the purpose of using it multiple times.
For example:
Code:
Dim sWriter As IO.StreamWriter = IO.File.AppendText("C:\test.txt")
        sWriter.Write("Hello|SPLIT|", True)
        sWriter.Write("Field2|SPLIT|", True)
        sWriter.Write("Field3|SPLIT|", True)
        sWriter.Flush()
        sWriter.Close()



RE: [Tutorial] [VB.Net] Making a Builder and Stub Program - Drayk - 11-26-2011

Iam sorry to say but its confusing me still in the stub iam having this code
Code:
Dim Binstr As String = IO.File.ReadAllText(Application.ExecutablePath)
            Dim src() As String = Split(Binstr, "YouShouldNotSeeThis")
            Dim src2() As String = Split(Binstr, "YouShouldNotSeeThis2")
            For chapO As Integer = 1 To UBound(src)
                CustomHost = src(chapO)
            Next
            For chap1 As Integer = 2 To UBound(src2)
                CustomHost_FTP = src(chap1)
            Next

the builder is trying to write like this
Code:
IO.File.Copy(VirusItself, CurDir() & "\output\virus.exe")
            IO.File.AppendAllText(CurDir() & "\output\virus.exe", "YouShouldNotSeeThis" & TextBox1.Text)
            IO.File.AppendAllText(CurDir() & "\output\virus.exe", "YouShouldNotSeeThis2" & TextBox2.Text)

Result in the msgbox is: ,2ftp://ftpserverhost.net/ totally wrong..
Code:
MsgBox(CustomHost_FTP + ", " + CustomHost)



RE: [Tutorial] [VB.Net] Making a Builder and Stub Program - Coder-san - 11-26-2011

It's a problem of your filesplits.

YouShouldNotSeeThis2 also contains YouShouldNotSeeThis

Therefore src() also has src2() data, which is messing with your output.


RE: [Tutorial] [VB.Net] Making a Builder and Stub Program - Drayk - 11-26-2011

kay now the content of both textboxes are getting copied to "CustomHost" and "CustomHost_FTP" is empty

Code:
Dim Binstr As String = IO.File.ReadAllText(Application.ExecutablePath)
            Dim a_Host() As String = Split(Binstr, "8349")
            Dim b_FTP() As String = Split(Binstr, "yiff")
            For dX As Integer = 1 To UBound(a_Host)
                CustomHost = a_Host(dX)
            Next
            For Qz As Integer = 2 To UBound(b_FTP)
                CustomHost_FTP = b_FTP(Qz)
            Next

this really is getting annoying now since this is the only part in the app that needs to get done.. everything else is already been coded around -.^
iam going to think about other ways of doing it but its kinda frustrating.



RE: [Tutorial] [VB.Net] Making a Builder and Stub Program - Coder-san - 11-26-2011

You don't need to make this any more complex by using loops.
Just do this:
Code:
Dim Binstr As String = IO.File.ReadAllText(Application.ExecutablePath)
CustomHost = Split(Binstr, "8349")(1)
CustomHost_FTP = Split(Binstr, "yiff")(1)



RE: [Tutorial] [VB.Net] Making a Builder and Stub Program - ateto29 - 05-15-2012

thanks mate ,but my avira is 2012 alerts me for the generated server and says it contains TR/Dropper.Gen virus .
can any one help me to over come this alerts !

first of all thanks mate for your code , but when i build the server my avira IS 2012 alerts me for
virus called TR/Dropper.Gen .
can you or any onle else help me to over come the problem ?!:headbash:


RE: [Tutorial] [VB.Net] Making a Builder and Stub Program - enanobp - 05-17-2012

thanks this really help me out!