Created
August 11, 2019 01:00
-
-
Save MartinMSPedersen/5d182d58738a50dc5cf7c7e2637bade5 to your computer and use it in GitHub Desktop.
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
library(digest) | |
DEBUG <- FALSE | |
while(TRUE) { | |
flag <- paste0(c(sample(c(letters,LETTERS,0:9,":","_","+"), 8, replace = TRUE)), collapse = "") | |
shasum <- substr(digest(flag,"md5", serialize=FALSE), 27,32) | |
cat(flag,shasum,"\n") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Generate flags and last 6 hexdigits of md5