[Help]Copying the .exe somewhere[Solved]

Posts 1–9 of 9 · Page 1 of 1
[Help]Copying the .exe somewhere[Solved]
Ok so whats the code for taking the current .exe running and copying it somewhere. Like say for example i want to on a button click copy the running .exe and paste a copy of the .exe at "C:\CA.exe", what is the code for that?
mogh.net doesn't support this , this code could be used to create malicious software such as a Rat,Keylogger,Trojan etc etc

but anyways here is the code
Code:
       Public Sub CopyFiles(ByVal sourcePath As String, ByVal DestinationPath As String)
        If (Directory.Exists(sourcePath)) Then
            For Each fName As String In Directory.GetFiles(sourcePath)
                If File.Exists(fName) Then
                    Dim dFile As String = String.Empty
                    dFile = Path.GetFileName(fName)
                    Dim dFilePath As String = String.Empty
                    dFilePath = DestinationPath + dFile
                    File.Copy(fName, dFilePath, True)
                End If
            Next
        End If
    End Sub
i got this code from
Copy, delete and move files in VB.NETⓘ
Quote Originally Posted by Lonely Tedy Bear View Post
mogh.net doesn't support this , this code could be used to create malicious software such as a Rat,Keylogger,Trojan etc etc

I figured it out, and its being used for my CA game enhancer so gtfo rat
Quote Originally Posted by Bombsaway707 View Post


I figured it out, and its being used for my CA game enhancer so gtfo rat
no need to flame what is wrong with you ? i answered your question and told you the rules you should know them
Quote Originally Posted by Bombsaway707 View Post


I figured it out, and its being used for my CA game enhancer so gtfo rat
Wow, are you kidding me? This guy helps you out and you tell him "gtfo rat"? What the fuck is your problem mate?

Sorry Lolland.
Sooo, /solved?

Marked accordingly.
i needed it too thanx /yea
offtopic:bombsaway love your avatar Megadeth right XD
Teddy is still wrong though, there are tons of "code" that can be used maliciously (like 3/4 of the other stuff that is discussed and supported in this section can be "used maliciously), For that matter, we can't tell you how to move a file with admin permission because we can use it to move important system files,.... it is directly supporting warez, Viruses, Trojans,Keyloggers, etc that is prohibited.


I don't know if your going for minion, but you are constantly telling the Mods/Minions the rules. We know them. Thnx

Good job helping, but I can see Bombs frustration.

Quote Originally Posted by NextGen1 View Post
Teddy is still wrong though, there are tons of "code" that can be used maliciously (like 3/4 of the other stuff that is discussed and supported in this section can be "used maliciously), For that matter, we can't tell you how to move a file with admin permission because we can use it to move important system files,.... it is directly supporting warez, Viruses, Trojans,Keyloggers, etc that is prohibited.


I don't know if your going for minion, but you are constantly telling the Mods/Minions the rules. We know them. Thnx

Good job helping, but I can see Bombs frustration.

lol na im just posting when im bored
and im just trying to protect are members wouldn't you be mad if we had some choob posting a program that had a keyloger or rat hiden in it and transferring it self or copying it self to a hidden location, it's a major part of the the malicious programs function

but anyways thanks NextGen1 for helping
Posts 1–9 of 9 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us