moloch-- / RootTheBox

A Game of Hackers (CTF Scoreboard & Game Manager)
http://root-the-box.com/
Apache License 2.0
915 stars 292 forks source link

Unable to login into Admin via web #550

Closed mr-1nc00r3ct closed 1 year ago

mr-1nc00r3ct commented 1 year ago

Hi Team,

I am unable to log in via the web console into the Admin account. Getting an error as Admin is restricted by IPs and making changes in the .cfg file. However, I have kept the value empty for Admin IPs. Could anyone guide me thru? PFA screenshot of the configuration and error message in login page is "Successful credentials, but administration is restriceted via IP. See 'admin_ips' in configuration."

2023-04-04

eljeffeg commented 1 year ago

Try setting admin_ips = [] and not ['']. The first is a 0 length list, the second has a length of 1 but has no value. I expect you're telling it there is 1 admin IP with no value. A restart of the RootTheBox service is required after making the change.

mr-1nc00r3ct commented 1 year ago

Hi, the first one did the job. Thanks very much