____ _ _ _____
| _ \ _ _ | |_ | |__ ___ _ __ |___ /
| |_) || | | || __|| '_ \ / _ \ | '_ \ |_ \
| __/ | |_| || |_ | | | || (_) || | | | ___) |
|_| \__, | \__||_| |_| \___/ |_| |_||____/
|___/
||===============Available Types================||
||# strings, bytes, tuples, lists, dicts, sets, ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/sbin/openrc-run | |
description="the Coredns DNS server" | |
pidfile="/run/$RC_SVCNAME.pid" | |
cfgfile="/etc/$RC_SVCNAME/Corefile" | |
command="/usr/local/bin/coredns" | |
command_args="-quiet -conf=$cfgfile" | |
command_user="nobody" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
____ ____ ___ __ __ ____ | |
/ ___| / ___| |_ _|| \/ |/ ___| | |
\___ \ \___ \ | | | |\/| |\___ \ | |
___) | ___) | | | | | | | ___) | | |
|____/ |____/ |___||_| |_||____/ | |
Created by Jason Lyu on 8/24/19. | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# | |
__LOGO__ = \ | |
''' | |
_____ _ _ ____ _ __ ____ __ __ _ ____ | |
| ___|| | | | / ___|| |/ / / ___|\ \ / / | | / ___| | |
| |_ | | | || | | ' / _____ | | \ V / _ | || | | |
| _| | |_| || |___ | . \ |_____|| |___ | | | |_| || |___ | |
|_| \___/ \____||_|\_\ \____| |_| \___/ \____| v{!s} | |
--By xjasonlyu |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# FISHY: ZSH Theme emulating the Fish shell's default prompt. | |
_fishy_collapsed_wd() { | |
echo $(pwd | perl -pe ' | |
BEGIN { | |
binmode STDIN, ":encoding(UTF-8)"; | |
binmode STDOUT, ":encoding(UTF-8)"; | |
}; s|^$ENV{HOME}|~|g; s|/([^/.])[^/]*(?=/)|/$1|g; s|/\.([^/])[^/]*(?=/)|/.$1|g | |
') | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import sys | |
import json | |
import requests | |
# Simple Cloudflare API | |
class Couldflare(object): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import os | |
import sys | |
def touch(filename): | |
with open(filename, 'w') as f: | |
pass |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
from scapy.all import * | |
# server_mac = 'e4:35:c8:81:04:89' | |
def fuck_it(iface: str, server_mac: str, client_mac: str, session_id: int): | |
print( | |
f'iface: {iface}, server_mac: {server_mac}, client_mac: {client_mac}, session_id: {session_id}') | |
p = Ether()/PPPoE() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import re | |
import sys | |
import logging | |
from io import StringIO | |
from concurrent import futures | |
from google.cloud import vision | |
IMAGE_EXT = ('.jpg', '.jpeg', '.png') |
OlderNewer