Skip to content

Instantly share code, notes, and snippets.

View puppis42's full-sized avatar
🎃
I may be slow to respond.

puppis42

🎃
I may be slow to respond.
View GitHub Profile
#include <iostream>
#include <Windows.h>
void checkBattery() {
SYSTEM_POWER_STATUS spsPwr;
if (GetSystemPowerStatus(&spsPwr)) {
if (spsPwr.ACLineStatus == 0 && spsPwr.BatteryFlag != 128) { // Laptop but not use AC
goto jmp;
}
else if (spsPwr.ACLineStatus == 1 && spsPwr.BatteryFlag != 128) { // Laptop but use AC
#include <tchar.h>
#include <stdio.h>
#include <windows.h>
#include <wincrypt.h>
#include <conio.h>
#pragma comment (lib, "advapi32")
#define KEYLENGTH 0x00800000
#define ENCRYPT_ALGORITHM CALG_RC4
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace MIXER_C
{
#include <curl/curl.h>
#include <string>
#include <iostream>
#include <vector>
#include <fstream>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Kill_GUI
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
#include <iostream>
#include <string>
#include <vector>
#include <fstream>
using namespace std;
const char* base64_chars{
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
"abcdefghijklmnopqrstuvwxyz"
using System;
using System.Runtime.InteropServices;
using System.Text;
using System.Drawing;
using System.Drawing.Imaging;
using System.Linq;
namespace GetAccountProfilePicture
{
class Program
import base64
f = open('a.exe', 'r+b')
data = f.read()
base64_bytes = base64.b64encode(data).decode()
f = open("output.txt", "a")
f.write(str(base64_bytes))
f.close()