(www-data:/var/www/wolfcms) $ ll /bin/sh: 1: ll: not found (www-data:/var/www/wolfcms) $ ls CONTRIBUTING.md README.md composer.json config.php docs favicon.ico index.php public robots.txt wolf
(www-data:/var/www/wolfcms) $ cat config.php <?php // Database information: // for SQLite, use sqlite:/tmp/wolf.db (SQLite 3) // The path can only be absolute path or :memory: // For more info look at: www.php.net/pdo // Database settings: define('DB_DSN', 'mysql:dbname=wolf;host=localhost;port=3306'); define('DB_USER', 'root'); define('DB_PASS', 'john@123'); define('TABLE_PREFIX', ''); // Should Wolf produce PHP error messages for debugging? define('DEBUG', false); // Should Wolf check for updates on Wolf itself and the installed plugins? define('CHECK_UPDATES', true); // The number of seconds before the check for a new Wolf version times out in case of problems. define('CHECK_TIMEOUT', 3); // The full URL of your Wolf CMS install define('URL_PUBLIC', '/wolfcms/'); // Use httpS for the backend? // Before enabling this, please make sure you have a working HTTP+SSL installation. define('USE_HTTPS', false); // Use HTTP ONLY setting for the Wolf CMS authentication cookie? // This requests browsers to make the cookie only available through HTTP, so not javascript for example. // Defaults to false for backwards compatibility. define('COOKIE_HTTP_ONLY', false); // The virtual directory name for your Wolf CMS administration section. define('ADMIN_DIR', 'admin'); // Change this setting to enable mod_rewrite. Set to "true" to remove the "?" in the URL. // To enable mod_rewrite, you must also change the name of "_.htaccess" in your // Wolf CMS root directory to ".htaccess" define('USE_MOD_REWRITE', false); // Add a suffix to pages (simluating static pages '.html') define('URL_SUFFIX', '.html'); // Set the timezone of your choice. // Go here for more information on the available timezones: // http://php.net/timezones define('DEFAULT_TIMEZONE', 'Asia/Calcutta'); // Use poormans cron solution instead of real one. // Only use if cron is truly not available, this works better in terms of timing // if you have a lot of traffic. define('USE_POORMANSCRON', false); // Rough interval in seconds at which poormans cron should trigger. // No traffic == no poormans cron run. define('POORMANSCRON_INTERVAL', 3600); // How long should the browser remember logged in user? // This relates to Login screen "Remember me for xxx time" checkbox at Backend Login screen // Default: 1800 (30 minutes) define ('COOKIE_LIFE', 1800); // 30 minutes // Can registered users login to backend using their email address? // Default: false define ('ALLOW_LOGIN_WITH_EMAIL', false); // Should Wolf CMS block login ability on invalid password provided? // Default: true define ('DELAY_ON_INVALID_LOGIN', true); // How long should the login blockade last? // Default: 30 seconds define ('DELAY_ONCE_EVERY', 30); // 30 seconds // First delay starts after Nth failed login attempt // Default: 3 define ('DELAY_FIRST_AFTER', 3); // Secure token expiry time (prevents CSRF attacks, etc.) // If backend user does nothing for this time (eg. click some link) // his token will expire with appropriate notification // Default: 900 (15 minutes) define ('SECURE_TOKEN_EXPIRY', 900); // 15 minutes
System information as of Thu Dec 29 21:20:26 IST 2022
System load: 0.01 Processes: 118 Usage of /: 4.3% of 28.42GB Users logged in: 1 Memory usage: 19% IP address for eth0: 192.168.1.10 Swap usage: 0%
Graph this data and manage this system at: https://landscape.canonical.com/
124 packages can be updated. 92 updates are security updates.
New release '14.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it.
Last login: Thu Dec 29 15:44:03 2022 sickos@SickOs:~$
然后尝试下 sudo -l 查看下当前账号的权限。
1 2 3 4 5 6 7
sickos@SickOs:~$ sudo -l [sudo] password for sickos: Matching Defaults entries for sickos on this host: env_reset, secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin
User sickos may run the following commands on this host: (ALL : ALL) ALL