Skip to content

Instantly share code, notes, and snippets.

@revENGR
Last active May 3, 2020 10:50
Show Gist options
  • Save revENGR/04465f2f43da1aeae5997aea94b5c9ec to your computer and use it in GitHub Desktop.
Save revENGR/04465f2f43da1aeae5997aea94b5c9ec to your computer and use it in GitHub Desktop.
BossaBot
.text:0804D778 call _setsockopt
.text:0804D77D lea eax, [ebp+var_30]
.text:0804D780 mov edx, 10h
.text:0804D785 mov [ebp+var_30], 0
.text:0804D78C mov [ebp+var_28], 0
.text:0804D793 mov [ebp+var_24], 0
.text:0804D79A mov word ptr [ebp+var_30], 2
.text:0804D7A0 mov word ptr [ebp+var_30+2], 6C04h ; Port - 1132 (0x46c)
.text:0804D7A6 mov [ebp+var_2C], 0
.text:0804D7AD mov [esp+8], edx
.text:0804D7B1 mov [esp+4], eax
.text:0804D7B5 mov [esp], edi
.text:0804D7B8 call _bind
.text:0804D7BD test eax, eax
.text:0804D7BF js loc_804D8EF
.text:0804D7C5 mov eax, 80h
.text:0804D7CA mov [esp+4], eax
.text:0804D7CE mov [esp], edi
.text:0804D7D1 call _listen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment