juice-shop / juice-shop-ctf

Tool to export Juice Shop challenges and hints in data format compatible with CTFd, RootTheBox or FBCTF
http://owasp-juice.shop
MIT License
410 stars 116 forks source link

Import Database Key Error #54

Closed slamet404 closed 6 years ago

slamet404 commented 6 years ago

im generate OWASP JUICE and Finish

and im upload to CTFD import wth console or web warning Error Key

`root@ubuntu:/home/owasp# juice-shop-ctf

Generate OWASP Juice Shop challenge archive for setting up CTFd (>=1.1.0) or FBCTF score server ? CTF framework to generate data for? CTFd ? Juice Shop URL to retrieve challenges? http://192.168.43.108:3000/ ? Secret key URL to ctf.key file? \x1e\xa9\xca\xef\x13s\x80B\x17\xac\xa1J\xd8-}\x1b\x05S\x0f\xb9\x16\x06\x15\xe3\xda\xa0\x8d]\xe8\xbcil ? Insert a text hint along with each challenge? Free text hints ? Insert a hint URL along with each challenge? Paid hint URLs

Backup archive written to /home/owasp/OWASP_Juice_Shop.2018-10-18.CTFd.zip

For a step-by-step guide to import the ZIP-archive into CTFd, please refer to https://bkimminich.gitbooks.io/pwning-owasp-juice-shop/content/part1/ctf.html#running-ctfd `

`python import.py /home/owasp/OWASP_Juice_Shop.2018-10-18.CTFd.zip

Please Problem Solution

Thanks

bkimminich commented 6 years ago

Which versions of CTFd and juice-shop-ctf-cli are you using when this occurs? Can you attach the ZIP file that caused this error this issue please?

slamet404 commented 6 years ago

OWASP_Juice_Shop.2018-10-18.CTFd.zip

this file .zip

bkimminich commented 6 years ago

Just spun up a fresh Docker container with CTFd 1.2.0 and imported your ZIP successfully.

Please make sure you uncheck all boxes except Challenges on the backup import screen as described in https://bkimminich.gitbooks.io/pwning-owasp-juice-shop/content/part1/ctf.html#local-server-setup.

If it still does not work, please reopen this issue.

lock[bot] commented 5 years ago

This thread has been automatically locked because it has not had recent activity after it was closed. :lock: Please open a new issue for regressions or related bugs.