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
package main
type Signatures struct {
Sign string
Sufix string
Format string
}
var Sig = []Signatures{
{`006E1EF0`, `*.ppt`, `PPT`},
@TotallyNotAHaxxer
TotallyNotAHaxxer / SL_TREE.go
Created March 8, 2023 08:06
Simple tree system for skyline
func (parser *Parser) ParserCreateAssignment() *LetStatement {
stmt := &LetStatement{Token: parser.CurrentToken}
if !parser.ExpectPeek(IDENT) {
return nil
}
stmt.Name = &Ident{Token: parser.CurrentToken, Value: parser.CurrentToken.Literal}
if !parser.ExpectPeek(ASSIGN) {
return nil
}
parser.NT()
@TotallyNotAHaxxer
TotallyNotAHaxxer / Console_input_Golang_Module.go
Created March 21, 2023 06:38
Example using user input to create a console for modules and other sets of systems
package main
import (
"bufio"
"fmt"
"os"
"strconv"
"strings"
)
@TotallyNotAHaxxer
TotallyNotAHaxxer / CurseWordMaps.go
Created March 29, 2023 19:34
List for curse words and replace
var CurseMapExchange = map[string]string{
"fuck": "fluff",
"shit": "sht",
"shit.": "sht",
"bullshit": "bs",
"bitch": "fluffin_mf",
"motherfucker": "mother_fluff",
}
@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"
@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 / 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 / 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 / f.txt
Created September 13, 2023 23:02
File random
some file
@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';
}