[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/jp/ - Otaku Culture

Search:


View post   

>> No.6729047 [View]
File: 232 KB, 690x540, 020a4140e9042575fe897173cb6ea305577c4da4.jpg [View same] [iqdb] [saucenao] [google]
6729047

Hi.
Recently some bad jokers written a little code, which is crashing soku's server (and even created thread with it's source on some board). Script is quite primitive - it just generate and send random trash to host's ip. Crashing is caused by crooked behaviour in this code:

00415A48 mov edx,dword ptr [ebp]
00415A4B cmp edx,eax
00415A4D jle 00415A71
00415A4F lea ecx,[ebp+6]
00415A52 mov ebx,dword ptr [edi+40h]
00415A55 cmp ebx,dword ptr [ecx+2]
00415A58 jne 00415A67
00415A5A mov bx,word ptr [edi+3Eh]
00415A5E cmp bx,word ptr [ecx]
00415A61 je 00415B2E
00415A67 add eax,1
00415A6A add ecx,10h
00415A6D cmp eax,edx
00415A6F jl 00415A52
00415A71 mov eax,dword ptr [edi+3Ch]

This code enumerate and checks IP:Port paires in packets, that are marked as the begining of spectating. Because packets often (and maybe always) are not sent by the server, but by the second player or other spectators, the IP addresses from where the information about the match is taken from it. Number of the iterations and its value is also taken from this packet. In a specific set of circumstances these values are causing Access Violation, in other words, a sort of buffer overflow (because number of iterations is too high and some other trifles).

>> No.5288425 [View]
File: 232 KB, 690x540, 054d54d70e2f8801a606717675e8f862.jpg [View same] [iqdb] [saucenao] [google]
5288425

>>5288377

Why would you want that when SakuyaxRemilia is so much better?

Navigation
View posts[+24][+48][+96]