mirror of
https://github.com/ksyasuda/aniwrapper.git
synced 2024-11-22 03:19:53 -08:00
update keys
This commit is contained in:
parent
47f9ca19ae
commit
2f0f552068
8
ani-cli
8
ani-cli
@ -104,9 +104,9 @@ download() {
|
||||
|
||||
decrypt_link() {
|
||||
lg "BEGIN: decrypt_link()" > /dev/stderr
|
||||
secret_key='3633393736383832383733353539383139363339393838303830383230393037'
|
||||
iv='34373730343738393639343138323637'
|
||||
ajax_url="https://gogoplay4.com/encrypt-ajax.php"
|
||||
secret_key='3633393736383832383733353336383139363339393232303833323735393037'
|
||||
iv='34373836343433393639343138323637'
|
||||
ajax_url="https://goload.pro/encrypt-ajax.php"
|
||||
id=$(printf "%s" "$1" | sed -nE 's/.*id=(.*)&title.*/\1/p')
|
||||
ajax=$(printf '%s' "$id" | openssl enc -e -aes256 -K "$secret_key" -iv "$iv" | base64)
|
||||
data=$(curl -s -H "X-Requested-With:XMLHttpRequest" "$ajax_url" -d "id=$ajax" | sed -e 's/{"data":"//' -e 's/"}/\n/' -e 's/\\//g')
|
||||
@ -907,7 +907,7 @@ main() {
|
||||
video_path="$(find_media "$play_dir")"
|
||||
retcode="$?"
|
||||
if [ "$retcode" -ne 0 ]; then
|
||||
die "QUITTING"
|
||||
die
|
||||
elif [ -z "$video_path" ]; then
|
||||
die "Something went wrong getting path... path is empty"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user