时间: 2021-07-31 作者:daque
运用扩充保存进程 xp_regread 和 xp_regwrite 来考察备案表。举例证明:<%dim cnndim rsdim strsqlset cnn = server.createobject("adodb.connection")cnn.open "provider=sqloledb;data source=.;initial catalog=master;user id=sa;password=;"strsql = "xp_regread 'hkey_local_machine'," &_ 'software\microsoft\windows\currentversion','commonfilesdir'"set rs = cnn.execute(strsql)response.write "common files path : " & rs("data")rs.closeset rs = nothingcnn.closeset cnn = nothing%>