Last active
September 30, 2018 03:43
-
-
Save Cj-bc/0ad68cea7535bcda0faa1f65bce48d37 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
#!/usr/bin/env python3 | |
from itertool import permutations | |
target = set('42/$83FK02+@+74#2?83510W1DQ1+0{3(21%3J<27Y3=x7J47EQV)20<+D6L82859PT&-%147B8+2$13=3?2P41#A568SES5S73') | |
target_string = '' | |
for str in target: | |
target_string += str | |
permutations(target_string) |
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
#!/usr/local/bin/bash | |
# script for #SAO_DECODE. | |
# This is useless, omg | |
# use '@' instead of '¥' | |
target='42/$83FK02+@+74#2?83510W1DQ1+0{3(21%3J<27Y3=x7J47EQV)20<+D6L82859PT&-%147B8+2$13=3?2P41#A568SES5S73' | |
possible=(3 4 5 9) | |
words=('') | |
echo "target: $target" | |
for every in ${possible[@]}; do | |
echo -n '.' | |
str='' | |
word_count=1 | |
while [ $(echo $str | wc -m) -lt 12 ]; do | |
str+=$(echo $target | cut -c $word_count) | |
word_count=$(( $word_count + $every )) | |
done | |
words=(${words[@]} $str) | |
done | |
echo "Possible words:" | |
echo ${words[@]} | |
echo "attempt to access..." | |
for word in ${words[@]}; do | |
echo -n "word: $word --- " | |
curl "https://sao-decode.net/${word}.html" -o /dev/null -w '%{http_code}\n' -s | |
sleep 5 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment