Jump to content
UBot Underground

[SELL] UbotLocker Web: Web Based Licensing Solution That Prevents Decompiling And Cracking


Recommended Posts

Seems to have issues with the newest update of ubot when i run the locker desktop and lock the program it screws everything up anyone else having this issues with latest update of ubot  ???

Link to post
Share on other sites
  • Replies 1.5k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

UPDATE: Hello all, After many years I am stepping down from maintaining Ubotlocker. I will no longer be selling Ubotlocker, and will stop providing support. After consulting with both T

Meter I wanted to pass on a very big thank you for the licensing system! I can honestly say that your software has made me very profitable. I've written and distributed bots before but I was always fi

Attached is source code to License.dll, which handles entering of licenses and updates. You need Visual C# Express 2010 to edit and compile it, and ILMerge to merge the exe and DLL produced by compila

Posted Images

Hey  Meter

 

Having a bit of a problem. I went to log in to the admin area this morning and I am not able to get in. Basically nothing happens at all and there are no error messages or anything, the screen just does a little flash when I click on the login button. It was working fine yesterday and now nothing. 

 

Thanks

Link to post
Share on other sites

Okay, I have a challenge on the licensing that I can't figure out how to implement.  If I need to ask the question in another forum that is fine.

 

Here goes...I want to be able to offer trial versions of my bots using UBotLocker and have the license keys expire some way after a set time.  If the person wants to purchase the bots, I can reset/reactivate their key after successful purchase or something similar.

 

Any suggestions on how to get a trial functionality working or programatically disable the license after a certain time?

 

Thanks

Link to post
Share on other sites

Hey  Meter

 

Having a bit of a problem. I went to log in to the admin area this morning and I am not able to get in. Basically nothing happens at all and there are no error messages or anything, the screen just does a little flash when I click on the login button. It was working fine yesterday and now nothing. 

 

Thanks

 

Hi Volund,

 

This might happen sometimes if your host updated PHP and broke the sessions addon. Basically UbotLocker is unable to find cookies to authenticate you as logged in, so that's why you're seeing that.

 

-meter

Link to post
Share on other sites

Hi Volund,

 

This might happen sometimes if your host updated PHP and broke the sessions addon. Basically UbotLocker is unable to find cookies to authenticate you as logged in, so that's why you're seeing that.

 

-meter

 

I am on a dedicated box no php update has been done, currently running PHP 5.4.29. 

 

Now that I know to look for a sessions/cookie issue I will see if I can track it down. 

Link to post
Share on other sites

It's 100% a cookie/sessions issue, either sessions for PHP aren't working, or cookies are not being saved by your browser. It's weird that a PHP update didn't cause this.

 

You can open CheckLogin.php and try changing this:

 

 

//session_register("myusername");
        //session_register("mypassword");
        //session_register("id");
        session_start();
        $_SESSION['myusername'] = $myusername;  
        $_SESSION['mypassword'] = $mypassword;
        $_SESSION['id'] = $id; 

 

To this:

 

session_register("myusername");
        session_register("mypassword");
        session_register("id");
        //session_start();
        //$_SESSION['myusername'] = $myusername;  
        //$_SESSION['mypassword'] = $mypassword;
        //$_SESSION['id'] = $id; 

 

That might help, but I doubt it... especially if you're running PHP 5.4.29.

 

-meter

Link to post
Share on other sites

Sorry dude, that's not something i have done, although I recall some people posted code samples in this thread.

 

I am looking into adding smtp support to UbotLocker yes.

 

-meter

Link to post
Share on other sites

I figured it out. I made some changes to the .htaccess file in the root of my domain and while I checked to make sure nothing was broken in the main part of the site I did not check the locker folder. Once I removed some of the changes it started working just fine. It is a bit odd as I do not see why it broke the sessions but I will play with it when I have more time and see if I can figure out exactly what is going on with it. 

Link to post
Share on other sites

Can UbotLocker do this? .......

 

I want to give the buyer access to a bot for 48 hours only. Scenario is...

 

BUY (payapl / jvzoo etc..)

Issue license automatically

User uses the bot for 48 hours

License is automatically deactivated after 48 hours

 

How can I do this?

Link to post
Share on other sites

set a custom ipn file to set the license details in db, with a log to a new column for current time (i prefer linux timestamp) then have a cron run hourly or however often as needed, to check if that timestamp + days (86400 * days)  is less than current time and set to disabled for status

 

if you want to hire me to build the ipn file and whats needed for this to happen let me know.

skype: emw-dgn

email: admin@botguru.net

Link to post
Share on other sites

So I was having a hard time with email deliverability with the licenses (no fault to ubotlocker but my host) so I switched over to sendgrid for that. 250 emails a day for free so not too bad.

 

There are multiple ways to integrate with sendgrid but since I am on a shared hosting environment I went with this way.

	//Sendgrid stuff
	$from = 'noreply@$siteUrl';
	$url = 'https://sendgrid.com/api/mail.send.json';
	$fields = array(
						'to' => urlencode($payerEmail),
						'subject' => urlencode($subject),
						'from' => urlencode($from),
						'text' => urlencode($body),
						'api_user' => urlencode("xxxxxxxx"),
						'api_key' => urlencode("xxxxxxxxxxxxxxx")
					);
	//url-ify the data for the POST
foreach($fields as $key=>$value) { $fields_string .= $key.'='.$value.'&'; }
rtrim($fields_string, '&');

//open connection
$ch = curl_init();

//set the url, number of POST vars, POST data
curl_setopt($ch,CURLOPT_URL, $url);
curl_setopt($ch,CURLOPT_POST, count($fields));
curl_setopt($ch,CURLOPT_POSTFIELDS, $fields_string);
curl_setopt($ch, CURLOPT_HEADER, false);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

//execute post
$result = curl_exec($ch);

//close connection
curl_close($ch);

Just put that in your PaymentNotify.php and MailLicense.php and comment out the mail();

i tired to set this up but still not working correctly at all ??? any help would be great 

Link to post
Share on other sites

Hi Meter,

 

I've setup Paypal as per instructions and the issuing of licenses works fine, but on testing refunds of 1-time purchase and subscription cancellations I see the license keys remain active for the users. Isn't the system suppose to deactivate the user license? Is there something special I have to do to get this working?

 

Also, is it possible to log the transaction amount in the Paypal Log?

 

Pete

  • Like 1
Link to post
Share on other sites

I Pete,

 

UbotLocker doesn't currently log the transaction amount. Also, the license will expire when the subscription expires, not when it is cancelled.

 

For example, if someone buys a 1 year subscription, then cancels the subscription 3 days later (but doesn't request a refund) then the license will expire when the subscription expires (in 1 year, NOT the data of cancellation).

 

As for refund, this depends on the IPN protocol. For Paypal, they do not reliably report refunds through their IPN, so you must delete the licenses by hand.

 

-meter

  • Like 1
Link to post
Share on other sites

Hi Meter,

 

Is it possible to forward the Paypal IPN onto another url endpoint such as aweber/mailchimp? If so, can you give some pointers?

 

Alternatively I could get paypal to send the IPN to a php script which could then forward onto ubotlocker & any other service I want. Will ubotlocker accept ipn's this way? ... any issueseo you see in the logic or ubotlocker?

Link to post
Share on other sites

Hi Pete,

 

UbotLocker can accept forwarded Paypal IPNs without any problem. Also, UbotLocker can be recoded to forward an IPN. You would want to look into using curl from PHP to repost the IPN parameters to a new url.

 

-meter

  • Like 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...