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
@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
@TotallyNotAHaxxer
TotallyNotAHaxxer / Logicals.json
Created September 7, 2023 21:50
File for logicals on protonmail
This file has been truncated, but you can view the full file.
{
"Code": 1000,
"LogicalServers": [
{
"Name": "IS#1",
"EntryCountry": "IS",
"ExitCountry": "IS",
"Domain": "node-is-01.protonvpn.net",
"Tier": 2,
"Features": 4,
@TotallyNotAHaxxer
TotallyNotAHaxxer / PhoneCodes.json
Created September 7, 2023 03:03
US Phone Codes
{
"United_States_Phone_Codes_And_Regions": [
{
"Phone_Dialcode": "772",
"Country_Code_I": "US",
"Country_Currency": "USD",
"Country_Lang": "English",
"Country_Code_Full": "United States of America",
"State_of_Number": "Florida",
"State_of_Number_Short": "FL",
@TotallyNotAHaxxer
TotallyNotAHaxxer / signatures.json
Created July 4, 2023 18:59
Json File Signature Database
[
{
"sign": "006E1EF0",
"suffix": "*.ppt",
"format": "PPT"
},
{
"sign": "A0461DF0",
"suffix": "*.ppt",
"format": "PPT"
@TotallyNotAHaxxer
TotallyNotAHaxxer / HTTP_Parser_GoPacket_BHGM.go
Last active April 26, 2023 04:30
Simple HTTP parsing program in gopacket for my book BHGM
package main
import (
"bufio"
"bytes"
"encoding/base64"
"fmt"
"log"
"net/http"
"regexp"