Last active
January 29, 2022 13:39
-
-
Save Hayao0819/fda1b6b31157eaad0f64cdde61285e41 to your computer and use it in GitHub Desktop.
竹林人間のSHSH Checker ワンライナーバージョン
This file contains hidden or 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
| # 完全実装版 | |
| curl -s https://shsh.host | tail -n 3 | head -n 1 | sed 's/var signed_array =//g; s|</script>||g; s|;||g' | jq -cr '."iPad6,11"' | tr -d "{" | tr -d "}" | tr "," "\n" | tr -d "\"" | awk -F : 'BEGIN {print "SHSH checker"} {print " "$1 " " $2} END{print "以上" NR "個のSHSHが取得可能です"}' | |
| # ツイート用短縮版(Zshでは動きません) | |
| curl -s https://shsh.host | tail -n 3 | head -n 1 | sed 's/var signed_array =//g; s|</script>||g; s|;||g' | jq -cr '."iPad6,11"' | tr -d { | tr -d } | tr "," "\n" | tr -d "\"" | awk -F: 'BEGIN {print "SHSH checker"} {print " "$1 " " $2}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
↓のリファクタリングです。
ぶっちゃけ本家は謎に一時ファイル作成しててよくわからん。
https://github.com/Aoi-Developer/IssueSHSHchecker