Codiad-Terminal
Codiad-Terminal copied to clipboard
Why a password
It's be useful that you explain why there should be a password. I guess it's only because all there is no terminal access per user and all Codiad users run under the same UID/GID, and I guess there is no "public" exploit known risks (i.e. from non-logged in users). Those are all guesses and it'd be nice to update the README with a bit of details.
It'd be also good to allow having no password if one trusts all users on its system (or single user).
+1
FYI, you can disable auth completely in terminal by commenting out the following lines in term.php :
- 15:
// Password
and:
- 175 - 189
// $_SESSION['term_auth'] = 'false';
// $output = '[CLOSED]';
// }else if(! isset($_SESSION['term_auth']) || $_SESSION['term_auth']!='true'){
//////////////////////////////////////////////////////////////
// Authentication
//////////////////////////////////////////////////////////////
// if($command==PASSWORD){
// $_SESSION['term_auth'] = 'true';
// $output = '[AUTHENTICATED]';
// }else{
// $output = 'Enter Password:';
// }
Screenshot: