Jump to content



Photo

[FREE PLUGIN] Text Encryption/Decryption for Ubot


  • Please log in to reply
24 replies to this topic

#1 meter

meter

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 970 posts
  • OS:Windows 8
  • Total Memory:< 1Gb
  • Framework:v3.5
  • License:Standard Edition

Posted 10 April 2013 - 10:12 AM

In the following zip file you will find 3 files:

http://termgrabber.c...tEncryption.zip

 

The first file is a text encryption plugin I quickly put together for you (TextEncryption.dll).

 

This plugin introduces 2 commands to ubot:

$TextEncryption_EncryptText

$TextEncryption_DecryptText

 

Both functions take 2 parameters. The first parameter is a secret key. The second parameter is text to be encrypted/decrypted. The functions return the encrypted/decrypted text.

 

Using this plugin you can encrypt your account info/proxy lists on your server, and then download and decrypt them in your bot, or encrypt the config files of your bot, or other things. I've also included 2 sample Ubot scripts showing how to do this.

 

Of course you will need some sort of Ubot security solution to encrypt your bots, and prevent them from being decompiled and having their encryption keys stolen. UbotLocker can do this ;)

 

-meter



#2 beatngu

beatngu

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 295 posts
  • Location3021e68df9a7200135725c6331369a22
  • OS:Windows 8
  • Total Memory:More Than 9Gb
  • Framework:v3.5 & v4.0
  • License:Developer Edition

Posted 10 April 2013 - 10:20 AM

Great stuff meter!!

Another great protection based product,meter the one and only ubot protection master lol :).


KARMA is a B*ICH  :P


#3 Aymen

Aymen

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 1362 posts
  • OS:Windows 8
  • Total Memory:4Gb
  • Framework:v3.5 & v4.0
  • License:Developer Edition

Posted 10 April 2013 - 11:07 AM

Great Plugin !

Keep up the good work :)


★★★List Of Killer Ubot Plugins★★★

 

Need Support ? Submit a support ticket here

 

Refund Policy is Clear : No Refunds on all Ubot Plugins


#4 wilriv21

wilriv21

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 78 posts
  • LocationLos Angeles
  • OS:Windows 8
  • Total Memory:8Gb
  • Framework:v4.0
  • License:Developer Edition

Posted 10 April 2013 - 11:37 AM

Meter.

 

Appreciate your FREE plugin.  Thank you.



#5 socialcracker

socialcracker

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 101 posts
  • LocationMumbai, India
  • OS:Windows 8
  • Total Memory:4Gb
  • Framework:v4.0
  • License:Developer Edition

Posted 10 April 2013 - 08:58 PM

Nice plugin :)
Thanks..
 



#6 Kreatus (Ubot Ninja)

Kreatus (Ubot Ninja)

    Custombotsolutions.com

  • Fellow UBotter
  • PipPipPip
  • 3192 posts
  • OS:Windows 10
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 11 April 2013 - 07:49 AM

Nice one meter. Keep em coming. :D



#7 malefic

malefic

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 569 posts
  • OS:Windows 8
  • Total Memory:3Gb
  • Framework:v3.5 & v4.0
  • License:Developer Edition

Posted 11 April 2013 - 07:58 AM

Cheers for the plugin, appreciated :)



#8 malefic

malefic

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 569 posts
  • OS:Windows 8
  • Total Memory:3Gb
  • Framework:v3.5 & v4.0
  • License:Developer Edition

Posted 11 April 2013 - 09:23 AM

meter, is this a custom encryption thing or something along the lines of MD5 with a salt?

Only asking as I am looking to do some PHP / MySQL validation server side and wondered if your plugin would be useful for that.



#9 meter

meter

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 970 posts
  • OS:Windows 8
  • Total Memory:< 1Gb
  • Framework:v3.5
  • License:Standard Edition

Posted 11 April 2013 - 10:22 AM

Hey Malefic,

 

MD5 is a hashing algorithm. This means that MD5 will take ANY data (such as text, or file, or webpage) and produce a 128 bit number from it known as a hash. You can then use this number to check whether or not the data being hashed has been modified by a malicious third party.

 

What I uploaded is an encryption plugin. The plugin will take ANY text and ANY encryption key passed to it from Ubot, and then will encrypt the text with this encryption key.

 

What does this mean? Well it means that no one can access your encrypted text unless you give them your encryption key. If you have the encryption key, then you can use it to decrypt the encrypted text.

 

Why is this useful? Well, it lets you store sensitive data onto your server (such as proxy lists) in encrypted form. When your bot runs, it can during startup navigate to your server, scrape the encrypted data from it, decrypt it, and then use it. This is just one possible use case.

 

For all the crypto nuts out there, the plugin uses the .NET RijndaelManaged implementation of AES 256 :)

 

-meter



#10 malefic

malefic

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 569 posts
  • OS:Windows 8
  • Total Memory:3Gb
  • Framework:v3.5 & v4.0
  • License:Developer Edition

Posted 11 April 2013 - 10:25 AM

Cheers for the run down :)



#11 VaultBoss

VaultBoss

    I have no fear, for fear is the little death that kills me

  • Fellow UBotter
  • PipPipPip
  • 891 posts
  • OS:Windows 8
  • Total Memory:4Gb
  • Framework:v3.5 & v4.0
  • License:Developer Edition

Posted 16 April 2013 - 04:18 AM

Hi meter...

I think it would be extremely useful to somehow integrate the encryption/decryption process with the load from file/save to file that UBS uses for lists and tables.

 

This way, there would be no need to loop through the loaded data to decrypt one by one.

  1. Do you think it is easily doable?
  2. If so, do you want to add this functionality?
  3. If so how soon?

^^ Asking the above only to know if it is reasonable to expect something like this and leave room for it in my code scheduling for the near future, or just move on and code it as it is currently possible?

 

Thanks!


If you liked my post/contribution, hit the LIKE THIS button ↑↑↑ above...
GET CaptchaSniper with a 20% off discount below:
8903615856_1a01c0e40c_z.jpg

Also GET my "Sexy eMail Marketing" Book ($27 real value) as a free bonus when you buy from my link ↑↑↑ above...


#12 meter

meter

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 970 posts
  • OS:Windows 8
  • Total Memory:< 1Gb
  • Framework:v3.5
  • License:Standard Edition

Posted 16 April 2013 - 10:13 AM

Hey VaultBoss,

 

Shouldn't you be able to encrypt/decrypt the entire file with just one command? I don't understand why you're looping :S

 

-meter



#13 VaultBoss

VaultBoss

    I have no fear, for fear is the little death that kills me

  • Fellow UBotter
  • PipPipPip
  • 891 posts
  • OS:Windows 8
  • Total Memory:4Gb
  • Framework:v3.5 & v4.0
  • License:Developer Edition

Posted 17 April 2013 - 12:56 AM

Sorry.. you're telling me that your plugin function can be applied to entities like tables and lists as a whole, not only to singled out variables?

 

If it can, then yes, no need for looping...


If you liked my post/contribution, hit the LIKE THIS button ↑↑↑ above...
GET CaptchaSniper with a 20% off discount below:
8903615856_1a01c0e40c_z.jpg

Also GET my "Sexy eMail Marketing" Book ($27 real value) as a free bonus when you buy from my link ↑↑↑ above...


#14 VaultBoss

VaultBoss

    I have no fear, for fear is the little death that kills me

  • Fellow UBotter
  • PipPipPip
  • 891 posts
  • OS:Windows 8
  • Total Memory:4Gb
  • Framework:v3.5 & v4.0
  • License:Developer Edition

Posted 17 April 2013 - 01:16 AM

Here is an example of saving an encrypted list to a file...

loop(1) {
    add list to list(%testList, $list from text("1,2,3,4,5,6", ","), "Delete", "Global")
    save to file("{$special folder("Application")}\\Support-Files\\test-encrypted-list.csv", $plugin function("TextEncryption.dll", "$TextEncryption_EncryptText", 123456987, %testList))
}

...you will notice that my list was probably automatically 'transformed' into a text (string) variable and then encrypted
and saved as a single element in the csv file (obviously, the commas have disappeared on encryption).

 

Now, how exactly am I going to load back this file into a list within UBS, w/o looping, or w/o running another $list from text to the decrypted content?

 

Can you provide some code?

 

Also, if we extend this to tables, I think the process becomes even more convoluted, as the table is after all, a collection of lists (in extremis only one list, when it has only one row or one column, but usually more...)

 

Thanks in advance for any input you can provide into this matter.

 

If I missed something, please explain, I'm tired now and I might think a bit fuzzy, I won't deny that... :)

 

Cheers!


If you liked my post/contribution, hit the LIKE THIS button ↑↑↑ above...
GET CaptchaSniper with a 20% off discount below:
8903615856_1a01c0e40c_z.jpg

Also GET my "Sexy eMail Marketing" Book ($27 real value) as a free bonus when you buy from my link ↑↑↑ above...


#15 meter

meter

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 970 posts
  • OS:Windows 8
  • Total Memory:< 1Gb
  • Framework:v3.5
  • License:Standard Edition

Posted 17 April 2013 - 12:32 PM

Can't you just save the list as text, encrypt it, and then when you decrypt it simply decrypt it as text and load it as a list?

 

 

add list to list(%testList, $list from text("1,2,3,4,5,6", ","), "Delete", "Global")
set(#textToEncrypt, $text from list(%testList, ":"), "Global")
save to file("C:\\test-encrypted-list.csv", $plugin function("TextEncryption.dll", "$TextEncryption_EncryptText", 123456987, #textToEncrypt))
set(#encryptedText, $read file("C:\\test-encrypted-list.csv"), "Global")
set(#decryptedText, $plugin function("TextEncryption.dll", "$TextEncryption_DecryptText", 123456987, #encryptedText), "Global")
clear list(%testList2)
add list to list(%testList2, $list from text(#decryptedText, ":"), "Delete", "Global")
set(#listText, $text from list(%testList2, ","), "Global")
load html(#listText)


#16 VaultBoss

VaultBoss

    I have no fear, for fear is the little death that kills me

  • Fellow UBotter
  • PipPipPip
  • 891 posts
  • OS:Windows 8
  • Total Memory:4Gb
  • Framework:v3.5 & v4.0
  • License:Developer Edition

Posted 17 April 2013 - 01:07 PM

Of course I can. Basically that is what I was explaining above.

 

My question was if you plan to make the plugin deal with lists/tables too, in the near future, so that I do not have to code that workaround.

 

That's all.

  • If you plan to, I'll be a happy camper.
  • If not, I'm still grateful for the free plugin anyway; I'll just have to work more to achieve the reults I want.

 

:)

 

Cheers!


If you liked my post/contribution, hit the LIKE THIS button ↑↑↑ above...
GET CaptchaSniper with a 20% off discount below:
8903615856_1a01c0e40c_z.jpg

Also GET my "Sexy eMail Marketing" Book ($27 real value) as a free bonus when you buy from my link ↑↑↑ above...


#17 meter

meter

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 970 posts
  • OS:Windows 8
  • Total Memory:< 1Gb
  • Framework:v3.5
  • License:Standard Edition

Posted 17 April 2013 - 01:15 PM

Sorry VaultBoss, native support for lists/tables is not something I have planned. You'll have to stick to the workaround :(

 

-meter



#18 VaultBoss

VaultBoss

    I have no fear, for fear is the little death that kills me

  • Fellow UBotter
  • PipPipPip
  • 891 posts
  • OS:Windows 8
  • Total Memory:4Gb
  • Framework:v3.5 & v4.0
  • License:Developer Edition

Posted 18 April 2013 - 02:27 AM

Gotcha...


If you liked my post/contribution, hit the LIKE THIS button ↑↑↑ above...
GET CaptchaSniper with a 20% off discount below:
8903615856_1a01c0e40c_z.jpg

Also GET my "Sexy eMail Marketing" Book ($27 real value) as a free bonus when you buy from my link ↑↑↑ above...


#19 NewTechLife

NewTechLife

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 63 posts
  • OS:Windows 10
  • Total Memory:8Gb
  • Framework:v3.5 & v4.0
  • License:Developer Edition

Posted 18 April 2013 - 03:51 PM

Love this plug-in. Glad to have you around meter that's for sure haha


I've tried every spinner out there and WordAi is the best by far! See What I Mean With The 3 day free trial!

#20 Macster (UBotter Labs)

Macster (UBotter Labs)

    UBotter Staff

  • Fellow UBotter
  • PipPipPip
  • 717 posts
  • Locationwww.ubotter.com
  • OS:Windows 10
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 02 July 2013 - 07:54 AM

Heya meter, outstanding plugin :) along with the other I've bought from you it can make wonders

 

Can you please help on how to decrypt the encrypted text on server side... assuming that the bot and server have the same key?

 

Fast help would be greatly appreciated :) Thank you!


UBotter Labs UNLEASHED Licensing from €9 / Month

 

UbotLocker UNLEASHED Complete Protection from €97 includes 1 Year UBotter Labs Bronze Pack

 

Losers always talk about giving their best; Winners go home and take the prom queen.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users