Skip to content

Instantly share code, notes, and snippets.

Avatar
:shipit:
Free and Open Source Bugs (FOSB)

Aaron Esau Arinerron

:shipit:
Free and Open Source Bugs (FOSB)
View GitHub Profile
@Arinerron
Arinerron / exploit.py
Created Jan 5, 2022
N1CTF 2021 - funny-web
View exploit.py
#!/usr/bin/env python3
import impacket
from impacket import tds, structure
import struct, random, string, re, requests, io
PACKET_SIZE = 4096 #32763
View final.py
#!/usr/bin/env python3
BOTTLES_PER_MONTH_PER_STUDENT = 156 / 12 # https://www.jerseyislandholidays.com/plastic-bottle-pollution-statistics
BOTTLE_PERCENT_PLASTIC = 0.291 # https://www.epa.gov/facts-and-figures-about-materials-waste-and-recycling/plastics-material-specific-data
BOTTLE_PERCENT_RECYCLED = 0.09 # https://www.greenmatters.com/p/what-percent-recycling-actually-gets-recycled
AVERAGE_PLASTIC_GRAMS_PER_BOTTLE = 19 # https://www.wastecare.com/usefulinfo/PET-Plastic-Water-Soda-Bottles-Bale-Weights.htm
AVERAGE_PLASTIC_GRAMS_PER_ID = 5 # https://www.uscreditcardguide.com/the-most-heavy-credit-cards-list/
while True:
@Arinerron
Arinerron / exploit2.py
Last active Nov 8, 2021
sir-markslot chal from damctf
View exploit2.py
#!/usr/bin/env python3
from pwn import *
print('------ TESTING VAL %d -=------' % int(sys.argv[1]))
while True:
p = remote('chals.damctf.xyz', 31314)
#p = remote('localhost', 9999)
#p = process('./sir-marksalot')
p.recvuntil('What would you like to do?\n')
View .vimrc
set number
set autoindent
set softtabstop=4
set shiftwidth=4
set expandtab
set smartindent
set pastetoggle=<F2>
inoremap <S-Tab> <C-d>
@Arinerron
Arinerron / config
Created Jun 18, 2019
important part of i3 config
View config
exec --no-startup-id xautolock -time 60 -locker 'i3lock -d -c 000000'
exec --no-startup-id xmodmap -e 'keycode 135 = Super_R' && xset -r 135
bindsym XF86AudioRaiseVolume exec amixer -q set Master 1%+ unmute
bindsym XF86AudioLowerVolume exec amixer -q set Master 1%- unmute
bindsym XF86AudioPlay exec playerctl play-pause
bindsym XF86AudioMute exec /usr/bin/mute
View teendevops.txt.asc
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
contact information for arinerron on teendevops
discord: @arinerron#5687
slack (teendevops.slack.com): arinerron
xmpp: aaron@k7dxs.net
irc (freenode): arinerron
View GuessingGame.java
import java.util.*; // import everything in util
public class GuessingGame {
public static int min = 0, max = 100; // set min to 0 and max to 100
public static boolean running = true; // set this to false, and next time it loops, it will stop
public static Scanner scanner = null; // this will be initialized by `main`
public static Random rand = new Random(); // this will be used to get a random number later
public static void main(String[] args) {
View database.php
<?php
/* define the database class */
class Database {
public $host = 'localhost';
public $name = '';
public $user = '';
public $pass = '';
private $mysqli;
View .vimrc
set number
set autoindent
set softtabstop=4
set shiftwidth=4
set expandtab
set smartindent
colors koehler
inoremap <S-Tab> <C-d>
View crypto
==QPJJjYxJ0UapGbtJmCVxENWVEdvw2Zu82bn9yL6MHc0RHa