Skip to content

Instantly share code, notes, and snippets.

View ryanrutan's full-sized avatar
🌮
All day ... err day!

Ryan Rutan ryanrutan

🌮
All day ... err day!
View GitHub Profile
@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
@atoponce
atoponce / 0-README.md
Last active December 21, 2023 13:07
Magic Hashes

Magic Hashes

Motivations

Calculating magic hashes for https://www.whitehatsec.com/blog/magic-hashes/. These strings should probably be put into a blacklist preventing users from using them as passwords to mitigate PHP evaluating hashes starting with "0e" as floats.

Probabilities

@made2591
made2591 / index.js
Last active June 27, 2020 18:54
AWS Lambda Node.js as slack command handler (with specified grammar)
const AWS = require('aws-sdk');
const Slack = require("slack-node");
AWS.config.region = process.env.REGION;
const lambda = new AWS.Lambda();
// ####################################################
// ################# SECURITY CHECK ###################
// ####################################################
// check if slack token is equal to env var
@orenitamar
orenitamar / country_codes.json
Created July 30, 2012 15:04
Two letter country code mapping, grouped by continent/region
{
"europe": {
"va": "vatican city",
"ch": "switzerland",
"ad": "andorra",
"ee": "estonia",
"is": "iceland",
"am": "armenia",
"al": "albania",
"cz": "czech republic",