Skip to content

Instantly share code, notes, and snippets.

View TotallyNotAHaxxer's full-sized avatar
🏴
Building alot of projects

Totally_Not_A_Haxxer TotallyNotAHaxxer

🏴
Building alot of projects
View GitHub Profile
/*
<-----------------------------------------\
| local return type A (Unsigned) /-----|
| \____________/
| if ( (unsigned __int8)sub_14005C3A0("Press to get player data", &v189) ) |
Integer8 { |
sub_140036B30(qword_14015BB60); |
sub_14005BA00("Checking username -- "); |
((void (*)(void))sub_140036BD0)(); |
LEN = 0; | <- Note: Integer value represents length of current POS (original value was v49)
@TotallyNotAHaxxer
TotallyNotAHaxxer / helper.cpp
Created February 21, 2024 01:15
KeySpammer - Virtual Key Code Utility
#include <Windows.h>
#include <iostream>
#include <unordered_map>
#include <string>
std::unordered_map<std::string, std::string> VKEY_Map = {
{"VK_LBUTTON", "0x01"},
{"VK_TAB", "0x09"},
{"VK_RBUTTON", "0x02"},
{"VK_CANCEL", "0x03"},
@TotallyNotAHaxxer
TotallyNotAHaxxer / VKEY.json
Created February 21, 2024 00:54
JSON Virtual Key Code Map
{
"VK_LBUTTON": "0x01",
"VK_RBUTTON": "0x02",
"VK_CANCEL": "0x03",
"VK_MBUTTON": "0x04",
"VK_XBUTTON1": "0x05",
"VK_XBUTTON2": "0x06",
"VK_BACK": "0x08",
"VK_TAB": "0x09",
"VK_CLEAR": "0x0C",
@TotallyNotAHaxxer
TotallyNotAHaxxer / tabclass.py
Created February 17, 2024 08:05
Table class
"""
| This class is super easy to use. We can use it as a much more safer, faster
| and lightweight class for organizing information in a standard ASCII table
| format. The reason I did this is to increase speed, versatility, and save
| Python a few sweats in memory when we try to print other sets of info on
| a table. Also this prevents formatting mistakes and is also really fun
| and cool to tune and use for development purposes.
|
|
| Made by : Totally_Not_A_Haxxer
@TotallyNotAHaxxer
TotallyNotAHaxxer / ksauto.sh
Last active February 9, 2024 02:14
KSAUTO
export APISERVER=https://${KUBERNETES_SERVICE_HOST}
export SERVICEACCOUNT=/run/secrets/kubernetes.io/serviceaccount
export NAMESPACE=$(cat ${SERVICEACCOUNT}/namespace)
export TOKEN=$(cat ${SERVICEACCOUNT}/token)
export TOKEN=$(cat ${SERVICEACCOUNT}/token)
export CACERT=${SERVICEACCOUNT}/ca.crt
curl --cacert ${CACERT} --header "Authorization: Bearer ${TOKEN}" -X GET ${APISERVER}/api
@TotallyNotAHaxxer
TotallyNotAHaxxer / D.txt
Last active January 28, 2024 20:32
D@#@#&^$%@$%^@#$^
f9abbdf7c17d8b10431def98b9ff7c148885b8b71b336a2ed378a493b5b7952f
hello demo
@TotallyNotAHaxxer
TotallyNotAHaxxer / Sec.hpp
Created December 7, 2023 07:06
Security | anti handle function
inline bool LockMemAccess()
{
bool bSuccess = false;
// Process token and user
HANDLE hToken = nullptr;
PTOKEN_USER pTokenUser = nullptr;
DWORD cbBufferSize = 0;
// Access control list
PACL pACL = nullptr;
@TotallyNotAHaxxer
TotallyNotAHaxxer / xor.hpp
Created December 1, 2023 17:38
xor.hpp | Note: Include Windows.h before using
#pragma once
#include <string>
#include <utility>
namespace
{
constexpr int const_atoi(char c)
{
return c - '0';
}
@TotallyNotAHaxxer
TotallyNotAHaxxer / f.txt
Created September 13, 2023 23:02
File random
some file