docker-fbctf
docker-fbctf copied to clipboard
admin password
may i ask a question:i don't know ‘admin’ password,plz tell me password or how to change password. i have test : bash lib.sh set_password new_password root root fbctf $PWD but it says :set_password:command not found
what should i do now?help,THX
When you start up the fbctf container, the admin credentials should be printed in the logs.
bydefault it will be password
itself in the development mode. so was mine
It's indeed printed in the logs. is there any way to set it using an environment variable for exemple ?
@razaborg I believe the only way to set a static password is to build the docker container in dev mode. There is more information available at https://github.com/facebook/fbctf/wiki/Installation-Guide,-Development.
hhvm -f "./extra/hash.php" "new_password" get the encrypted password then update teams set password_hash = 'encrypted_password' where id=1