社区
ASP
帖子详情
■□■□■ 怎么把asp代码加密??? 急问,200分相送
AceZLB
2003-10-19 06:59:00
前贴:
http://expert.csdn.net/Expert/TopicView1.asp?id=2371535
急啊,谢啦!
...全文
90
13
打赏
收藏
■□■□■ 怎么把asp代码加密??? 急问,200分相送
前贴: http://expert.csdn.net/Expert/TopicView1.asp?id=2371535 急啊,谢啦!
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
13 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
okdw
2003-10-21
打赏
举报
回复
写一个dll,反正语句都差不多,做成组件
萝卜波
2003-10-21
打赏
举报
回复
DLL有两种,一种是标准DLL,另一种是ActiveX DLL。只有ActiveX DLL才能进行注册,才能被ASP调用,而标准的DLL可以被VB等工具调用,但无法注册,也不能被ASP直接调用。
要在VC中建立工程时选择ATL COM AppWizard,选择DLL方式,这样可以建立ActiveX DLL。生成工程后,在ClassView窗口的Classes上右击,从菜单上选择New ATL Object,然后选择添加ActiveX Server Component,你需要为该类添加你自己的方法和属性。编译后生成的DLL经过注册就可以被ASP调用,
萝卜波
2003-10-21
打赏
举报
回复
用vb封装 编译成dll
hjwzr
2003-10-21
打赏
举报
回复
在DOS中运行screnc命令
freespace520
2003-10-21
打赏
举报
回复
up
qdubit
2003-10-21
打赏
举报
回复
up一下吧!
Lsquirrel
2003-10-21
打赏
举报
回复
写成.dll吧.封装起来问题就少了.各种加密(对asp的)几乎都能被破开.建议使用.net,这个问题就更少了
mjwgtm
2003-10-21
打赏
举报
回复
封装成.dll
qunluo
2003-10-19
打赏
举报
回复
分怎么这样多!倒分吗?呵!!!
上贴已经给你回了!
zhouguoyao
2003-10-19
打赏
举报
回复
<!--
'####################################################################
'# 加密
'#
'# 版权所有: 飞鸟设计工作室
'#
'# 制作人 : 周国尧 QQ:14322081 EMIAL:zhouguoyao@sohu.com
'#
'#####################################################################
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0030)http://918.cn.gs/net/jiemi.htm -->
<HTML><HEAD><TITLE>网页加密解密</TITLE>
<SCRIPT language=javascript>
if(self!=top){top.location=self.location;}
</SCRIPT>
<STYLE type=text/css>BODY {
COLOR: #c0c0c0; font-face: 宋体
}
TD {
FONT-SIZE: 10pt
}
A:link {
COLOR: #c0c0c0; TEXT-DECORATION: none
}
A:visited {
COLOR: #c0c0c0; TEXT-DECORATION: none
}
A:hover {
COLOR: #888888; TEXT-DECORATION: none
}
</STYLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<SCRIPT language=javascript>
<!-- Begin
function viewSource() {
document.getSource.view.value="读取中...";
setTimeout("document.getSource.view.value='查看'",6000);
window.location.href= "view-source:" + document.getSource.url.value;
return false;
}
// End -->
</SCRIPT>
<META content="MSHTML 6.00.2462.0" name=GENERATOR></HEAD>
<BODY oncontextmenu=self.event.returnValue=false bgColor=#444444>
<CENTER>
<FORM name=getSource onsubmit="return viewSource();"><FONT size=2>在下面输入网址查看源文件
</FONT><BR><INPUT value=http:// name=url><BR><INPUT type=submit value=查看 name=view> </FORM>
<SCRIPT language=JavaScript>
<!--
var i=0;
var ie=(document.all)?1:0;
var ns=(document.layers)?1:0;
function initStyleElements() /* Styles for Buttons Init */
{
var c = document.pad;
if (ie)
{
//c.text.style.backgroundColor="#DDDDDD";
c.compileIt.style.backgroundColor="#C0C0A8";
c.compileIt.style.cursor="hand";
c.select.style.backgroundColor="#C0C0A8";
c.select.style.cursor="hand";
c.view.style.backgroundColor="#C0C0A8";
c.view.style.cursor="hand";
c.retur.style.backgroundColor="#C0C0A8";
c.retur.style.cursor="hand";
c.clear.style.backgroundColor="#C0C0A8";
c.clear.style.cursor="hand";
}
else return;
}
/* Buttons Enlightment of "Compilation" panel */
function LightOn(what)
{
if (ie) what.style.backgroundColor = '#E0E0D0';
else return;
}
function FocusOn(what)
{
if (ie) what.style.backgroundColor = '#EBEBEB';
else return;
}
function LightOut(what)
{
if (ie) what.style.backgroundColor = '#C0C0A8';
else return;
}
function FocusOff(what)
{
if (ie) what.style.backgroundColor = '#DDDDDD';
else return;
}
/* Buttons Enlightment of "Compilation" panel */
function generate() /* Generation of "Compilation" */
{
code = document.pad.text.value;
if (code)
{
document.pad.text.value='正在加密 请稍等.......';
setTimeout("compile()",1000);
}
else alert('请先把要加密的代码复制到此框中')
}
function compile() /* The "Compilation" */
{
document.pad.text.value='';
compilation=escape(code);
document.pad.text.value="<script>\n<!--\ndocument.write(unescape(\""+compilation+"\"));\n//-->\n<\/script>";
i++;
if (i=1) alert("代码已编译1次!");
else alert("代码已编译"+i+"次!");
}
function selectCode() /* Selecting "Compilation" for Copying */
{
if(document.pad.text.value.length>0)
{
document.pad.text.focus();
document.pad.text.select();
}
else alert('无任何内容被选中!')
}
function preview() /* Preview for the "Compilation" */
{
if(document.pad.text.value.length>0)
{
pr=window.open("","Preview","scrollbars=1,menubar=1,status=1,width=700,height=320,left=50,top=110");
pr.document.write(document.pad.text.value);
}
else alert('无任何内容可供预览!')
}
function uncompile() /* Decompiling a "Compilation" */
{
if (document.pad.text.value.length>0)
{
source=unescape(document.pad.text.value);
document.pad.text.value=""+source+"";
}
else alert('请把要还原的代码复制到此框中!')
}
// -->
</SCRIPT>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD align=middle>将要加密或解密的代码复制到下面文本框 </TD></TR>
<TR>
<TD width="100%">
<FORM name=pad method=post align="center">
<DIV align=center><TEXTAREA style="WIDTH: 95%; BACKGROUND-COLOR: #ebebeb" name=text rows=20 cols=58></TEXTAREA>
<BR><INPUT onmouseover=LightOn(this) onclick=generate() onmouseout=LightOut(this) type=button value=加密 name=compileIt>
<INPUT onmouseover=LightOn(this) onclick=selectCode() onmouseout=LightOut(this) type=button value=选中 name=select>
<INPUT onmouseover=LightOn(this) onclick=preview() onmouseout=LightOut(this) type=button value=预览 name=view>
<INPUT onmouseover=LightOn(this) onclick=uncompile() onmouseout=LightOut(this) type=button value=还原 name=retur>
<INPUT onmouseover=LightOn(this) onmouseout=LightOut(this) type=reset value=清除 name=clear>
</DIV></FORM></TD></TR></TBODY></TABLE></CENTER></BODY></HTML>
Jaron
2003-10-19
打赏
举报
回复
用百度搜索 asp2dll 和 script encoder
Jaron
2003-10-19
打赏
举报
回复
Script Encoder 有反编码工具,懂的人很容易就能反编码.
建议将代码写成组件的形式.如用vb编写activex dll
http://sitemanager.cnzone.net/tech/22/2003-10/20031009124949-101201.html
http://sitemanager.cnzone.net/tech/22/2002-09/20020926000000-100515.html
http://sitemanager.cnzone.net/tech/22/2003-05/20030508152020-100943.html
另外,还可以用一个叫asp2dll的工具来帮你来完成大部分的代码.
angelheavens
2003-10-19
打赏
举报
回复
http://www.microsoft.com/downloads/details.aspx?displaylang=en&familyid=e7877f67-c447-4873-b1b0-21f0626a6329
ASP
28,391
社区成员
357,060
社区内容
发帖
与我相关
我的任务
ASP
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
复制链接
扫一扫
分享
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章