{"action":"closed","issue":{"url":"https://api.github.com/repos/facebook/fbctf/issues/375","repository_url":"https://api.github.com/repos/facebook/fbctf","labels_url":"https://api.github.com/repos/facebook/fbctf/issues/375/labels{/name}","comments_url":"https://api.github.com/repos/facebook/fbctf/issues/375/comments","events_url":"https://api.github.com/repos/facebook/fbctf/issues/375/events","html_url":"https://github.com/facebook/fbctf/issues/375","id":192984625,"number":375,"title":"Cannot Logon as Admin (fresh install)","user":{"login":"BinaryWasp","id":6795391,"avatar_url":"https://avatars.githubusercontent.com/u/6795391?v=3","gravatar_id":"","url":"https://api.github.com/users/BinaryWasp","html_url":"https://github.com/BinaryWasp","followers_url":"https://api.github.com/users/BinaryWasp/followers","following_url":"https://api.github.com/users/BinaryWasp/following{/other_user}","gists_url":"https://api.github.com/users/BinaryWasp/gists{/gist_id}","starred_url":"https://api.github.com/users/BinaryWasp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BinaryWasp/subscriptions","organizations_url":"https://api.github.com/users/BinaryWasp/orgs","repos_url":"https://api.github.com/users/BinaryWasp/repos","events_url":"https://api.github.com/users/BinaryWasp/events{/privacy}","received_events_url":"https://api.github.com/users/BinaryWasp/received_events","type":"User","site_admin":false},"labels":[{"id":341471936,"url":"https://api.github.com/repos/facebook/fbctf/labels/help%20wanted","name":"help wanted","color":"159818","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-12-01T22:49:16Z","updated_at":"2017-01-19T06:37:04Z","closed_at":"2017-01-19T06:37:04Z","body":"I did a prod install with self-signed cert. \r\nI took note of the long password and was able to sign in. I entered new categories and questions and all was fine. Now I'm unable to logon. After entering bad credentials, it still stays at the logon page. Upon entering good credentials, I am pushed to the index.php page and cannot progress further. \r\n\r\nI ran the following code as the site suggested and neither the old or new password (new_password) work. I'm now unable to logon. Please help!\r\n\r\n`./extra/lib.sh\r\nset_password new_password ctf ctf fbctf $PWD`\r\n\r\nI am able to logon to the dabase and check the hash value before and after the password reset script and the value does not change, so I don't think it's successfully running. \r\n\r\nUpon a \"successful\" logon (attempting to logon with known good credentials) the file , /var/log/hhvm/error.log produces the following error: \r\n`[Thu Dec 1 15:13:31 2016] [hphp] [10420:7f4d80fff700:2642:000001] {} #0 /var/www/fbctf/src/Router.php(70): SessionUtils::enforceLogin()\\n#1 /var/www/fbctf/src/index.php(17): genInit*(\\n$4 [main]`\r\n\r\n![good_logon](https://cloud.githubusercontent.com/assets/6795391/20817088/4e608d2e-b7eb-11e6-8c04-15db1a5f4a52.png)\r\n"}}
{"actor":{"display_login":"javuto"}}