Decrypt TCB, TAD file - encryption

I'm developing a Chinese game, it was released 10 years ago. I need decrypt two this files in the client game. My purpose is to redesign the game menu.
This is code in exchange.tcb
https://filebin.net/qs7d4ukdw8gxxde9
And this is code in exchange.dat
https://filebin.net/lrsu3t1kc2zv2i8f
I did try many decrypt tools but failed. Any recommendation? Thanks for reading.

Related

How do I convert videos files into a .bik format?

I'm in need of some advice after several days of doing research on and off has brought me no answers.
I'm self-taught with coding and I want to create a program in C# with Microsoft Visual Studi (2017) that will convert video files into .bik videos. So I can take an mp3, wmv, etc, and turn them into .bik video files. The reason I state this, is because when I ask in the past, (here or on other sites) people have pointed me to online programs that convert .bik videos into more common file types.
RAD Tools is not an option, as once it's unzipped, it sets off my antivirus defender and I'm not risking my work computer. I've wanted to do this for a while, and now I'm determined to really knuckle down and do it.
So, with someone who has some experience in Unity game development, with C# as their main language of choice, what's the best way to go about learning video conversion to turn common video files into a .bik format?
Whether it's a tutorial, a scripting library, anything is helpful because there's not much information on this out there.

Encrypting files for long term archival purpose. Is gpg a bad idea?

I have to encrypt some files for archival purposes, and I need to make sure I will be able to decrypt them in 10 to 20 years from now.
I am using gpg in linux. Is that a bad idea? Is each new version of gpg backwards compatible up to the very first protocols it implemented?
GnuPG exist for 20 years already. It is unlikely for such free software project to become unsupported in next 20 years or even more so to disappear from the Internet. Also there is (original) proprietary PGP to which GnuPG was designed to be compatible with.
GnuPG will be fine, IMHO.
You should be more concern about other dangers:
A ciphers can become less reliable in the future;
A storage medium can degrade over time. I suggest you to apply some redundancy to your encrypted archives with tools like par2;
A hardware we are using today will almost certainly obsolete in years.

Protect zip file from multiple unzipping

Suppose my customers are offline customers (Don't have Internet connection). So I want my employees to install the software. My application runs in linux server and I have a script that install the required software and my application into the system.
Biggest problem is that my employees can steal the software and sell it to other customers.
I was thinking some security mechanism to protect from stealing the software.
The entire script can not be copied from the Pen drive into the server
I shall zip and make my scripts and installers password protected and the password will expire after unzipping the folder into the pen drive.
The problem is I was didn't get any suitable example/tool in google to expire my zip file exactly after one use in Ubuntu/Linux. Almost whole day i have done my research on this but didnt get any clue on this.
Can someone help me out if you have prior experience on this or any better idea is appreciated.
Please note: I know that if someone is trying to steal/break my software means it is a good software blah blah blah...... idea. So any opinion or direction is much appreciated

How have you ever interacted with a Nabaztag? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
The Nabaztag I ordered has arrived. I know there is an API to interact with the critter from your own software. Have also seen links to libraries in Perl and .NET among others, and have started work myself on a simple .NET Compact Framework 3.5 library for interacting with the bunny from my mobile phone.
I have seen at least one application claiming to interact with the Wifi bunny: the TFS Build Notification application by Rob Aquila. (Not related to this question, but this does look like a nice app to have running on a central monitor in a large TFS Team...)
I'm just curious to experiences by other people with the Nabaztag:
Have you ever used the Nabaztag API to interact with wireless rabbits?
What did you do? Is it freely available to try it out on my bunny?
How did you like working with the API? Did you just use the HTTP API yourself or did you use a library? And if so, which library did you use?
Even if you did nothing with the API yourself, what applications and/or websites do you know of that can interact with a Nabaztag?
Any other tips?
This is a bit of a shameless plug for my employer, but someone wrote a quick and dirty Perl script to make a bunny read out log events from ZXTM (Zeus Extensible Traffic Manager).
The Perl script (and further up that page, how to plug it into ZXTM)
Video of the bunny
VMware image of ZXTM suitable for use on a desktop to try this out
I extended the start on a python api wrapper that others had made, and have a few apps (ugly control panel, personal weather and traffic reader, Google calendar events of the day). They are all available for download at www.mcgurrin.com/nabaztag.
I created a CruiseControl.net plugin with it. Had some issues with the default API because it is not that good documented, so needed a lot of experimenting. Furthermore it is not that easy to develop to the default API.
So i made an .net API (c#) which abstracts the violet api away and gives you more help while developing, specially while creating choreographys (pain in butt they are Yoda would say).
Currently both are not available to the general public but i am in the process of releasing.
Things that can be neath to implement on your bunny, i don't know, local traffic information (nice to have) new releases for music you like, interfacing with your phone? (send command from phone to bunny)
Hey peSHIr, congrats for getting a rabbit. Now as violet got bought by Mindscape, it's sure it'll continue living...
I would like to develop funny stuff for the rabbit as well, but it seems like a big fuss and it's hard to get started - I checked out several APIs and proxys to get a grip on it - found many projects but either useless or outdated. Although it's written in PHP, the OpenNab Project seems to be one the fewer active around. Maybe worth to check it out?
http://opennab.sourceforge.net/
I hope Mindscape will provide a better API, or even better, open source the rabbit!

Flex / Air obfuscation [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I've written (most of) an application in Flex and I am concerned with protecting the source code. I fired up a demo of Trillix swf decompiler and opened up the swf file that was installed to my Program Files directory. I saw that all of the actionscript packages I wrote were there. I'm not too concerned with the packages, even though there is a substantial amount of code, because it still seems pretty unusable without the mxml files. I think they are converted to actionscript, or atleast I hope. However, I would still like to explore obfuscation.
Does anyone have any experience with Flash / Actionscript 3 / Flex obfuscators? Can you recommend a good product?
The procedure suggested by maclema will not really stop any attacker from obtaining the source - the "wrapper application" will need to be unencrypted so the attacker will be able to find out that you use AES (or any other algorithm) and he will obtain the decryption key in a similar way (because it needs to be in plaintext somewhere). Once he has this, he will be able to decrypt your SWF file easily.
The only reliable solution (well...) is some kind of obfuscator - we use Amayeta which works for Flex in the latest version - please see http://www.amayeta.com/software/swfencrypt/ .
Here's what I would do.
Compile your application to a SWF file. Then encrypt the SWF using AES.
Make a "wrapper" application that loads the encrypted SWF into a ByteArray using URLLoader
Use the as3crypto library to decrypt the swf at runtime.
Once decrypted, use Loader.loadBytes to load the decrypted swf into the wrapper application.
This will make it a lot harder to get your code. Not impossible, but harder.
For AIR applications you could leave the SWF encrypted when delivering the application to the end-user. Then you could provide a registration key that contains the key used to decrypt the SWF.
Also, here is a link to an AS3 obfuscator. I am not sure how well it works though.
http://www.ambiera.com/irrfuscator/index.html
Well, in my opinion, the easiest and safest solution is a mix of maclema and Borek answer:
Obfuscating code can be a big headach if you did not include it in your process from the start and if your aplplication is quite big: it's likely that obfuscation make your application corrupted if you used remote packages (and did not declare this to the obfuscator) if you used to many unTyped variables in Objects or dynamic classes ....
So: if you do maclema's solution on your big application and use obfuscation on your wrapper (which is a small app likely to be very easy to obfuscate) you're code will be the safest and the hasle the least.
Only a very angry pirate would take the time to reverse engineer the obfuscation to then decrypt the package .... Well if someone wants your application code soo bad it's either CIA related or you're already very rich (or both)
thank you all for your answers
I recently released an iOS and Android game using Flash. I looked around the internet for a good free program to protect the source code in my SWF and couldn't find anything so I wrote one. It's still in development and it's "use at your own risk" but it worked for me.
It's released on github. Check it out and let me know what you think.
https://github.com/Teesquared/flasturbate
I uploaded a windows binary but I recommend you follow the instructions to build it yourself if you want to give it a try.
This obfuscator works directly on the SWF file. It currently only renames symbols but it is built on a framework that could support altering bytecodes in the future.

Resources