I need help with making a Seafight bot

07/28/2019 15:48 ReHaVeT5252#1
I searched a lot on existing threads about making a bot for Seafight but couldn't find a good way to make progress. Some aspects that I've trouble and have questions are:
1. Even if decompile the main swf, it is obfuscated and I don't have a clue what does what.
2. Having trouble to track the packets. In Fiddler, I can't see the WebSocket, I think this is because the upgrade from HTTP to WebSocket is done in server side or somehow it circumvents fiddler, why is it like this? Also in Charles proxy I'm only able to see a stream, and regularly added json files to this stream. When I tried WireShark I finally was able to actually see the data send and received from server. But it was interesting that packets were not sent via a WebSocket, they appeared directly in TCP. How is this possible?
3. How should I compose the packets which I send to server? AFAIK the swf accept encrypted messages. Is it hard to find the encryption?
What other tools do you recommend to work with swf file?

One more less related question is, if Bigpoint decides to move to HTML5 would it be easier to make this kind of programs or not?
Thanks in advance.
08/07/2019 00:16 Uther#2
1. Well thats a part of the challenge. you should use a deobfuscator so your brain doesnt die from all the "___----__---"
2. There is no Websockets used.
3. Just look at the read and write methods from all the classes they tell you how you should format the data.
4. i doubt that seafight will get an html5 update.