Open landv opened 1 year ago
dim encryption set encryption = Server.CreateObject("UtlAESEncryptDll.AESEncryption") 'conn_str=encryption.Decrypt(Application("conn_str")) & encryption.Decrypt(trim(session("dbname"))) & ";" 'conn_str="Provider = Sqloledb; User ID = landv ; Password = fuck; Initial Catalog = ecrs; Data Source =127.0.0.1;" conn_str=Application("conn_str") conn.Open conn_str
<SCRIPT LANGUAGE=VBScript RUNAT=Server> Sub Application_OnStart ' 全局连接字符串 Application("conn_str")="Provider = Sqloledb; User ID = landv ; Password = fuck; Initial Catalog = ecrs; Data Source =127.0.0.1;" Application("cro_conn_str")="Provider = Sqloledb; User ID = landv ; Password = fuck; Initial Catalog = KXI; Data Source =127.0.0.1;" '应用系统根目录 Application("vroot") ="/ecrs/" Application("dbname") ="ecrs" Application("com_conn_str")="Provider = Sqloledb; User ID = landv ; Password = fuck; Initial Catalog = KXI; Data Source =127.0.0.1;" Application("crs_conn_str")="Provider = Sqloledb; User ID = landv ; Password = fuck; Initial Catalog = ecrs; Data Source =127.0.0.1;" 'server=.;Initial Catalog=test;user id=用户名;pwd=密码 Application("QuickReportUrl")="http://localhost/Report" session.Timeout="40" End Sub </SCRIPT>
# 基于 COM 的 AES 加密组件部署文档 ## 用途 本 COM 组件旨在使基于 ASP 技术的 ECRS 项目能进行 AES 加密、解密操作。 ## 要求 * 已部署 ECRS 项目,并且应用程序池将“启用32位应用程序”设为了 `True` * .NET Framework >= 4.6 ## 部署 1. 将 UtlAESEncryptDll.dll 放置到任意目录,并将 gacutil.zip 解压到同一目录下 1. 以**管理员身份运行**命令提示符(cmd),进入 UtlAESEncryptDll.dll 所在目录 1. 将下列代码粘贴到命令提示符中 ```cmd set PATH="%SystemRoot%\Microsoft.NET\Framework\v4.0.30319" regasm UtlAESEncryptDll.dll gacutil /i UtlAESEncryptDll.dll
set PATH="%SystemRoot%\Microsoft.NET\Framework\v4.0.30319"
regasm UtlAESEncryptDll.dll /unregister gacutil /u UtlAESEncryptDll.dll
Conn.asp 破除加密模式
global.asa无加密模式
昆仑新AES加密部署文档
卸载
regasm UtlAESEncryptDll.dll /unregister gacutil /u UtlAESEncryptDll.dll