saucxs / captcha-mini Goto Github PK
View Code? Open in Web Editor NEWcaptcha-mini.js是一个生成验证码的插件,使用js和canvas生成的,确保后端服务被暴力攻击,简单判断人机以及系统的安全性,体积小,功能多,支持配置。展示地址:https://www.mwcxs.top/static/testTool/demo/index.html
License: MIT License
captcha-mini.js是一个生成验证码的插件,使用js和canvas生成的,确保后端服务被暴力攻击,简单判断人机以及系统的安全性,体积小,功能多,支持配置。展示地址:https://www.mwcxs.top/static/testTool/demo/index.html
License: MIT License
目前ie11不兼容,建议对代码使用babel转一下
能否写个案例介绍一下如何利用该控件生成验证码后,验证手动填写的验证码和自动生成的验证码是否一致,谢谢!
后端传过来验证码,放到content里,但渲染出来的验证码并不是后端给的验证码
源码 114 : let deg = this.getRandom(-6, 6); 120: this.paint.rotate(deg * Math.PI / 180);
会出现部分验证码 显示超出画布 导致显示不全
如果不是后端传回的数值,接口仍然是暴露的,会不会只给人类增加难度和门槛而对机器和脚本毫无作用。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.