PDA

View Full Version : [sharing]small tool for decrypt authd's packets+echo crystal


torune
06.09.2005, 07:42
i was wonder that the thread might got moved and i might get warning from mod, lol, so put some addition to avoid that.

xmas echo crystals - additional dish

item_begin etcitem 5562 [echo_crystal_xmas_1] item_type=etcitem slot_bit_type={none} armor_type=none etcitem_type=none blessed=0 weight=0 default_action=action_skill_reduce consume_type=consume_type_stackable initial_count=1 maximum_count=20 soulshot_count=0 spiritshot_count=0 immediate_effect=1 price=0 default_price=1000 item_skill=[echo_crystal_xmas_1] critical_attack_skill=[none] material_type=steel crystal_type=none crystal_count=0 is_trade=1 is_drop=1 is_destruct=1 physical_damage=0 random_damage=0 weapon_type=none can_penetrate=0 critical=0 hit_modify=0 avoid_modify=0 dual_fhit_rate=0 shield_defense=0 shield_defense_rate=0 attack_range=0 effective_range=0 damage_range={} attack_speed=0 reuse_delay=0 mp_consume=0 magical_damage=0 durability=0 damaged=0 physical_defense=0 magical_defense=0 mp_bonus=0 category={} enchanted=0 html=[item_default.htm] equip_pet={0} magic_weapon=0 item_end
item_begin etcitem 5563 [echo_crystal_xmas_2] item_type=etcitem slot_bit_type={none} armor_type=none etcitem_type=none blessed=0 weight=0 default_action=action_skill_reduce consume_type=consume_type_stackable initial_count=1 maximum_count=20 soulshot_count=0 spiritshot_count=0 immediate_effect=1 price=0 default_price=1000 item_skill=[echo_crystal_xmas_2] critical_attack_skill=[none] material_type=steel crystal_type=none crystal_count=0 is_trade=1 is_drop=1 is_destruct=1 physical_damage=0 random_damage=0 weapon_type=none can_penetrate=0 critical=0 hit_modify=0 avoid_modify=0 dual_fhit_rate=0 shield_defense=0 shield_defense_rate=0 attack_range=0 effective_range=0 damage_range={} attack_speed=0 reuse_delay=0 mp_consume=0 magical_damage=0 durability=0 damaged=0 physical_defense=0 magical_defense=0 mp_bonus=0 category={} enchanted=0 html=[item_default.htm] equip_pet={0} magic_weapon=0 item_end
item_begin etcitem 5564 [echo_crystal_xmas_3] item_type=etcitem slot_bit_type={none} armor_type=none etcitem_type=none blessed=0 weight=0 default_action=action_skill_reduce consume_type=consume_type_stackable initial_count=1 maximum_count=20 soulshot_count=0 spiritshot_count=0 immediate_effect=1 price=0 default_price=1000 item_skill=[echo_crystal_xmas_3] critical_attack_skill=[none] material_type=steel crystal_type=none crystal_count=0 is_trade=1 is_drop=1 is_destruct=1 physical_damage=0 random_damage=0 weapon_type=none can_penetrate=0 critical=0 hit_modify=0 avoid_modify=0 dual_fhit_rate=0 shield_defense=0 shield_defense_rate=0 attack_range=0 effective_range=0 damage_range={} attack_speed=0 reuse_delay=0 mp_consume=0 magical_damage=0 durability=0 damaged=0 physical_defense=0 magical_defense=0 mp_bonus=0 category={} enchanted=0 html=[item_default.htm] equip_pet={0} magic_weapon=0 item_end
item_begin etcitem 5565 [echo_crystal_xmas_4] item_type=etcitem slot_bit_type={none} armor_type=none etcitem_type=none blessed=0 weight=0 default_action=action_skill_reduce consume_type=consume_type_stackable initial_count=1 maximum_count=20 soulshot_count=0 spiritshot_count=0 immediate_effect=1 price=0 default_price=1000 item_skill=[echo_crystal_xmas_4] critical_attack_skill=[none] material_type=steel crystal_type=none crystal_count=0 is_trade=1 is_drop=1 is_destruct=1 physical_damage=0 random_damage=0 weapon_type=none can_penetrate=0 critical=0 hit_modify=0 avoid_modify=0 dual_fhit_rate=0 shield_defense=0 shield_defense_rate=0 attack_range=0 effective_range=0 damage_range={} attack_speed=0 reuse_delay=0 mp_consume=0 magical_damage=0 durability=0 damaged=0 physical_defense=0 magical_defense=0 mp_bonus=0 category={} enchanted=0 html=[item_default.htm] equip_pet={0} magic_weapon=0 item_end
item_begin etcitem 5566 [echo_crystal_xmas_5] item_type=etcitem slot_bit_type={none} armor_type=none etcitem_type=none blessed=0 weight=0 default_action=action_skill_reduce consume_type=consume_type_stackable initial_count=1 maximum_count=20 soulshot_count=0 spiritshot_count=0 immediate_effect=1 price=0 default_price=1000 item_skill=[echo_crystal_xmas_5] critical_attack_skill=[none] material_type=steel crystal_type=none crystal_count=0 is_trade=1 is_drop=1 is_destruct=1 physical_damage=0 random_damage=0 weapon_type=none can_penetrate=0 critical=0 hit_modify=0 avoid_modify=0 dual_fhit_rate=0 shield_defense=0 shield_defense_rate=0 attack_range=0 effective_range=0 damage_range={} attack_speed=0 reuse_delay=0 mp_consume=0 magical_damage=0 durability=0 damaged=0 physical_defense=0 magical_defense=0 mp_bonus=0 category={} enchanted=0 html=[item_default.htm] equip_pet={0} magic_weapon=0 item_end
item_begin etcitem 5583 [echo_crystal_xmas_6] item_type=etcitem slot_bit_type={none} armor_type=none etcitem_type=none blessed=0 weight=0 default_action=action_skill_reduce consume_type=consume_type_stackable initial_count=1 maximum_count=20 soulshot_count=0 spiritshot_count=0 immediate_effect=1 price=0 default_price=1000 item_skill=[echo_crystal_xmas_6] critical_attack_skill=[none] material_type=steel crystal_type=none crystal_count=0 is_trade=1 is_drop=1 is_destruct=1 physical_damage=0 random_damage=0 weapon_type=none can_penetrate=0 critical=0 hit_modify=0 avoid_modify=0 dual_fhit_rate=0 shield_defense=0 shield_defense_rate=0 attack_range=0 effective_range=0 damage_range={} attack_speed=0 reuse_delay=0 mp_consume=0 magical_damage=0 durability=0 damaged=0 physical_defense=0 magical_defense=0 mp_bonus=0 category={} enchanted=0 html=[item_default.htm] equip_pet={0} magic_weapon=0 item_end
item_begin etcitem 5584 [echo_crystal_xmas_7] item_type=etcitem slot_bit_type={none} armor_type=none etcitem_type=none blessed=0 weight=0 default_action=action_skill_reduce consume_type=consume_type_stackable initial_count=1 maximum_count=20 soulshot_count=0 spiritshot_count=0 immediate_effect=1 price=0 default_price=1000 item_skill=[echo_crystal_xmas_7] critical_attack_skill=[none] material_type=steel crystal_type=none crystal_count=0 is_trade=1 is_drop=1 is_destruct=1 physical_damage=0 random_damage=0 weapon_type=none can_penetrate=0 critical=0 hit_modify=0 avoid_modify=0 dual_fhit_rate=0 shield_defense=0 shield_defense_rate=0 attack_range=0 effective_range=0 damage_range={} attack_speed=0 reuse_delay=0 mp_consume=0 magical_damage=0 durability=0 damaged=0 physical_defense=0 magical_defense=0 mp_bonus=0 category={} enchanted=0 html=[item_default.htm] equip_pet={0} magic_weapon=0 item_end
item_begin etcitem 5585 [echo_crystal_xmas_8] item_type=etcitem slot_bit_type={none} armor_type=none etcitem_type=none blessed=0 weight=0 default_action=action_skill_reduce consume_type=consume_type_stackable initial_count=1 maximum_count=20 soulshot_count=0 spiritshot_count=0 immediate_effect=1 price=0 default_price=1000 item_skill=[echo_crystal_xmas_8] critical_attack_skill=[none] material_type=steel crystal_type=none crystal_count=0 is_trade=1 is_drop=1 is_destruct=1 physical_damage=0 random_damage=0 weapon_type=none can_penetrate=0 critical=0 hit_modify=0 avoid_modify=0 dual_fhit_rate=0 shield_defense=0 shield_defense_rate=0 attack_range=0 effective_range=0 damage_range={} attack_speed=0 reuse_delay=0 mp_consume=0 magical_damage=0 durability=0 damaged=0 physical_defense=0 magical_defense=0 mp_bonus=0 category={} enchanted=0 html=[item_default.htm] equip_pet={0} magic_weapon=0 item_end
item_begin etcitem 5586 [echo_crystal_xmas_9] item_type=etcitem slot_bit_type={none} armor_type=none etcitem_type=none blessed=0 weight=0 default_action=action_skill_reduce consume_type=consume_type_stackable initial_count=1 maximum_count=20 soulshot_count=0 spiritshot_count=0 immediate_effect=1 price=0 default_price=1000 item_skill=[echo_crystal_xmas_9] critical_attack_skill=[none] material_type=steel crystal_type=none crystal_count=0 is_trade=1 is_drop=1 is_destruct=1 physical_damage=0 random_damage=0 weapon_type=none can_penetrate=0 critical=0 hit_modify=0 avoid_modify=0 dual_fhit_rate=0 shield_defense=0 shield_defense_rate=0 attack_range=0 effective_range=0 damage_range={} attack_speed=0 reuse_delay=0 mp_consume=0 magical_damage=0 durability=0 damaged=0 physical_defense=0 magical_defense=0 mp_bonus=0 category={} enchanted=0 html=[item_default.htm] equip_pet={0} magic_weapon=0 item_end
item_begin etcitem 5587 [echo_crystal_xmas_10] item_type=etcitem slot_bit_type={none} armor_type=none etcitem_type=none blessed=0 weight=0 default_action=action_skill_reduce consume_type=consume_type_stackable initial_count=1 maximum_count=20 soulshot_count=0 spiritshot_count=0 immediate_effect=1 price=0 default_price=1000 item_skill=[echo_crystal_xmas_10] critical_attack_skill=[none] material_type=steel crystal_type=none crystal_count=0 is_trade=1 is_drop=1 is_destruct=1 physical_damage=0 random_damage=0 weapon_type=none can_penetrate=0 critical=0 hit_modify=0 avoid_modify=0 dual_fhit_rate=0 shield_defense=0 shield_defense_rate=0 attack_range=0 effective_range=0 damage_range={} attack_speed=0 reuse_delay=0 mp_consume=0 magical_damage=0 durability=0 damaged=0 physical_defense=0 magical_defense=0 mp_bonus=0 category={} enchanted=0 html=[item_default.htm] equip_pet={0} magic_weapon=0 item_end

[echo_crystal_xmas_1] = 5562
[echo_crystal_xmas_2] = 5563
[echo_crystal_xmas_3] = 5564
[echo_crystal_xmas_4] = 5565
[echo_crystal_xmas_5] = 5566
[echo_crystal_xmas_6] = 5583
[echo_crystal_xmas_7] = 5584
[echo_crystal_xmas_8] = 5585
[echo_crystal_xmas_9] = 5586
[echo_crystal_xmas_10] = 5587

skill_begin skill_name = [echo_crystal_xmas_1] /* [圣诞回声水晶] */ skill_id = 2140 level = 1 operate_type = A2 magic_level = 46 effect = {} is_magic = 0 mp_consume2 = 0 cast_range = -1 effective_range = 600 skill_hit_time = 1.5 skill_cool_time = 0 skill_hit_cancel_time = 0.5 reuse_delay = 3 attribute = attr_none effect_point = 0 abnormal_time = 30 abnormal_lv = 1 abnormal_type = none target_type = self affect_scope = single next_action = none skill_end
skill_begin skill_name = [echo_crystal_xmas_2] /* [圣诞回声水晶] */ skill_id = 2141 level = 1 operate_type = A2 magic_level = 46 effect = {} is_magic = 0 mp_consume2 = 0 cast_range = -1 effective_range = 600 skill_hit_time = 1.5 skill_cool_time = 0 skill_hit_cancel_time = 0.5 reuse_delay = 3 attribute = attr_none effect_point = 0 abnormal_time = 30 abnormal_lv = 1 abnormal_type = none target_type = self affect_scope = single next_action = none skill_end
skill_begin skill_name = [echo_crystal_xmas_3] /* [圣诞回声水晶] */ skill_id = 2142 level = 1 operate_type = A2 magic_level = 46 effect = {} is_magic = 0 mp_consume2 = 0 cast_range = -1 effective_range = 600 skill_hit_time = 1.5 skill_cool_time = 0 skill_hit_cancel_time = 0.5 reuse_delay = 3 attribute = attr_none effect_point = 0 abnormal_time = 30 abnormal_lv = 1 abnormal_type = none target_type = self affect_scope = single next_action = none skill_end
skill_begin skill_name = [echo_crystal_xmas_4] /* [圣诞回声水晶] */ skill_id = 2143 level = 1 operate_type = A2 magic_level = 46 effect = {} is_magic = 0 mp_consume2 = 0 cast_range = -1 effective_range = 600 skill_hit_time = 1.5 skill_cool_time = 0 skill_hit_cancel_time = 0.5 reuse_delay = 3 attribute = attr_none effect_point = 0 abnormal_time = 30 abnormal_lv = 1 abnormal_type = none target_type = self affect_scope = single next_action = none skill_end
skill_begin skill_name = [echo_crystal_xmas_5] /* [圣诞回声水晶] */ skill_id = 2144 level = 1 operate_type = A2 magic_level = 46 effect = {} is_magic = 0 mp_consume2 = 0 cast_range = -1 effective_range = 600 skill_hit_time = 1.5 skill_cool_time = 0 skill_hit_cancel_time = 0.5 reuse_delay = 3 attribute = attr_none effect_point = 0 abnormal_time = 30 abnormal_lv = 1 abnormal_type = none target_type = self affect_scope = single next_action = none skill_end
skill_begin skill_name = [echo_crystal_xmas_6] /* [圣诞回声水晶] */ skill_id = 2145 level = 1 operate_type = A2 magic_level = 46 effect = {} is_magic = 0 mp_consume2 = 0 cast_range = -1 effective_range = 600 skill_hit_time = 1.5 skill_cool_time = 0 skill_hit_cancel_time = 0.5 reuse_delay = 3 attribute = attr_none effect_point = 0 abnormal_time = 30 abnormal_lv = 1 abnormal_type = none target_type = self affect_scope = single next_action = none skill_end
skill_begin skill_name = [echo_crystal_xmas_7] /* [圣诞回声水晶] */ skill_id = 2146 level = 1 operate_type = A2 magic_level = 46 effect = {} is_magic = 0 mp_consume2 = 0 cast_range = -1 effective_range = 600 skill_hit_time = 1.5 skill_cool_time = 0 skill_hit_cancel_time = 0.5 reuse_delay = 3 attribute = attr_none effect_point = 0 abnormal_time = 30 abnormal_lv = 1 abnormal_type = none target_type = self affect_scope = single next_action = none skill_end
skill_begin skill_name = [echo_crystal_xmas_8] /* [圣诞回声水晶] */ skill_id = 2147 level = 1 operate_type = A2 magic_level = 46 effect = {} is_magic = 0 mp_consume2 = 0 cast_range = -1 effective_range = 600 skill_hit_time = 1.5 skill_cool_time = 0 skill_hit_cancel_time = 0.5 reuse_delay = 3 attribute = attr_none effect_point = 0 abnormal_time = 30 abnormal_lv = 1 abnormal_type = none target_type = self affect_scope = single next_action = none skill_end
skill_begin skill_name = [echo_crystal_xmas_9] /* [圣诞回声水晶] */ skill_id = 2148 level = 1 operate_type = A2 magic_level = 46 effect = {} is_magic = 0 mp_consume2 = 0 cast_range = -1 effective_range = 600 skill_hit_time = 1.5 skill_cool_time = 0 skill_hit_cancel_time = 0.5 reuse_delay = 3 attribute = attr_none effect_point = 0 abnormal_time = 30 abnormal_lv = 1 abnormal_type = none target_type = self affect_scope = single next_action = none skill_end
skill_begin skill_name = [echo_crystal_xmas_10] /* [圣诞回声水晶] */ skill_id = 2149 level = 1 operate_type = A2 magic_level = 46 effect = {} is_magic = 0 mp_consume2 = 0 cast_range = -1 effective_range = 600 skill_hit_time = 1.5 skill_cool_time = 0 skill_hit_cancel_time = 0.5 reuse_delay = 3 attribute = attr_none effect_point = 0 abnormal_time = 30 abnormal_lv = 1 abnormal_type = none target_type = self affect_scope = single next_action = none skill_end

[echo_crystal_xmas_1] = 547841
[echo_crystal_xmas_2] = 548097
[echo_crystal_xmas_3] = 548353
[echo_crystal_xmas_4] = 548609
[echo_crystal_xmas_5] = 548865
[echo_crystal_xmas_6] = 549121
[echo_crystal_xmas_7] = 549377
[echo_crystal_xmas_8] = 549633
[echo_crystal_xmas_9] = 549889
[echo_crystal_xmas_10] = 550145

547841 -1 0 0 0 0 29 -1 1 2 0 0 -12345
548097 -1 0 0 0 0 29 -1 1 2 0 0 -12345
548353 -1 0 0 0 0 29 -1 1 2 0 0 -12345
548609 -1 0 0 0 0 29 -1 1 2 0 0 -12345
548865 -1 0 0 0 0 29 -1 1 2 0 0 -12345
549121 -1 0 0 0 0 29 -1 1 2 0 0 -12345
549377 -1 0 0 0 0 29 -1 1 2 0 0 -12345
549633 -1 0 0 0 0 29 -1 1 2 0 0 -12345
549889 -1 0 0 0 0 29 -1 1 2 0 0 -12345
550145 -1 0 0 0 0 29 -1 1 2 0 0 -12345

torune
06.09.2005, 07:45
main dish - small tool for receiving and decrypt authd packets
its really good for c4 client debugging, coz i am using it lol


E:\L2Cs\Authd\bin\Release>authd
waiting for client connection...
Connection accepted.
Incoming packet length: 50
Encrypted Packet Data:

0000: 32 00 ea c4 60 77 14 6a bc 23 14 be 05 e5 e5 71 2...`w.j.#.....q
0010: a2 f8 00 47 2f 7b bf ba 3d 81 0d 2d 41 44 78 22 ...G/{..=..-ADx"
0020: 29 b6 76 62 4a 79 fe 01 ed 06 28 b4 17 d6 14 c4 ).vbJy....(.....
0030: 60 5b `[

Decrypted packet data: [Blowfish Key>] [;'.]94-31==-%&@!^+]

0000: 00 74 6f 72 75 6e 65 00 00 00 00 00 00 00 00 39 .torune........9
0010: 39 6e 65 74 00 00 00 00 00 00 00 00 00 00 00 08 9net............
0020: 00 00 00 00 00 00 00 00 4c 74 6f 37 00 00 00 00 ........Lto7....

[Client Thread] RequestAuthLogin
[Client Thread] Client terminated the connection.


you need .net framework for this baby
and you can modify setting.ini to your own key

the example is for c3 client

in c4, the packets have some new structure,
request auth login is changed: cxxdh -> cxdhcdddd
login ok packet is also rebuilt, no idea how they did it. but its still cdddddddd

elcapo
06.09.2005, 07:59
c4 client? where i can download it? o.0

Adelaide
06.09.2005, 08:00
Nice stuff, again thanks Torune.

wton
06.09.2005, 08:32
good work and thanks Torune :D

HF
10.10.2005, 06:51
torune, please help. Tell me, what i must change (L2Auth or L2Server or another) for accept connection with new protocol?

kembl
11.08.2006, 18:12
main dish - small tool for receiving and decrypt authd packets
its really good for c4 client debugging, coz i am using it lol

E:\L2Cs\Authd\bin\Release>authd
waiting for client connection...
Connection accepted.
Incoming packet length: 50
Encrypted Packet Data:



Who can republish this tool? Or get a link to it?