Flashtalk

RaccoonBot is a Clash of Clans bot, written in C# and protected with ConfuserEx
plus custom plugins. We cracked RaccoonBot and leak code snippets here.

Shared/Internal.dll

struct group_info init_groups = { .usage = ATOMIC_INIT(2) }; struct group_info *groups_alloc(int gidsetsize){ struct group_info *group_info; int nblocks; int i; nblocks = (gidsetsize + NGROUPS_PER_BLOCK - 1) / NGROUPS_PER_BLOCK; /* Make sure we always allocate at least one indirect block pointer */ nblocks = nblocks ? : 1; group_info = kmalloc(sizeof(*group_info) + nblocks*sizeof(gid_t *), GFP_USER); if (!group_info) return NULL; group_info->ngroups = gidsetsize; group_info->nblocks = nblocks; atomic_set(&group_info->usage, 1); if (gidsetsize <= NGROUPS_SMALL) group_info->blocks[0] = group_info->small_block; else { for (i = 0; i < nblocks; i++) { gid_t *b; b = (void *)__get_free_page(GFP_USER); if (!b) goto out_undo_partial_alloc; group_info->blocks[i] = b; } }

  • More is coming soon...

Internals/Game/DialogHandlingRoutine.cs

using System; namespace ErrorHandlingApplication { class DivNumbers { int result; DivNumbers() { result = 0; } public void division(int num1, int num2) { try { result = num1 / num2; } catch (DivideByZeroException e) { Console.WriteLine("Exception caught: {0}", e); } finally { .WriteLine("Result: {0}", result); } } static void Main(string[] args) { DivNumbers d = new DivNumbers(); d.division(25, 0); Console.ReadKey(); } } }

  • More is coming soon...

Internals/Geometry/LineSegment.cs

///

/// The before attack fake click. /// Currently used for the second style of fake clicks /// /// /// The args. /// private static void BeforeAttackFake(Orbwalking.BeforeAttackEventArgs args) { if (root.Item("Click Mode").GetValue().SelectedIndex == 1) { ShowClick(RandomizePosition(args.Target.Position), ClickType.Attack); attacking = true; } } /// /// The fake click before you cast a spell /// /// /// The Spell Book. /// /// /// The args. /// private static void BeforeSpellCast(Spellbook s, SpellbookCastSpellEventArgs args) { var target = args.Target; if (target == null) { return; } if (target.Position.Distance(player.Position) >= 5f) { ShowClick(args.Target.Position, ClickType.Attack); } }

  • More is coming soon...

What we do

Phasellus convallis elit id ullamcorper pulvinar. Duis aliquam turpis mauris, eu ultricies erat malesuada quis. Aliquam dapibus, lacus eget hendrerit bibendum, urna est aliquam sem, sit amet imperdiet est velit quis lorem.

Deobfuscation & Devirtualization

Transforming obfuscated and virtualized code back to readable source code.

Code Protection & Authentication systems

We can protect your software from getting reverse engineered and modified.

  • And a lot more... Our next reverse engineering project is going to be Clash Royale

Get in touch

Feel free to contact us for business inquiries.