Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View aveao's full-sized avatar
🤔
delete this feature

ave aveao

🤔
delete this feature
View GitHub Profile
@aveao
aveao / proxy.py
Last active May 27, 2022 19:44 — forked from richardg867/proxy.py
Comic Chat fixer - ugly python3 fork with QoL features and optional twitch support
#
# Comic Chat fixer MITM proxy: fixes Comic Chat to (sort of) work with modern
# IRC servers. Tested with Microsoft Chat 2.5 on Windows XP, 8 and 10
#
# This is a fork by ave with additional fixes and python3 support
# Alongside some other QoL features like color nicks being displayed in chat
# https://gist.github.com/aveao/f6d40f41a424b1d9a54c9aba39742b76
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
#!/bin/bash
# This is a script to convert encrypted amiibos to a format that can be used by chamtool and be recognized by switch
# bash amiibo.sh key_retail.bin ~/myownamiibodumps/tomnook.bin 04BA1234123412
# chamtool.py -p /dev/ttyACM0 -u /tmp/out.bin
# This is a fork of https://gist.github.com/gretel/dd80c854e22c2afd20f5aebc62015096
#requirements:
#sha1sum (part of coreutils)
#xxd (part of vim)
#hexdump
@aveao
aveao / bird1-bird-vultr.conf
Last active April 10, 2024 11:02
BIRD 1 and 2 configs for BGP stuffs (HE Tunnelbroker, Vultr etc)
router id [our IPv4];
protocol bgp vultr
{
local as [our ASN];
source address [our IPv4 from vultr];
import all;
export filter {
if net ~ [[the IPv4 block we want to announce]] then accept;
reject;
@aveao
aveao / amsemummc.md
Last active March 12, 2020 15:45
setting up ams partition based emummc on linux

Setting up emummc in a nutshell (mostly for linux)

  • update atmosphere to 0.9.2 on your microsd. Also ensure that your microSD is MBR, not GPT (gparted calls this msdos).
  • if you want to use an old backup, grab those files, you'll need them. If not, boot into hekate, dump raw gpp and boot0/1.
  • combine all files on your pc, in the order of boot0, boot1 and rawnand (cat BOOT0 BOOT1 rawnand.bin.00 rawnand.bin.01 rawnand.bin.02 rawnand.bin.03 rawnand.bin.04 rawnand.bin.05 rawnand.bin.06 rawnand.bin.07 rawnand.bin.08 rawnand.bin.09 rawnand.bin.10 rawnand.bin.11 rawnand.bin.12 rawnand.bin.13 rawnand.bin.14 > emummc.bin). Resulting file should be 31276924928 bytes unless you modded your console with a larger (or a smaller) emmc (if you don't know what this is about, then you haven't modded yours).
  • create a fat32 partition on your microsd of the same size as the resulting file you just created (can be a bit bigger, do it a bit [100MiB or so] bigger if you want to be safe), dd the combined file to it with
@aveao
aveao / thomleg.py
Created September 16, 2018 14:55
hi , Can it be possible to atmosphere makefile have 1 by modules because it's annoying when we want fusee-secondary to build everything
import random
# Thomleg phrase simulator by SimonMkWii, ported to Python by AveSatanas
# Original:
# https://github.com/simonmkwii/Ozone/blob/ddf7ec267b9d7de2adb8f397e820fa7e13b6eacb/ThomTools.cs
def generate_phrase():
first = ["can ",
"can to ",
###############################################
# TX SX Pro Custom Payload Packer - by CTCaer #
# Forked by AveSatanas to add argparse #
###############################################
import struct
import hashlib
import argparse
parser = argparse.ArgumentParser()
Retrieving speedtest.net configuration...
Testing from TurkNet Iletisim Hizmetleri A.S (31.223.16.57)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by Turksat Uydu Haberlesme Kablo TV ve Isletme A.S. (Ankara) [5.35 km]: 8.242 ms
Testing download speed................................................................................
Download: 22.43 Mbit/s
Testing upload speed......................................................................................................
Upload: 1.98 Mbit/s

AveBot Commands:

How to read the variables

  • A <> after a command will state a required variable
  • A [] after a command will state an optional variable

Basic Bot Commands:

ab!help: Shows help and links to this. [ported, improved]
ab!servercount: Returns the amount of servers AveBot is in. [ported, improved]
ab!whoami: Returns your information. [removed]

AveBot Commands:

How to read the variables

  • A <> after a command will state a required variable
  • A [] after a command will state an optional variable

Basic Bot Commands:

ab!help: Shows help and links to this. [ported]
ab!servercount: Returns the amount of servers AveBot is in. [ported, improved]
ab!whoami: Returns your information. [removed]

AveBot Commands:

How to read the variables

  • A <> after a command will state a required variable
  • A [] after a command will state an optional variable

Basic Bot Commands:

ab!help: Shows help and links to this. [added]
ab!servercount: Returns the amount of servers AveBot is in. [added, improved]
ab!whoami: Returns your information. [removed]