Skip to content

Instantly share code, notes, and snippets.

View vesche's full-sized avatar
🛸
I WANT TO BELIEVE

Austin Jackson vesche

🛸
I WANT TO BELIEVE
View GitHub Profile
@vesche
vesche / shellinabox
Last active May 11, 2016 20:18
/etc/default/shellinabox
# Should shellinaboxd start automatically
SHELLINABOX_DAEMON_START=1
# TCP port that shellinboxd's webserver listens on
SHELLINABOX_PORT=4200
# Parameters that are managed by the system and usually should not need
# changing:
# SHELLINABOX_DATADIR=/var/lib/shellinabox
# SHELLINABOX_USER=shellinabox
@vesche
vesche / default-ssl.conf
Created May 11, 2016 20:19
/etc/apache2/sites-available/default-ssl.conf
<IfModule mod_ssl.c>
<VirtualHost _default_:443>
ServerAdmin webmaster@localhost
ServerName 1.2.3.4:443
DocumentRoot /var/www/html
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
#!/usr/bin/env python
# Traffic generation script for Cyber Magic 2016
# author - github.com/vesche
import random
import time
# import urllib2
from selenium import webdriver
from selenium.webdriver.common.action_chains import ActionChains
@vesche
vesche / day07_part1.py
Created December 10, 2016 15:44
AoC 2016 Day 7 Part 1
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
######################################
# Advent of Code 2016, Day 07 - Part 1
# https://github.com/vesche
######################################
import re
sudo date -s "$(wget -qSO- --max-redirect=0 google.com 2>&1 | grep Date: | cut -d' ' -f5-8)Z"
@vesche
vesche / pygame_raycaster.py
Created November 14, 2017 00:39
pygame raycaster
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# pygame raycaster proto
#
import math
import time
import pygame
@vesche
vesche / frontsidefix.py
Created February 26, 2018 18:32
frontsidefix
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
#
# frontsidefix
# https://github.com/vesche
#
import argparse
import os
@vesche
vesche / deluge_theme_note.md
Created April 9, 2018 22:03
Deluge Dark Theme

Dark Deluge Theme on Arch Linux

sudo pacman -S deluge pygtk

DelugeSimpleDark Theme: http://fav.me/dblwxeh

$ unzip theme.zip
@vesche
vesche / mass_rename.py
Created June 14, 2018 03:38
library quality mass rename
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
hacky mass rename with quality
let's hope this doesn't fuck up
"""
import os
@vesche
vesche / autogamble.py
Created June 18, 2018 05:59
autogamble.py
#!/usr/bin/env python
import pyautogui
import random
import time
def r(): return random.randint(1, 10)
while 1:
time.sleep(r())