- Регистрация
- 25.01.17
- Сообщения
- 763
- Реакции
- 225
- Репутация
- 292
Код:
const string HawkPass = "HawkEyeKeylogger";
static void Main(string[] args)
{
Console.Title = "HawkEye Decrypter";
HawkeyeDecrypter.Program Pr = new Program();
Pr.Doit();
}
public string Decrypt(string encryptedBytes, string secretKey)
{
string str2 = null;
using (MemoryStream stream = new MemoryStream(Convert.FromBase64String(encryptedBytes)))
{
RijndaelManaged managed = this.getAlgorithm(secretKey);
using (CryptoStream stream2 = new CryptoStream(stream, managed.CreateDecryptor(), CryptoStreamMode.Read))
{
byte[] buffer = new byte[((int)(stream.Length - 1L)) + 1];
int count = stream2.Read(buffer, 0, (int)stream.Length);
str2 = Encoding.Unicode.GetString(buffer, 0, count);
}
}
return str2;
}
private RijndaelManaged getAlgorithm(string secretKey)
{
Rfc2898DeriveBytes bytes = new Rfc2898DeriveBytes(secretKey, Encoding.Unicode.GetBytes("099u787978786"));
RijndaelManaged managed = new RijndaelManaged
{
KeySize = 0x100
};
managed.IV = bytes.GetBytes((int)Math.Round((double)(((double)managed.BlockSize) / 8.0)));
managed.Key = bytes.GetBytes((int)Math.Round((double)(((double)managed.KeySize) / 8.0)));
managed.Padding = PaddingMode.PKCS7;
return managed;
}
public void Doit()
{
Console.WriteLine("Email String");
string Email = Console.ReadLine();
Console.WriteLine(Decrypt(Email, HawkPass));
Console.WriteLine("pass String");
string Pass = Console.ReadLine();
Console.WriteLine(Decrypt(Pass, HawkPass));
Console.WriteLine("smtp string");
string smtp = Console.ReadLine();
Console.WriteLine(Decrypt(smtp, HawkPass));
Console.WriteLine("ftp host string");
string ftph = Console.ReadLine();
Console.WriteLine(Decrypt(ftph, HawkPass));
Console.WriteLine("ftp user string");
string ftpu = Console.ReadLine();
Console.WriteLine(Decrypt(ftpu, HawkPass));
Console.WriteLine("ftp pass string");
string smtppass = Console.ReadLine();
Console.WriteLine(Decrypt(smtppass, HawkPass));
Console.WriteLine("PHP Link string");
string PHPL = Console.ReadLine();
Console.WriteLine(Decrypt(PHPL, HawkPass));
Console.ReadLine();
}