docker-fbctf icon indicating copy to clipboard operation
docker-fbctf copied to clipboard

admin password

Open lazybootsafe opened this issue 8 years ago • 5 comments

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

lazybootsafe avatar Nov 03 '16 03:11 lazybootsafe

When you start up the fbctf container, the admin credentials should be printed in the logs.

lastnameclick avatar Nov 29 '16 17:11 lastnameclick

bydefault it will be password itself in the development mode. so was mine

jerinisready avatar Jan 20 '17 21:01 jerinisready

It's indeed printed in the logs. is there any way to set it using an environment variable for exemple ?

razaborg avatar May 07 '17 11:05 razaborg

@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.

lastnameclick avatar May 07 '17 15:05 lastnameclick

hhvm -f "./extra/hash.php" "new_password" get the encrypted password then update teams set password_hash = 'encrypted_password' where id=1

xchangyouren avatar Mar 01 '18 14:03 xchangyouren