Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Failed to recognize file format" error #17

Closed
Eidansoft opened this issue Apr 29, 2022 · 2 comments
Closed

"Failed to recognize file format" error #17

Eidansoft opened this issue Apr 29, 2022 · 2 comments

Comments

@Eidansoft
Copy link

Eidansoft commented Apr 29, 2022

Followed the steps to get the CBC from my browser, then tried to use it at a docker container where I have cloned the repo and installed all needed dependencies (jq, curl, dialog, mpv):

root@341c9855c5c5:/opt/dzr# DZR_CBC=g4CHANGEDBYSECURITYa1 ./dzr /artist/860
./dzr /artist/860
./dzr /artist/860/top?limit=50
SID=fr68b2cbecc735d23b5ba238b09546ed2e61663c
API=YrpP.aBla9EsGDSHyplO5vIcpNIYdPVb
LIC=AAAAAmJrs_Jif3pyQu98SmkZLMKlyARBhmIJzOnmAsMOxQkVNtOH8rmhjloqBeKULnqiCQuYjsHJ57qE3s61ji7CBVu0ye1eTKecs88Ni8O9dRdp
TOK=80be0e6bba2231c9cf6c6b0b83e7f61872be09180669f58ff01d5446a1661a71
IDS=117581954
./dzr-dec: 10: hexdump: not found
./dzr-dec: 11: hexdump: not found
./dzr-dec: 12: hexdump: not found
./dzr-dec: 14: printf: usage: printf format [arg ...]
./dzr-dec: 15: printf: usage: printf format [arg ...]
./dzr-dec: 16: printf: usage: printf format [arg ...]
./dzr-dec: 17: arithmetic expression: expecting EOF: "0x ^ 0x ^ 0x"
[file] Reading from stdin...
Failed to recognize file format.
Exiting... (Errors when loading file)

Any idea what am I doing wrong?

@Eidansoft
Copy link
Author

Also tested to get the CBC following the great Shellscript from this comment but with exactly the same issue with same error log.

@Eidansoft
Copy link
Author

I solved, the problem was that hexdump was missing, to fix, in a debian based container, just:
apt-get install -y bsdmainutils

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant