当前位置:首页 » 操作系统 » 验证码平台源码

验证码平台源码

发布时间: 2022-06-28 08:52:03

㈠ 验证码人工代答平台哪个好

答题平台又称远程答题平台,验证码自动识别平台;
具有对验证码自动识别,自动输入等功能;
网上有答 题 吧验证码识别平台可以去看看;

㈡ 验证码源码是什么给一个简单实用的

http://free.icpcn.com/
不是宣传网站,自己注册,去申请一个免费留言本就可以了。
PS-有很多免费空间的网站都提供免费留言本,这种是现成的,不用懂代码!只不过是没有自己特色。

㈢ 谁能推荐个手机号接短信平台,能读取源码返回值直接得到验证码和手机号的

你这个是卡商能做的!短信平台一般都是发送验证码的!

㈣ thinkphp框架的验证码源码在哪里请提供版本和对应位置谢谢

真不明白网络审核是怎么审的,这个文不对题的内容也能被采纳。
验证码的源码文件是在think里的library/think/Verify.class.php这个文件,中文验证码在里边也有的

㈤ 求一个java写的验证码源码和一个MD5加密源码 最好粘贴过来就可以直接运行的 谢谢大神么,辛苦了

importjava.security.MessageDigest;
importjava.security.NoSuchAlgorithmException;

/*
*MD5算法
*/
publicclassMd5Util
{

//全局数组
privatefinalstaticString[]strDigits={"0","1","2","3","4","5",
"6","7","8","9","a","b","c","d","e","f"};

publicMd5Util()
{
}

//返回形式为数字跟字符串
(bytebByte)
{
intiRet=bByte;
//System.out.println("iRet="+iRet);
if(iRet<0)
{
iRet+=256;
}
intiD1=iRet/16;
intiD2=iRet%16;
returnstrDigits[iD1]+strDigits[iD2];
}

//转换字节数组为16进制字串
(byte[]bByte)
{
StringBuffersBuffer=newStringBuffer();
for(inti=0;i<bByte.length;i++)
{
sBuffer.append(byteToArrayString(bByte[i]));
}
returnsBuffer.toString();
}

publicstaticStringGetMD5Code(StringstrObj)
{
StringresultString=null;
try
{
resultString=newString(strObj);
MessageDigestmd=MessageDigest.getInstance("MD5");
//md.digest()该函数返回值为存放哈希值结果的byte数组
resultString=byteToString(md.digest(strObj.getBytes()));
}catch(NoSuchAlgorithmExceptionex)
{
ex.printStackTrace();
}
returnresultString;
}

publicstaticvoidmain(String[]args)
{
System.out.println(Md5Util.GetMD5Code("99999999"));
}
}

㈥ 网站中的验证码是怎么做的,谁有源程序

源码,保存为CodePhoto.asp,
在要插入验证码图片的地方插入<img border="0" src="codephoto.asp" width="50" height="20">
生成的随机验证码存在
Session("ValidCode")中,你只要把用户输入的验证码和Session("ValidCode")比较就行了。

<%
Call Com_CreatValidCode("ValidCode")
response.write vCodes
Sub Com_CreatValidCode(pSN)
' 禁止缓存
Response.Expires = -9999
Response.AddHeader "Pragma","no-cache"
Response.AddHeader "cache-ctrol","no-cache"
Response.ContentType = "Image/BMP"

Randomize

Dim i, ii, iii

Const cOdds = 2 ' 杂点出现的机率
Const cAmount = 36 ' 文字数量
Const cCode = ""

' 颜色的数据(字符,背景)
Dim vColorData(1)
vColorData(0) = ChrB(255) & ChrB(100) & ChrB(0) ' 蓝0,绿0,红0(黑色)
vColorData(1) = ChrB(255) & ChrB(255) & ChrB(255) ' 蓝250,绿236,红211(浅蓝色)

' 随机产生字符
Dim vCode(4), vCodes
For i = 0 To 3
vCode(i) = Int(Rnd * cAmount)
vCodes = vCodes & Mid(cCode, vCode(i) + 1, 1)
Next

Session("ValidCode") = vCodes '记录入Session
' 字符的数据
Dim vNumberData(35)
vNumberData(0) = ""
vNumberData(1) = ""
vNumberData(2) = ""
vNumberData(3) = ""
vNumberData(4) = ""
vNumberData(5) = ""
vNumberData(6) = ""
vNumberData(7) = ""
vNumberData(8) = ""
vNumberData(9) = ""
vNumberData(10) = ""
vNumberData(11) = ""
vNumberData(12) = ""
vNumberData(13) = ""
vNumberData(14) = ""
vNumberData(15) = ""
vNumberData(16) = ""
vNumberData(17) = ""
vNumberData(18) = "1100000111"
vNumberData(19) = "1110000011"
vNumberData(20) = ""
vNumberData(21) = "1000111111"
vNumberData(22) = ""
vNumberData(23) = ""
vNumberData(24) = ""
vNumberData(25) = ""
vNumberData(26) = ""
vNumberData(27) = ""
vNumberData(28) = ""
vNumberData(29) = ""
vNumberData(30) = ""
vNumberData(31) = ""
vNumberData(32) = ""
vNumberData(33) = ""
vNumberData(34) = ""
vNumberData(35) = ""

' 输出图像文件头
Response.BinaryWrite ChrB(66) & ChrB(77) & ChrB(230) & ChrB(4) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) &_
ChrB(0) & ChrB(0) & ChrB(54) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(40) & ChrB(0) &_
ChrB(0) & ChrB(0) & ChrB(40) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(10) & ChrB(0) &_
ChrB(0) & ChrB(0) & ChrB(1) & ChrB(0)

' 输出图像信息头
Response.BinaryWrite ChrB(24) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(176) & ChrB(4) &_
ChrB(0) & ChrB(0) & ChrB(18) & ChrB(11) & ChrB(0) & ChrB(0) & ChrB(18) & ChrB(11) &_
ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) &_
ChrB(0) & ChrB(0)

For i = 9 To 0 Step -1 ' 历经所有行
For ii = 0 To 3 ' 历经所有字
For iii = 1 To 10 ' 历经所有像素
' 逐行、逐字、逐像素地输出图像数据
If Rnd * 100 + 1 < cOdds Then ' 随机生成杂点
Response.BinaryWrite vColorData(0)
Else
Response.BinaryWrite vColorData(Mid(vNumberData(vCode(ii)), i * 10 + iii, 1))
End If
Next
Next
Next
End Sub
%>

㈦ 网页中的短信验证源码html或者C#.net网站怎么实现做短信验证啊求方法或网站源代码,谁有源码的求一个

首先你要有短信的接口,这个你只有想办法从别的地方购买。
然后:
你先放一个文本框一个按钮填写手机号码发送短信,然后搞一个临时的库保存下数据,保存手机号码和随机验证码、状态,时间写上5分钟后的时间。这四个参数!
进入等等输入页面,5分钟验证码过期,用过的修改状态,5分钟后可以重发。
验证码就这样操作,如果有什么困难的地方可以HI网络我~~~

㈧ 能帮我写一个自动验证网页和软件验证码的易源码吗

asp验证码代码 (带刷新)
将以下代码放到一个单独的页面checkcode.asp
<%
Option Explicit
Response.buffer=true
Call Com_CreatValidCode("validateCode")

Sub Com_CreatValidCode(pSN)
' 禁止缓存
Response.Expires = -9999
Response.AddHeader "Pragma","no-cache"
Response.AddHeader "cache-ctrol","no-cache"
Response.ContentType = "Image/BMP"

Randomize

Dim i, ii, iii

Const cOdds = 2 ' 杂点出现的机率
Const cAmount = 10 ' 文字数量
Const cCode = "0123456789"

' 颜色的数据(字符,背景)
Dim vColorData(1)
vColorData(0) = ChrB(0) & ChrB(0) & ChrB(211) ' 蓝0,绿0,红0(黑色)
vColorData(1) = ChrB(255) & ChrB(255) & ChrB(255) ' 蓝250,绿236,红211(浅蓝色)

' 随机产生字符
Dim vCode(4), vCodes
For i = 0 To 3
vCode(i) = Int(Rnd * cAmount)
vCodes = vCodes & Mid(cCode, vCode(i) + 1, 1)
Next
Session(pSN) = vCodes '记录入Session
' 字符的数据
Dim vNumberData(9)
vNumberData(0) = ""
vNumberData(1) = ""
vNumberData(2) = ""
vNumberData(3) = ""
vNumberData(4) = ""
vNumberData(5) = ""
vNumberData(6) = ""
vNumberData(7) = ""
vNumberData(8) = ""
vNumberData(9) = ""
' 输出图像文件头
Response.BinaryWrite ChrB(66) & ChrB(77) & ChrB(230) & ChrB(4) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) &_
ChrB(0) & ChrB(0) & ChrB(54) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(40) & ChrB(0) &_
ChrB(0) & ChrB(0) & ChrB(40) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(10) & ChrB(0) &_
ChrB(0) & ChrB(0) & ChrB(1) & ChrB(0)

' 输出图像信息头
Response.BinaryWrite ChrB(24) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(176) & ChrB(4) &_
ChrB(0) & ChrB(0) & ChrB(18) & ChrB(11) & ChrB(0) & ChrB(0) & ChrB(18) & ChrB(11) &_
ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) &_
ChrB(0) & ChrB(0)

For i = 9 To 0 Step -1 ' 历经所有行
For ii = 0 To 3 ' 历经所有字
For iii = 1 To 10 ' 历经所有像素
' 逐行、逐字、逐像素地输出图像数据
If Rnd * 99 + 1 < cOdds Then ' 随机生成杂点
Response.BinaryWrite vColorData(0)
Else
Response.BinaryWrite vColorData(Mid(vNumberData(vCode(ii)), i * 10 + iii, 1))
End If
Next
Next
Next
End Sub
%>

需要用得页面用如下方式引用:
验证码: <input name="txt_check" type="text" size=6 maxlength=4 class="input"> <img src="checkcode.asp " alt="验证码,看不清楚?请点击刷新验证码" height="10" style="cursor : pointer;" onClick="this.src='checkcode.asp?t='+(new Date().getTime());" >

判断页面:
<%
if trim(session("validateCode")) <> trim(Request("txt_check")) then
ErrorMessage = "请输入正确的验证码"
response.write(" <script>alert('"&ErrorMessage&"');location.href='Default.asp' </script>")
response.end
end if
%>

㈨ 提供一个asp的验证码的源代码详细点!!!!十分感谢!!!

3个页面分别是:index.asp code.asp display.asp 当然,名字你可以随便取,下面我们开始了:

一. index.asp 中代码:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>验证码输框</title>
</head>

<body>
<form id="form1" name="form1" method="post" action="display.asp">
<input name="codeOK" type="text" size="6" onkeyup="value=value.replace(/[^\d]/g,'') ">
<a href="#2" title="单击刷新此验证码"> <img border=0 src="code.asp" onClick="this.src='code.asp'" /></a>
<input type="submit" name="Submit" value="提交" />
</form>
</body>
</html>

二.code.asp

<%
Option Explicit
Response.buffer=true
Call Com_CreatValidCode("GetCode")
Sub Com_CreatValidCode(pSN)
Response.Expires = -1
Response.AddHeader "Pragma","no-cache"
Response.AddHeader "cache-ctrol","no-cache"
Response.ContentType = "Image/bmp"
Randomize
Dim i, ii, iii
Const cOdds = 6 ' 杂点出现的机率
Const cAmount = 10 ' 文字数量
Const cCode = "0123456789abcd"
' 颜色的数据(字符,背景)
Dim vColorData(1)
vColorData(0) = ChrB(0) & ChrB(0) & ChrB(255) ' 蓝0,绿0,红0(黑色)
vColorData(1) = ChrB(255) & ChrB(255) & ChrB(255) ' 蓝250,绿236,红211(浅蓝色)
' 随机产生字符
Dim vCode(4), vCodes
For i = 0 To 3
vCode(i) = Int(Rnd * cAmount)
vCodes = vCodes & Mid(cCode, vCode(i) + 1, 1)
Next
Session(pSN) = vCodes '记录入Session
' 字符的数据
Dim vNumberData(9)
vNumberData(0) = ""
vNumberData(1) = ""
vNumberData(2) = ""
vNumberData(3) = ""
vNumberData(4) = ""
vNumberData(5) = ""
vNumberData(6) = ""
vNumberData(7) = ""
vNumberData(8) = ""
vNumberData(9) = ""
' 输出图像文件头
Response.BinaryWrite ChrB(66) & ChrB(77) & ChrB(230) & ChrB(4) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) &_
ChrB(0) & ChrB(0) & ChrB(54) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(40) & ChrB(0) &_
ChrB(0) & ChrB(0) & ChrB(40) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(10) & ChrB(0) &_
ChrB(0) & ChrB(0) & ChrB(1) & ChrB(0)
' 输出图像信息头
Response.BinaryWrite ChrB(24) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(176) & ChrB(4) &_
ChrB(0) & ChrB(0) & ChrB(18) & ChrB(11) & ChrB(0) & ChrB(0) & ChrB(18) & ChrB(11) &_
ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) &_
ChrB(0) & ChrB(0)
For i = 9 To 0 Step -1 ' 历经所有行
For ii = 0 To 3 ' 历经所有字
For iii = 1 To 10 ' 历经所有像素
' 逐行、逐字、逐像素地输出图像数据
If Rnd * 99 + 1 < cOdds Then ' 随机生成杂点
Response.BinaryWrite vColorData(0)
Else
Response.BinaryWrite vColorData(Mid(vNumberData(vCode(ii)), i * 10 + iii, 1))
End If
Next
Next
Next
End Sub
%>

三.display.asp

<%
session("code")=Session("GetCode")
if int(session("code"))<>int(trim(request.form("codeOK"))) then
response.write "<script>alert('验证码错误!');history.go(-1); </script>"
response.end
else
response.write "<script>alert('正确!');history.go(-1); </script>"
response.end
end if

%>

㈩ thinkphp的验证码源码放在哪个目录求解,我没找到

实现验证码的代码是:

publicfunctionverify(){
//$type=isset($_GET['type'])?$_GET['type']:'gif';
import("ORG.Util.Image");
Image::buildImageVerify();
}

用到的其中的Image类在.class.php

热点内容
途观与探岳哪个配置高 发布:2024-11-15 23:30:39 浏览:517
dhcp服务器如何更新ip地址 发布:2024-11-15 23:18:40 浏览:125
ai清除缓存 发布:2024-11-15 23:12:38 浏览:602
电脑版我的世界如何退出服务器 发布:2024-11-15 23:00:39 浏览:312
哪里有存储器零售商 发布:2024-11-15 22:55:42 浏览:46
手机如何设置锁屏密码个性 发布:2024-11-15 22:44:08 浏览:417
mysql导入存储过程 发布:2024-11-15 22:43:18 浏览:638
net连接数据库代码 发布:2024-11-15 22:40:16 浏览:61
编程计算nk 发布:2024-11-15 22:35:07 浏览:833
数据库第一章 发布:2024-11-15 22:27:07 浏览:593