Quickly disable all plugins in WordPress.
This plugin needs to go into the wp-content/mu-plugins/ directory. Provided you have SSH access to the server where WordPress lives, you can do this:
cd $SITE_ROOT/wp-content/mu-plugins| curl 'http://gorefer.me/randomizer/submit_ajax.php?set=STAR&code=STAR-P47M-3LJT&time='$(date +%s000) \ | |
| -H 'Pragma: no-cache' \ | |
| -H 'DNT: 1' \ | |
| -H 'Accept-Encoding: gzip, deflate' \ | |
| -H 'Accept-Language: en-US,en;q=0.8' \ | |
| -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36' \ | |
| -H 'Accept: text/html, */*; q=0.01' \ | |
| -H 'Referer: http://gorefer.me/starcitizen/' \ | |
| -H 'X-Requested-With: XMLHttpRequest' \ | |
| -H 'Connection: keep-alive' \ |
| #!/bin/bash | |
| echo beginnning | |
| # Colors | |
| red='\x1b[0;31m' | |
| yellow='\x1b[0;33m' | |
| green='\x1b[0;32m' | |
| teal='\x1b[0;36m' | |
| blue='\x1b[0;34m' |
| function inode_counter() { | |
| #give me a path | |
| #i'll count the inodes recursively | |
| #I'm pretty slow, but I'm real purdy | |
| path=$1 | |
| z=0 | |
| find $path 2>/dev/null | while read x | |
| do ((z++)) | |
| printf '\r%-16s %-8s' "$install" "$z" | |
| done |
| echo hello |
$ turnoffplugin query-monitor
site.com/ :: Success: Plugin 'query-monitor' deactivated.
test.site.com/ :: not deactivating, plugin status is inactive
test2.site.com/ :: not deactivating, plugin status is inactive
$ turnoffplugin query-monitor
site.com/ :: not deactivating, plugin status is inactive
| <?php | |
| /** | |
| * This file can be used to validate that the WordPress wp_mail() function is working. | |
| * To use, change the email address in $to below, save, and upload to your WP root. | |
| * Then browse to the file in your browser. | |
| * | |
| * For full discussion and instructions, see the associated post here: | |
| * http://b.utler.co/9L | |
| * | |
| * Author: Chad Butler |
Tell us a little bit about yourself:
Birthday:
June 15th
Age:
About to enter my 3rd decade of life
| from multiprocessing import Pool | |
| import argparse | |
| import requests | |
| import sys | |
| #Functions | |
| def getgeo(ip): | |
| """Give this a string of an IPv4 or IPv6 address | |
| Returns a dict with geographical data about the ip | |
| """ |
| # for asha | |
| # This is a list of dictionaries, saved into people | |
| people = [ | |
| { | |
| 'name' : 'tim', | |
| 'eyes' : 'brown', | |
| 'silly' : False | |
| }, | |
| { |