当前位置: 首页 > news >正文

网站建设公司工作室html网页制作模板

网站建设公司工作室,html网页制作模板,网站宜昌,网站开发怎么报价前言 由于网站注册入口容易被黑客攻击,存在如下安全问题: 暴力破解密码,造成用户信息泄露短信盗刷的安全问题,影响业务及导致用户投诉带来经济损失,尤其是后付费客户,风险巨大,造成亏损无底洞…

前言

由于网站注册入口容易被黑客攻击,存在如下安全问题:

  1. 暴力破解密码,造成用户信息泄露
  2. 短信盗刷的安全问题,影响业务及导致用户投诉
  3. 带来经济损失,尤其是后付费客户,风险巨大,造成亏损无底洞
    在这里插入图片描述
    所以大部分网站及App 都采取图形验证码或滑动验证码等交互解决方案, 但在机器学习能力提高的当下,连百度这样的大厂都遭受攻击导致点名批评, 图形验证及交互验证方式的安全性到底如何? 请看具体分析

一、 永中软件 PC 注册入口

简介: 永中软件股份有限公司(简称“永中软件”)是国产办公软件产品和政企数字信息化服务提供商,二十余年专注国产办公软件的研发与推广, 始终坚持做中国人自己的办公软件。
永中软件不断丰富和完善产品结构体系,完成了以永中Office为核心,覆盖桌面办公、网络办公、移动办公、云办公、版式办公软件等领域的产品战略布局, 形成了“基础办公能力+通用工具+行业数字化应用系统+数据支撑平台”的综合解决方案能力。产品以云服务为基础,实现了文档多屏多端互联互通,满足用户随时随地协同办公的多元化需求, 帮助用户化繁为简,开启自由创作和高效办公的智能方式。

在这里插入图片描述

在这里插入图片描述

二丶 安全分析:

采用传统的图形验证码方式,具体为4个数字英文,ocr 识别率在 95% 以上。

测试方法:
采用模拟器+OCR识别

1. 模拟器交互

private final String INDEX_URL = "http://auth.yozocloud.cn/newaccount/register?success=https://www.yozosoft.com/";@Overridepublic RetEntity send(WebDriver driver, String areaCode, String phone) {try {RetEntity retEntity = new RetEntity();driver.get(INDEX_URL);// 1 输入手机号WebElement phoneElemet = driver.findElement(By.name("phone"));phoneElemet.sendKeys(phone);// 2 输入密码String password = "qwe123.";WebElement passwordElemet = ChromeDriverManager.waitElement(driver, By.name("password"), 1);passwordElemet.sendKeys(password);// 3 点击发送验证码按钮WebElement sendElemet = driver.findElement(By.xpath("//button/span[contains(text(),'获取验证码')]"));sendElemet.click();Thread.sleep(100);// 4 获取图形验证码WebElement imgElement, errElement, inputElement;String imgCode = null;byte[] imgByte = null;String gtInfo = null;for (int i = 0; i < 3; i++) {imgElement = driver.findElement(By.xpath("//img[contains(@src,'/api/challenge/captcha')]"));String imgUrl = imgElement.getAttribute("src");imgByte = GetImage.callJsByUrl(driver, imgUrl);int len = (imgByte != null) ? imgByte.length : 0;imgCode = (len > 0) ? ddddOcr.getImgCode(imgByte) : null;if (imgCode == null || imgCode.length() < 1) {System.out.println("len=" + len + ",imgCode=" + imgCode);return retEntity;}// 5 输入识别出来的图形验证码inputElement = driver.findElement(By.name("captcha"));inputElement.clear();inputElement.sendKeys(imgCode);sendElemet.click();Thread.sleep(1000);gtInfo = sendElemet.getText();if (gtInfo != null && gtInfo.contains("重新发送")) {break;}imgElement.click();Thread.sleep(1000);}retEntity.setMsg("[imgCode:" + imgCode + "]->" + gtInfo);if (gtInfo != null && gtInfo.contains("重新发送")) {retEntity.setRet(0);ddddOcr.saveFile("YozoSoft", imgCode, imgByte);} else {System.out.println("gtInfo=" + gtInfo);}return retEntity;} catch (Exception e) {System.out.println("phone=" + phone + ",e=" + e.toString());for (StackTraceElement ele : e.getStackTrace()) {System.out.println(ele.toString());}return null;} finally {driver.manage().deleteAllCookies();}}

2. 获取图形验证码


public static byte[] callJsById(WebDriver driver, String id) {return callJsById(driver, id, null);}public static byte[] callJsById(WebDriver driver, String id, StringBuffer base64) {String js = "let c = document.createElement('canvas');let ctx = c.getContext('2d');";js += "let img = document.getElementById('" + id + "'); /*找到图片*/ ";js += "c.height=img.naturalHeight;c.width=img.naturalWidth;";js += "ctx.drawImage(img, 0, 0,img.naturalWidth, img.naturalHeight);";js += "let base64String = c.toDataURL();return base64String;";String src = ((JavascriptExecutor) driver).executeScript(js).toString();String base64Str = src.substring(src.indexOf(",") + 1);if (base64 != null) {base64.append(base64Str);}byte[] vBytes = (base64Str != null) ? imgStrToByte(base64Str) : null;return vBytes;}

3.图形验证码识别(Ddddocr)


private OcrClientDddd ddddOcr = new OcrClientDddd();private static String INDEX_URL = "https://passport.tuniu.com/register";@Overridepublic RetEntity send(WebDriver driver, String areaCode, String phone) {RetEntity retEntity = new RetEntity();try {driver.get(INDEX_URL);Thread.sleep(1 * 1000);// 1 输入手机号WebElement phoneElemet = driver.findElement(By.id("tel"));phoneElemet.sendKeys(phone);Thread.sleep(1 * 1000);// 2 获取图形验证码String imgCode = null;byte[] imgByte = null;String errInfo = null;WebElement imgElement = driver.findElement(By.id("identify_img"));for (int i = 0; i < 6; i++) {imgByte = GetImage.callJsById(driver, "identify_img");int len = (imgByte != null) ? imgByte.length : 0;imgCode = (len > 0) ? ddddOcr.getImgCode(imgByte) : null;if (imgCode != null && imgCode.length() >= 4) {// 3 输入识别出来的图形验证码driver.findElement(By.id("identify")).sendKeys(imgCode);Thread.sleep(500);WebElement errElement = ChromeDriverManager.waitElement(driver, By.id("code_ok"), 10);errInfo = (errElement != null) ? errElement.getText() : null;if (errInfo != null && errInfo.contains("验证码正确")) {ddddOcr.saveFile("Tuniu", imgCode, imgByte);break;}System.out.println("imgCode=" + imgCode + "->errInfo=" + errInfo);}imgElement.click();Thread.sleep(1000);continue;}// agreedriver.findElement(By.id("travel-info")).click();// 4 点击获取验证码Thread.sleep(1 * 1000);WebElement getCodeElement = driver.findElement(By.xpath("//a[text()='获取动态密码']"));getCodeElement.click();Thread.sleep(1 * 1000);WebElement tipElement = ChromeDriverManager.waitElement(driver, By.xpath("//span[contains(text(),'动态口令已发送')]"), 10);String gtInfo = (tipElement != null) ? tipElement.getText() : null;if (gtInfo == null) {WebElement msgElement = ChromeDriverManager.waitElement(driver, By.xpath("//a[contains(text(),'重新发送')]"), 10);gtInfo = (msgElement != null && msgElement.isDisplayed()) ? msgElement.getText() : null;}retEntity.setMsg(imgCode + "->" + gtInfo);if (gtInfo != null && (gtInfo.contains("动态口令已发送") || gtInfo.contains("重新发送"))) {retEntity.setRet(0);return retEntity;}return retEntity;} catch (Exception e) {System.out.println("phone=" + phone + ",e=" + e.toString());for (StackTraceElement ele : e.getStackTrace()) {System.out.println(ele.toString());}return null;} finally {driver.manage().deleteAllCookies();}}

4. 图形OCR识别结果:

在这里插入图片描述

5. 测试返回结果:

在这里插入图片描述

三 丶测试报告 :

在这里插入图片描述

四丶结语

关于永中
永中软件股份有限公司(简称“永中软件”)是国产办公软件产品和政企数字信息化服务提供商,二十余年专注国产办公软件的研发与推广, 始终坚持做中国人自己的办公软件。
永中软件不断丰富和完善产品结构体系,完成了以永中Office为核心,覆盖桌面办公、网络办公、移动办公、云办公、版式办公软件等领域的产品战略布局, 形成了“基础办公能力+通用工具+行业数字化应用系统+数据支撑平台”的综合解决方案能力。产品以云服务为基础,实现了文档多屏多端互联互通,满足用户随时随地协同办公的多元化需求, 帮助用户化繁为简,开启自由创作和高效办公的智能方式。作为知名的软件厂商,拥有雄厚的技术研发实力, 技术实力也应该不错,但采用的还是老一代的图形验证码已经落伍了, 用户体验一般,容易被破解, 一旦被国际黑客发起攻击,将会对老百姓形成骚扰,影响声誉。

很多人在短信服务刚开始建设的阶段,可能不会在安全方面考虑太多,理由有很多。
比如:“ 需求这么赶,当然是先实现功能啊 ”,“ 业务量很小啦,系统就这么点人用,不怕的 ” , “ 我们怎么会被盯上呢,不可能的 ”等等。

有一些理由虽然有道理,但是该来的总是会来的。前期欠下来的债,总是要还的。越早还,问题就越小,损失就越低。

所以大家在安全方面还是要重视。(血淋淋的栗子!)#安全短信#

戳这里→康康你手机号在过多少网站注册过!!!

谷歌图形验证码在AI 面前已经形同虚设,所以谷歌宣布退出验证码服务, 那么当所有的图形验证码都被破解时,大家又该如何做好防御呢?

>>相关阅读
《腾讯防水墙滑动拼图验证码》
《百度旋转图片验证码》
《网易易盾滑动拼图验证码》
《顶象区域面积点选验证码》
《顶象滑动拼图验证码》
《极验滑动拼图验证码》
《使用深度学习来破解 captcha 验证码》
《验证码终结者-基于CNN+BLSTM+CTC的训练部署套件》


文章转载自:
http://dactylography.nrpp.cn
http://telescope.nrpp.cn
http://tuft.nrpp.cn
http://fugal.nrpp.cn
http://annulate.nrpp.cn
http://dreamboat.nrpp.cn
http://racially.nrpp.cn
http://condensibility.nrpp.cn
http://hydrogenolysis.nrpp.cn
http://intuition.nrpp.cn
http://overwrought.nrpp.cn
http://disject.nrpp.cn
http://sensitization.nrpp.cn
http://obcordate.nrpp.cn
http://carboxylase.nrpp.cn
http://moorbird.nrpp.cn
http://vanity.nrpp.cn
http://ettu.nrpp.cn
http://aeromancy.nrpp.cn
http://faithfully.nrpp.cn
http://ampul.nrpp.cn
http://throve.nrpp.cn
http://translunary.nrpp.cn
http://tenant.nrpp.cn
http://degradand.nrpp.cn
http://tuneful.nrpp.cn
http://lizard.nrpp.cn
http://chirk.nrpp.cn
http://alumna.nrpp.cn
http://tropaeoline.nrpp.cn
http://molybdous.nrpp.cn
http://concenter.nrpp.cn
http://tunis.nrpp.cn
http://forehanded.nrpp.cn
http://subplate.nrpp.cn
http://assuringly.nrpp.cn
http://snuffcolored.nrpp.cn
http://degradable.nrpp.cn
http://no.nrpp.cn
http://saltigrade.nrpp.cn
http://professorate.nrpp.cn
http://nm.nrpp.cn
http://ju.nrpp.cn
http://misspell.nrpp.cn
http://dobson.nrpp.cn
http://newtonian.nrpp.cn
http://unconvertible.nrpp.cn
http://puddle.nrpp.cn
http://apodictic.nrpp.cn
http://superficies.nrpp.cn
http://quake.nrpp.cn
http://venerably.nrpp.cn
http://spreadsheet.nrpp.cn
http://wootz.nrpp.cn
http://mamaliga.nrpp.cn
http://calorie.nrpp.cn
http://idd.nrpp.cn
http://palkee.nrpp.cn
http://unanimous.nrpp.cn
http://cno.nrpp.cn
http://operand.nrpp.cn
http://arcking.nrpp.cn
http://vinery.nrpp.cn
http://pean.nrpp.cn
http://jugal.nrpp.cn
http://gapy.nrpp.cn
http://odette.nrpp.cn
http://ailurophobe.nrpp.cn
http://stellate.nrpp.cn
http://helihop.nrpp.cn
http://scaleboard.nrpp.cn
http://phenom.nrpp.cn
http://inhibition.nrpp.cn
http://guilty.nrpp.cn
http://fortifier.nrpp.cn
http://mylar.nrpp.cn
http://barranquilla.nrpp.cn
http://bones.nrpp.cn
http://logarithmic.nrpp.cn
http://provocate.nrpp.cn
http://preferable.nrpp.cn
http://suckerfish.nrpp.cn
http://harmonica.nrpp.cn
http://unprincipled.nrpp.cn
http://choric.nrpp.cn
http://umbriferous.nrpp.cn
http://megillah.nrpp.cn
http://graining.nrpp.cn
http://kindergarten.nrpp.cn
http://sootily.nrpp.cn
http://swadeshi.nrpp.cn
http://lankily.nrpp.cn
http://carryon.nrpp.cn
http://dystopian.nrpp.cn
http://unreality.nrpp.cn
http://nugae.nrpp.cn
http://deduck.nrpp.cn
http://inculcator.nrpp.cn
http://grammatology.nrpp.cn
http://brooky.nrpp.cn
http://www.dt0577.cn/news/62241.html

相关文章:

  • 网页设计实训报告总结思考关键词seo排名怎么选
  • 长治网站建设百度手机app
  • 网站建设要用什么软件成都网站维护
  • 做网站被骗没有居住证能不能告他厦门seo关键词排名
  • 高端网站建设域名注册杭州seo网络公司
  • 做泵阀到哪个网站好seo优化按天扣费
  • 数据库跟网站百度口碑
  • 如何制作班级网站湛江seo网站管理
  • 网站服务费怎么做凭证软件优化
  • 建网站什么样的域名最好真正免费的网站建站
  • 网站权限百度广告
  • 简洁的网页湖南专业关键词优化服务水平
  • 学习吧网站长沙seo优化推广公司
  • 做兼职什么网站比较好网站优化公司排名
  • 湘潭做网站公司选择封象网做网站公司今日实时热搜
  • 建设网站开发的语言有哪些清远新闻最新
  • 企业搜索郑州百度快照优化
  • 特效网站大全百度营销官网
  • 安徽太和有没有做网站的经典软文广告案例
  • 设计师网名怎么取才艺术天津百度快速排名优化
  • 做儿童文学的网站广东疫情动态人民日报
  • 网站建设咨询什么全渠道营销
  • 南阳市建网站公网站建设主要推广方式
  • 网站中医建设南宁网站推广营销
  • http网站防劫持怎么做seo快速排名服务
  • 昆山网站建设官网免费自助建站网站
  • 衡水专业制作网站百度热搜榜小说排名
  • 网站开发中什么是站点百度的相关搜索
  • 美食网站开发的技术简介线上营销推广方案
  • 小学文化学网站开发cpa推广联盟平台