Skip to content

Instantly share code, notes, and snippets.

😁
Happy

Matthew Langlois fletchto99

😁
Happy
Block or report user

Report or block fletchto99

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@fletchto99
fletchto99 / run.py
Last active May 7, 2018
SomeRandomName's attempted solution for "Coconut" in the Plaid CTF 2018
View run.py
#!/usr/bin/env python3
import subprocess
import socket
import itertools
import time
import os
import random
import string
import sys
View jsfuck.js
[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]][([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]((![]+[])[+!+[]]+(![]+[])[!+[]+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]+(!![]+[])[+[]]+(![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+
@fletchto99
fletchto99 / derp.js
Created Feb 18, 2017
Web practice for CS games
View derp.js
window.onload = function() {
'use strict';
var ctx = document.getElementById("game").getContext("2d");
var height = window.innerHeight - (window.innerHeight % 3);
var width = window.innerWidth - (window.innerWidth % 3);
ctx.canvas.style.height = height + "px";
ctx.canvas.style.width = width + "px";
@fletchto99
fletchto99 / index.js
Created Nov 20, 2016
Pebble App sandbox escape, malicious application
View index.js
Pebble.addEventListener('ready', function() {
console.log("Hello from the evil app");
});
@fletchto99
fletchto99 / target.c
Created Nov 20, 2016
Pebble App sandbox escape, target application
View target.c
#include <pebble.h>
static Window *s_window;
static TextLayer *s_text_layer;
static void init(void) {
// Create a window and get information about the window
s_window = window_create();
Layer *window_layer = window_get_root_layer(s_window);
GRect bounds = layer_get_bounds(window_layer);
@fletchto99
fletchto99 / assignments.tex
Created Oct 14, 2016
Latex template for assignments
View assignments.tex
\documentclass[fleqn, 12pt]{article}
% packages %
\usepackage[headheight=110pt,margin=1in]{geometry} % page margins %
\usepackage{mathtools, amssymb} % math %
\usepackage{tabularx, multirow} % tables %
\usepackage{listings} % code %
\usepackage{graphicx} % graphics %
\usepackage{enumerate} % lists %
\usepackage{adjustbox} % images %
View gist:a5c3c5f08c04482ec83b29d18e1678dd
from pwn import *
#Setup context
context(arch='i386', os='linux')
context.log_level = 'debug'
#Open connection to the process
#Remote
sock = remote(<host>, <port>)
@fletchto99
fletchto99 / UniversalFletch.java
Created Sep 28, 2016
Ayy lmao... Back to the days when I coded in notepad!
View UniversalFletch.java
import java.io.*;
import java.net.*;
import java.awt.*;
import java.awt.event.*;
import java.awt.image.BufferedImage;
import java.util.LinkedList;
import javax.swing.*;
import javax.imageio.ImageIO;
import javax.swing.GroupLayout.Alignment;
View gist:ab13d23824c10047280497ffd7994f22
import java.util.HashSet;
import java.util.stream.Collectors;
public class Pangram {
public static void main(String[] args) {
}
public static boolean isPangram(String str) {
View HelloWorld.js
[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]][([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]((![]+[])[+!+[]]+(![]+[])[!+[]+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]+(!![]+[])[+[]]+(![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+
You can’t perform that action at this time.