showmount.d

来自「very comprehensive example, windows WD」· D 代码 · 共 64 行

D
64
字号
# UDP mountd call.  Use as input to find mount daemons and avoid portmap.# Useful proc numbers are 2, 5, and 6.# UDP-scan around between 600-800 to find most mount daemons.# Using this with "2", plugged into "nc -u -v -w 2 victim X-Y" will# directly scan *and* dump the current exports when mountd is hit.# combine stdout *and* stderr thru "strings" or something to clean it up000	# XID: 4 trash bytes001002003000	# CALL: 0000000000000	# RPC version: 2000000002000	# mount: 1000050010x860xa5000	# mount version: 1000000001000	# procedure number -- put what you need here:000	#	2 = dump  [showmount -e]000	#	5 = exportlist [showmount -a]xxx	# "sed s/xxx/$1/ | data -g | nc ..."  or some such...000	# port: junk000000000000	# auth trash000000000000	# auth trash000000000000	# auth trash000000000000	# extra auth trash?  probably not needed000000000# that's it!

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?