I hereby claim:
- I am noahbohme on github.
- I am noahbohme (https://keybase.io/noahbohme) on keybase.
- I have a public key ASDoJGAUGgXPwnipuKtyeQfFHP6oLkIJnLfhRXrOguxmGAo
To claim this, I am signing this object:
#!/bin/bash | |
# Define the path to your WordPress wp-config.php file | |
wp_config="./wp-config.php" | |
# Extract database credentials from wp-config.php | |
db_name=$(grep -oP "DB_NAME\s*=\s*'(\K[^']+)" "$wp_config") | |
db_user=$(grep -oP "DB_USER\s*=\s*'(\K[^']+)" "$wp_config") | |
db_password=$(grep -oP "DB_PASSWORD\s*=\s*'(\K[^']+)" "$wp_config") | |
db_host=$(grep -oP "DB_HOST\s*=\s*'(\K[^']+)" "$wp_config") |
import requests | |
from requests.auth import HTTPBasicAuth | |
# Replace with your WordPress site URL | |
wordpress_url = 'https://website/wp-json/wp/v2/posts' | |
# Replace with your username and password | |
username = 'user' | |
password = 'lXsJ J1jB R43j MaBq lkzP x5Hr' |
<?php | |
// Define the WooCommerce product age threshold in months | |
$thresholdMonths = 3; | |
// Get current date and time | |
$currentDate = new DateTime(); | |
// Setup WooCommerce query arguments | |
$args = array( | |
'post_type' => 'product', |
//Elementor PRO | |
/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js | |
/jquery-migrate(.min)?.js | |
/elementor/ | |
/elementor-pro/ | |
/wp-includes/js/imagesloaded.min.js | |
ElementorProFrontendConfig | |
elementorFrontendConfig | |
// Resolve User Cache |
<!doctype html> | |
<title>Site Maintenance</title> | |
<style> | |
body { text-align: center; padding: 150px; } | |
h1 { font-size: 50px; } | |
body { font: 20px Helvetica, sans-serif; color: #333; } | |
article { display: block; text-align: left; width: 650px; margin: 0 auto; } | |
a { color: #dc8100; text-decoration: none; } | |
a:hover { color: #333; text-decoration: none; } | |
</style> |
Header set Strict-Transport-Security "max-age=31536000" env=HTTPS |
I hereby claim:
To claim this, I am signing this object: