Need help nulling a plugin

Grinner

Newbie
Joined
Apr 19, 2014
Messages
29
Reaction score
17
Hello BlackHatWorld. So I'm a noob when it comes to PHP. I'm actually going to take computer science next semester in Janruary. But right now I know very little about coding.

I'm attempting to null a wordpress plugin I would love some help.

From what I understand the plugin calls to another server to make sure it was purchased legitimately.

Basically I have two main files connect.php and create_tag_fun.php

Here's connect.php:
http://pastebin.com/sL1Lj8jL

Here's create_tag_fun.php
http://pastebin.com/sk9KL1UH

My guess is I need to be looking at create_tag_fun.php I saw some code in there that looks like it called to an activation.


Code:
function save_ken_transformer_importer_pro_connect() {
check_ajax_referer( "ken_transformer_ajax" );
$user=$_POST['ken_transformer_license_key'];
$product_code='P_TRANSF';
$html = fetchUrl('http://xwpthemes.com/activation/get_lic.php?email='.$user.'&product='.$product_code.'&site='.$_SERVER['HTTP_HOST'].'&query='.$_SERVER['REQUEST_URI']);

$xml=simplexml_load_string($html) or die("Error: Cannot get info");
$wp_status=$xml->status;
$wp_notice=$xml->notice;
if(base64_encode($wp_status)==PRODUCT_PREFIX){
echo "<div id=\"message\" class=\"updated fade\" style='color:blue;'><p>".$wp_notice."</p></div>\n";
update_option('ken_transformer_license_key', esc_attr($xml->email));
update_option('kenplayer_transformer_connect_status', base64_encode($html));
} else {
echo "<div id=\"message\" class=\"update-nag fade\" style='color:red;'>Activation Failed! ".$wp_notice."</div>\n";
}

That's the main code I was looking at I'm not sure what to do with any of this.

I would some help on this.
 
Back
Top