Peroxide现有代码
Program.cs:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Peroxide
{
static class Program
{
///
/// 应用程序的主入口点。
///
[STAThread]
static void Main()
{
RamsomLoad();
}
static void RamsomLoad()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Ramsomware());
}
}
}
Form1.cs:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Peroxide
{
public partial class Ramsomware : Form
{
public Ramsomware()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
}
private void label4_Click(object sender, EventArgs e)
{
}
}
}
Form1.Desiger.cs:
namespace Peroxide
{
partial class Ramsomware
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要修改
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Consolas", 48F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.Location = new System.Drawing.Point(221, 9);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(312, 75);
this.label1.TabIndex = 0;
this.label1.Text = "WARNING!";
//
// label2
//
this.label2.Font = new System.Drawing.Font("Consolas", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label2.Location = new System.Drawing.Point(12, 84);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(649, 27);
this.label2.TabIndex = 2;
this.label2.Text = "Your system have been encrypted by Peroxide.exe!\r\n";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Font = new System.Drawing.Font("Consolas", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label3.Location = new System.Drawing.Point(286, 111);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(311, 28);
this.label3.TabIndex = 3;
this.label3.Text = "What the FUCK IS THIS?!";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Font = new System.Drawing.Font("Consolas", 9.75F);
this.label4.Location = new System.Drawing.Point(288, 139);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(49, 15);
this.label4.TabIndex = 4;
this.label4.Text = "label4";
this.label4.Click += new System.EventHandler(this.label4_Click);
//
// Ramsomware
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.ControlDarkDark;
this.ClientSize = new System.Drawing.Size(609, 757);
this.Controls.Add(this.label4);
this.Controls.Add(this.label3);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Name = "Ramsomware";
this.ShowIcon = false;
this.ShowInTaskbar = false;
this.Text = "Peroxide Ramsomware";
this.Load += new System.EventHandler(this.Form1_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label4;
}
}
pch.cpp:
// pch.cpp: 与预编译标头对应的源文件
#include "pch.h"
// 当使用预编译的头时,需要使用此源文件,编译才能成功。
DWORD WINAPI DrawIcon() {
}
RamsomKenrelAndPayloadsLib.cpp:
// RamsomKenrelAndPayloadsLib.cpp : 定义静态库的函数。
//
#include "pch.h"
#include "framework.h"
// TODO: 这是一个库函数示例
void fnRamsomKenrelAndPayloadsLib()
{
}
pch.h:
// pch.h: 这是预编译标头文件。
// 下方列出的文件仅编译一次,提高了将来生成的生成性能。
// 这还将影响 IntelliSense 性能,包括代码完成和许多代码浏览功能。
// 但是,如果此处列出的文件中的任何一个在生成之间有更新,它们全部都将被重新编译。
// 请勿在此处添加要频繁更新的文件,这将使得性能优势无效。
#ifndef PCH_H
#define PCH_H
// 添加要在此处预编译的标头
#include "framework.h".
#endif //PCH_H
framework.h:
#pragma once
#include <windows.h>
#define WIN32_LEAN_AND_MEAN // 从 Windows 头文件中排除极少使用的内容