Skip to content

Instantly share code, notes, and snippets.

View ollytheninja's full-sized avatar

Olly E ollytheninja

View GitHub Profile
@ollytheninja
ollytheninja / locustfile.py
Created February 13, 2019 22:55 — forked from yamionp/locustfile.py
Websocket Locust Sample. locustfile and Echo/Chat Server
# -*- coding:utf-8 -*-
from __future__ import absolute_import
from __future__ import unicode_literals
from __future__ import print_function
import json
import uuid
import time
import gevent
@ollytheninja
ollytheninja / scapy_wireshark_poc.py
Created October 4, 2015 10:26
Dead simple PoC of how scapy could be used to build a replacement Wireshark without C
#!/usr/bin/env python2
try:
import scapy.all as scapy
except ImportError:
import scapy
if __name__ == "__main__":
from argparse import ArgumentParser
parser = ArgumentParser(
@ollytheninja
ollytheninja / Antimony.css
Last active April 30, 2024 17:30 — forked from lukereative/Antimony.css
Markdown css Just add <link href="style.css" rel="stylesheet"></link> to the start of your markdown document.
* { margin: 0; padding: 0; }
abbr,acronym,blockquote,code,dir,kbd,listing,plaintext,q,samp,tt,var,xmp { hyphens: none; }
html {
padding: 2em;
font: normal 18px/1.25 Source Sans Pro, sans-serif;
color: #000;
hyphens: auto;