Instantly share code, notes, and snippets.

View ShareXen.sxcu
{
"Name": "ShareXen",
"DestinationType": "ImageUploader",
"RequestURL": "https://your.domain/upload.php",
"FileFormName": "image",
"Arguments": {
"endpoint": "upload",
"auth_token": "change-me"
},
"URL": "$json:url$",
View CVE-2016-5195.sh
#!/bin/bash
# SystemTap workaround for CVE-2016-5195
# Bash script by Dylan Ysmal <xenthys@blackfields.net>
# https://security-tracker.debian.org/tracker/DSA-3696-1
# https://bugzilla.redhat.com/show_bug.cgi?id=1384344#c13
# systemtap linux-headers-$(uname -r) linux-image-$(uname -r)-dbg
# https://xenthys.blackfields.net/CVE-2016-5195.stp
# sudo stap -F -g /path/to/CVE-2016-5195.stp
View img2irc.py
#!/usr/bin/env python
# This script shall be distributed under the "who cares" license.
# Just leave this note here stating that Polsaker
# (https://github.com/Polsaker) created this.
# Usage: img2irc.py image.png [-rgb]
# With -rgb the script uses RGB to compare colors instead of L*A*B*.
# It is faster but it might lead to worse (or better ;D) image quality
View op.sh
#!/bin/bash
if [[ -z "$1" ]]; then
printf "You need to specify a channel, dumbass.\n" >&2
exit
fi
printf "/join #%s,0\n" "$(echo "$1"|sha256sum|head -c12)"
View keybase.md

Keybase proof

I hereby claim:

  • I am Xenthys on github.
  • I am xenthys (https://keybase.io/xenthys) on keybase.
  • I have a public key whose fingerprint is 89ED 31A7 8A29 F025 1C75 7249 4ED2 D0AE 449F C57E

To claim this, I am signing this object: