I hereby claim:
- I am valorin on github.
- I am valorin (https://keybase.io/valorin) on keybase.
- I have a public key whose fingerprint is 7C1C 5C4A 3017 C21F 9AE5 34DE C1C4 BEBF 0442 284B
To claim this, I am signing this object:
<?php | |
// Whether or not to enable a configuration cache. | |
// If enabled, the merged configuration will be cached and used in | |
// subsequent requests. | |
'config_cache_enabled' => $booleanValue, | |
// The key used to create the configuration cache file name. | |
'config_cache_key' => $stringKey, | |
// Whether or not to enable a module class map cache. |
############## | |
# THIS WORKS # | |
############## | |
## | |
# Git prompt options | |
## | |
source ~/.git-prompt.sh | |
GIT_PS1_SHOWDIRTYSTATE=true | |
GIT_PS1_SHOWSTASHSTATE=true |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# Load active ports | |
PORTS=`lsof -i | grep mosh-serv | cut -f2 -d":"` | |
STATUS=`sudo ufw status` | |
# Add Rules for new ports | |
for PORT in $PORTS; do | |
echo $STATUS | grep "$PORT/udp" > /dev/null |
--- | |
- name: Install Mosh PPA | |
apt_repository: repo='ppa:keithw/mosh' | |
- name: Install Mosh | |
apt: > | |
state=latest | |
pkg=mosh | |
update_cache=yes |
Verifying that +valorin is my blockchain ID. https://onename.com/valorin |
/var/www/vhosts/my.app/storage/logs/*.log { | |
size 100M # Max log file size 100M | |
weekly # Rotate weekly, if not sooner | |
missingok # Ignore if missing file | |
rotate 12 # Keep 12 files | |
compress # Compress rotated files | |
notifempty # Ignore empty files | |
create 755 www-data www-data # Create new log file with perms and owner | |
} |
#!/bin/bash | |
# | |
# WordPress Setup Attack Script | |
# | |
# Created by Stephen Rees-Carter (https://stephenreescarter.net/) | |
# | |
# This script injects a remote shell into a fresh copy of WordPress that hasn't been set up yet. | |
# Once the shells have been set up, it removes the config file with the custom database connection to reset the site back to a fresh install. | |
# |
#!/bin/bash -xe | |
if [[ $WSL_DISTRO_NAME = Ubuntu* ]]; then | |
sudo add-apt-repository ppa:ondrej/php -y | |
if [ $WSL_DISTRO_NAME == "Ubuntu-18.04" ]; then | |
sudo add-apt-repository ppa:certbot/certbot -y | |
fi | |
fi |
# Add to your .env.example and .env files | |
CSP_ENABLED=true | |
CSP_REPORT_ONLY=true |