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
# kali linux docker container | |
alias kali='docker start kali > /dev/null && docker attach kali' | |
alias re-kali='echo "Creating new kali container...\nYou might want to run de-kali to remove old instances" && cd ~/kali && docker compose up -d' | |
alias de-kali='echo "Removing old kali instances..." && cd ~/kali && docker compose down --volumes --remove-orphans' |
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
print(chr(sum(range(ord(min(str(not()))))))) |
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
# Take an ICS file and split events into lectures and practicals based on their name | |
# Made for Newcastle University timetables downloaded from https://timetables.ncl.ac.uk/ | |
from ics import Calendar | |
with open('timetable.ics', 'r') as file: | |
ics_content = file.read() | |
events = list(Calendar(ics_content).events) |
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 time | |
# start = time.process_time() | |
delay = 50 | |
with open("4-pin bruteforce.txt", "w+") as file: | |
for i in range(0, 10000): | |
print(f"{i:04d}") | |
file.write(f"STRING {i:04d}\n") | |
file.write(f"DELAY {delay}) | |
file.write(f"ENTER\n") |
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
REM Ducky script to fix the Crowdstrike Falcon BSOD loop from the recovery screen | |
REM Starting at the "Automatic Repair" screen | |
RIGHT | |
DELAY 50 | |
ENTER | |
DELAY 500 | |
DOWN | |
DELAY 50 | |
DOWN | |
DELAY 50 |
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
while True: eval(["exit()" if all(i in "QWERTYUIOPASDFGHJKLZXCVBNM" for i in user) and user.upper() == user and len(set(user)) == len(user) and sum([ord(i) for i in user]) >= 420 and sum([ord(i) for i in user]) <= 600 and len(user) >= 5 and len(user) <= 7 else "print ('Not Valid!')" for user in [input("> ")]][0]) |