Skip to content

Instantly share code, notes, and snippets.

View 0xTowel's full-sized avatar

0xTowel

View GitHub Profile
@0xTowel
0xTowel / snippet.sh
Created October 9, 2019 06:42
List last touched files
# https://www.reddit.com/r/netsec/comments/biu9kc/moddetective_small_python_tool_that_analyzes_the/em3siw8
find / -type f -exec stat --format '%Y :%y %n' "{}" \; | sort -nr | cut -d: -f2- | head
@0xTowel
0xTowel / limit_calls.py
Created October 15, 2019 23:51
A decorator to limit the number of calls to a function
"""For my friends in OTA.
--Towel, 2019
"""
from functools import wraps
class LimitCalls:
"""A decorator to limit the number of calls to a function.
@0xTowel
0xTowel / solve_inaction.py
Last active March 18, 2020 18:19
My solution to Inaction from SuSeC CTF 2020
"""inaction_solve.py
CTF: SuSeC CTF 2020 - https://ctftime.org/event/1007
Challenge: Inaction - https://ctftime.org/task/10729
Flag: SUSEC{5m4Rt___p0W___cH4lL3n93}
twitter.com/0xTowel
"""
import re