Problem Area | Resource/Tool | Notes |
---|---|---|
OSINT | Hack Control | Has links to a scary amount of information gathering tools. |
OSINT | NCL Twitter/Cyber Kat's Website and Cyber Kat's Twitter | In the past hints and even required parts of challenges have been found here |
OSINT | Sherlock | Useful for finding online/social accounts |
OSINT | QRazyBox | Good QR code reconstruction tool |
Cryptography | CyberChef | Good general purpose cyber tool |
Cryptography | Cryptii | Site with various cipher operations |
This file contains 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
function grabContent() { | |
const invitationCards = document.querySelectorAll('.invitation-card'); | |
const data = Array.from(invitationCards).map(card => { | |
// Get the name | |
const nameElement = card.querySelector('.invitation-card__tvm-title a strong a'); | |
const name = nameElement ? nameElement.textContent.trim() : ''; | |
// Get the content |
This file contains 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 jwt | |
import datetime | |
payload = { | |
"username": "administrator", | |
"iat": datetime.datetime.utcnow(), | |
"exp": datetime.datetime.utcnow() + datetime.timedelta(minutes=5), | |
"iss": "cityinthe.cloud" | |
} |
This file contains 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(''.join(chr(n ^ 129) for n in [210, 202, 216, 172, 198, 196, 204, 210, 172, 184, 180, 177, 177])) |
This file contains 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 | |
from pyzbar.pyzbar import decode | |
from PIL import Image | |
def decode_qrcodes(directory_path="./png", output_file="output.txt"): | |
concatenated_data, max_data_length = '', 0 | |
# Get all PNG files in the directory and sort them | |
sorted_files = sorted( |
This file contains 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 sympy | |
def rsa_decrypt(ciphertext, d, n): | |
""" | |
Decrypts the RSA ciphertext using the private key (d, n). | |
Parameters: | |
- ciphertext (list): The ciphertext as a list of integers. | |
- d (int): The private exponent. | |
- n (int): The modulus. |
This file contains 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
function pullEmailData() { | |
// Get the current spreadsheet | |
var ss = SpreadsheetApp.getActiveSheet(); | |
// Array of labels to iterate through | |
var labels = ["B---University/Open Job Applications"]; | |
for (var i = 0; i < labels.length; i++) { | |
var label = GmailApp.getUserLabelByName(labels[i]); |
This file contains 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
// EA Spawnpoint 2019 | |
//"Corgi" demo | |
// Mechanic: | |
// Click anywhere on the screen for the dog to move to find its way into the doghouse | |
//dog | |
var speedX = 0; | |
var speedY = 0; | |
var positionX; |
This file contains 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
#include <iostream> | |
#include <string> | |
#include <cmath> | |
using namespace std; | |
// Implement Temperature conversion from Celsius to Fahrenheit and Fahrenheit to Celsius | |
int main(int argc, char const *argv[]) |
This file contains 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
/* THIS PPOGRAM IS MADE FOR THE AP EXAM! | |
THIS GAME IS CALLED "Guess-that-song!" challenge!! GL;HF!!! */ | |
/* VARIABLES for OTHER related things */ | |
var playerScore = 0; | |
var moreTimeCount = 0; | |
var guessUserInput = getText("guessingInput"); | |
/* VARIABLES for DIFFICULTY MODE related things */ |