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.
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
{ | |
"europe": { | |
"va": "vatican city", | |
"ch": "switzerland", | |
"ad": "andorra", | |
"ee": "estonia", | |
"is": "iceland", | |
"am": "armenia", | |
"al": "albania", | |
"cz": "czech republic", |
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
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 |
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
"""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 |