| View previous topic :: View next topic |
| Author |
Message |
Hans Henrik Expert Cheater
Reputation: 0
Joined: 18 Feb 2007 Posts: 178
|
Posted: Tue Apr 29, 2008 12:50 am Post subject: DeleteThisTopic |
|
|
cud som1 delete this topic please? lol "normal users" aint allowed to delete there own posts o.0
_________________
Im not around.
im almost never checking the forum anymore
Last edited by Hans Henrik on Wed May 21, 2008 10:02 am; edited 1 time in total |
|
| Back to top |
|
 |
imeantobebad Master Cheater
Reputation: 0
Joined: 11 Jan 2007 Posts: 469 Location: Moree
|
Posted: Tue Apr 29, 2008 1:53 am Post subject: |
|
|
| You know of a program that can decript tibia's packets?
|
|
| Back to top |
|
 |
Hans Henrik Expert Cheater
Reputation: 0
Joined: 18 Feb 2007 Posts: 178
|
Posted: Tue Apr 29, 2008 3:59 am Post subject: |
|
|
"decript tibia packets"?
you mean Decode, or De-crypt?
tibia 7.71 and up use packet-encryption... described how to decrypt in Delphi, C, C++, VB in www.tibiafans.com somewhere i think... (dont remember exactly where, but just use search function x.x)
_________________
Im not around.
im almost never checking the forum anymore |
|
| Back to top |
|
 |
Labyrnth Moderator
Reputation: 10
Joined: 28 Nov 2006 Posts: 6301
|
Posted: Tue Apr 29, 2008 10:28 am Post subject: |
|
|
Hans Henrik:
If you will write out a tutorial in this thread on doing a script like you have described i will sticky it.
|
|
| Back to top |
|
 |
Hans Henrik Expert Cheater
Reputation: 0
Joined: 18 Feb 2007 Posts: 178
|
Posted: Tue Apr 29, 2008 10:48 am Post subject: |
|
|
ill try to get for delphi/VB l8r (swear i have seen it for those 2, but didnt find it x.x), but here is at least for C#/C++
For tibia 7.1 - 8.11 (and possibly newer versions??)
Decrypt:
| Code: | void decipher(unsigned int num_rounds, unsigned long* v, unsigned long* k) {
unsigned long v0=v[0], v1=v[1], i;
unsigned long delta=0x9E3779B9, sum=delta*num_rounds;
for(i=0; i<num_rounds; i++) {
v1 -= (((v0 << 4) ^ (v0 >> 5)) + v0) ^ (sum + k[(sum>>11) & 3]);
sum -= delta;
v0 -= (((v1 << 4) ^ (v1 >> 5)) + v1) ^ (sum + k[sum & 3]);
}
v[0]=v0; v[1]=v1;
} |
and Encrypt: | Code: | void encipher(unsigned int num_rounds, unsigned long* v, unsigned long* k) {
unsigned long v0=v[0], v1=v[1], i;
unsigned long sum=0, delta=0x9E3779B9;
for(i=0; i<num_rounds; i++) {
v0 += (((v1 << 4) ^ (v1 >> 5)) + v1) ^ (sum + k[sum & 3]);
sum += delta;
v1 += (((v0 << 4) ^ (v0 >> 5)) + v0) ^ (sum + k[(sum>>11) & 3]);
}
v[0]=v0; v[1]=v1;
} |
and Tibia 7.1 - 8.11 use XTEA-encryption
EDIT: and if your intrested in Tibia Packet-editing, you should check out KTibiaX Packet Analyzer
_________________
Im not around.
im almost never checking the forum anymore |
|
| Back to top |
|
 |
|