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

建设招聘网站需要哪些资质app 外包开发公司

建设招聘网站需要哪些资质,app 外包开发公司,太平洋手机,个人房源网前言 由于网站注册入口容易被黑客攻击#xff0c;存在如下安全问题#xff1a; 暴力破解密码#xff0c;造成用户信息泄露短信盗刷的安全问题#xff0c;影响业务及导致用户投诉带来经济损失#xff0c;尤其是后付费客户#xff0c;风险巨大#xff0c;造成亏损无底洞…前言 由于网站注册入口容易被黑客攻击存在如下安全问题 暴力破解密码造成用户信息泄露短信盗刷的安全问题影响业务及导致用户投诉带来经济损失尤其是后付费客户风险巨大造成亏损无底洞 所以大部分网站及App 都采取图形验证码或滑动验证码等交互解决方案 但在机器学习能力提高的当下连百度这样的大厂都遭受攻击导致点名批评 图形验证及交互验证方式的安全性到底如何 请看具体分析 一、 中国留学网PC 注册入口 简介教育部中国留学服务中心以下简称“中心”成立于1989年3月31日是教育部直属事业单位以事业单位法人注册主要从事出国留学、留学回国、来华留学以及教育国际交流与合作等领域的相关服务。 二丶 安全分析 采用传统的图形验证码方式具体为5个英文字母,ocr 识别率在 95% 以上。   测试方法 采用模拟器OCR识别 1. 模拟器交互 private static String INDEX_URL https://lxyzt.cscse.edu.cn/personalRegister;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 ChromeDriverManager.waitElement(driver, By.xpath(//input[placeholder建议使用常用手机号]), 1);phoneElemet.sendKeys(phone);String imgCode null;byte[] imgByte null;for (int i 0; i 3; i) {// 2 获取图形验证码WebElement imgElement driver.findElement(By.xpath(//img[classgetCaptcha]));imgElement.click();Thread.sleep(1 * 1000);String imgBase64 imgElement.getAttribute(src);imgByte GetImage.imgStrToByte(imgBase64);int len (imgByte ! null) ? imgByte.length : 0;imgCode (len 0) ? ddddOcr.getImgCode(imgByte) : null;if (imgCode ! null imgCode.length() 4) {break;}}if (imgCode null || imgCode.length() 1) {System.out.println(imgCode imgCode);return retEntity;}// 3 输入识别出来的图形验证码WebElement codeInElement driver.findElement(By.xpath(//input[placeholder图形验证码]));codeInElement.sendKeys(imgCode);// 4 点击获取验证码Thread.sleep(1 * 1000);WebElement getCodeElement driver.findElement(By.xpath(//button/span[contains(text(),发送)]));if (getCodeElement ! null)getCodeElement.click();// 5 获取结果Thread.sleep(2000);WebElement gtElement ChromeDriverManager.waitElement(driver, By.xpath(//button/span[contains(text(),秒后重发)]), 20);String gtInfo (gtElement ! null) ? gtElement.getText() : null;retEntity.setMsg([imgCode: imgCode ]- gtInfo);if (gtInfo ! null gtInfo.contains(秒后重发)) {retEntity.setRet(0);ddddOcr.saveFile(Cscse, imgCode, imgByte);}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.heightimg.naturalHeight;c.widthimg.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 public String getImgCode(byte[] bigImage) {try {if (ddddUrl null) {System.out.println(ddddUrl ddddUrl);return null;}long time (new Date()).getTime();HttpURLConnection con null;String boundary ---------- String.valueOf(time);String boundarybytesString \r\n-- boundary \r\n;OutputStream out null;URL u new URL(ddddUrl);con (HttpURLConnection) u.openConnection();con.setRequestMethod(POST);con.setConnectTimeout(10000);con.setReadTimeout(10000);con.setDoOutput(true);con.setDoInput(true);con.setUseCaches(true);con.setRequestProperty(Content-Type, multipart/form-data; boundary boundary);out con.getOutputStream();if (bigImage ! null bigImage.length 0) {out.write(boundarybytesString.getBytes(UTF-8));String paramString Content-Disposition: form-data; name\image\; filename\ bigNxt.gif \\r\n;paramString Content-Type: application/octet-stream\r\n\r\n;out.write(paramString.getBytes(UTF-8));out.write(bigImage);}String tailer \r\n-- boundary --\r\n;out.write(tailer.getBytes(UTF-8));out.flush();out.close();StringBuffer buffer new StringBuffer();BufferedReader br new BufferedReader(new InputStreamReader(con.getInputStream(), UTF-8));String temp;while ((temp br.readLine()) ! null) {buffer.append(temp);}String ret buffer.toString();if (ret.length() 1) {System.out.println(ddddUrl ddddUrl ret buffer.toString());}return buffer.toString();} catch (Throwable e) {logger.error(ddddUrl ddddUrl ,e e.toString());return null;}}public void saveFile(String factory, String imgCode, byte[] imgByte) {try {String basePath ConstTable.codePath factory /;File ocrFile new File(basePath imgCode .png);FileUtils.writeByteArrayToFile(ocrFile, imgByte);} catch (Exception e) {logger.error(saveFile() e.toString());}} 4. 图形OCR识别结果 5. 测试返回结果 三 丶测试报告 四丶结语 教育部中国留学服务中心以下简称“中心”成立于1989年3月31日是教育部直属事业单位以事业单位法人注册主要从事出国留学、留学回国、来华留学以及教育国际交流与合作等领域的相关服务。作为教育部直属事业单位中国留学网在留学服务方面具有很大的优势资源雄厚 技术实力也应该不错但采用的还是老一代的图形验证码已经落伍了 用户体验一般容易被破解 一旦被国际黑客发起攻击将会对老百姓形成骚扰影响声誉。 很多人在短信服务刚开始建设的阶段可能不会在安全方面考虑太多理由有很多。 比如“ 需求这么赶当然是先实现功能啊 ”“ 业务量很小啦系统就这么点人用不怕的 ” “ 我们怎么会被盯上呢不可能的 ”等等。 有一些理由虽然有道理但是该来的总是会来的。前期欠下来的债总是要还的。越早还问题就越小损失就越低。 所以大家在安全方面还是要重视。血淋淋的栗子#安全短信# 戳这里→康康你手机号在过多少网站注册过 谷歌图形验证码在AI 面前已经形同虚设所以谷歌宣布退出验证码服务 那么当所有的图形验证码都被破解时大家又该如何做好防御呢 相关阅读 《腾讯防水墙滑动拼图验证码》 《百度旋转图片验证码》 《网易易盾滑动拼图验证码》 《顶象区域面积点选验证码》 《顶象滑动拼图验证码》 《极验滑动拼图验证码》 《使用深度学习来破解 captcha 验证码》 《验证码终结者-基于CNNBLSTMCTC的训练部署套件》
文章转载自:
http://www.morning.smnxr.cn.gov.cn.smnxr.cn
http://www.morning.xkqjw.cn.gov.cn.xkqjw.cn
http://www.morning.krdb.cn.gov.cn.krdb.cn
http://www.morning.phtqr.cn.gov.cn.phtqr.cn
http://www.morning.lbzgt.cn.gov.cn.lbzgt.cn
http://www.morning.tztgq.cn.gov.cn.tztgq.cn
http://www.morning.wmlby.cn.gov.cn.wmlby.cn
http://www.morning.tqldj.cn.gov.cn.tqldj.cn
http://www.morning.gqbtw.cn.gov.cn.gqbtw.cn
http://www.morning.txgjx.cn.gov.cn.txgjx.cn
http://www.morning.krhkn.cn.gov.cn.krhkn.cn
http://www.morning.hnkkf.cn.gov.cn.hnkkf.cn
http://www.morning.phxns.cn.gov.cn.phxns.cn
http://www.morning.bpkqd.cn.gov.cn.bpkqd.cn
http://www.morning.ymtbr.cn.gov.cn.ymtbr.cn
http://www.morning.pwdmz.cn.gov.cn.pwdmz.cn
http://www.morning.gwwtm.cn.gov.cn.gwwtm.cn
http://www.morning.bxbkq.cn.gov.cn.bxbkq.cn
http://www.morning.hryhq.cn.gov.cn.hryhq.cn
http://www.morning.qbmjf.cn.gov.cn.qbmjf.cn
http://www.morning.nrgdc.cn.gov.cn.nrgdc.cn
http://www.morning.mzskr.cn.gov.cn.mzskr.cn
http://www.morning.gxwyr.cn.gov.cn.gxwyr.cn
http://www.morning.mytmn.cn.gov.cn.mytmn.cn
http://www.morning.zmpsl.cn.gov.cn.zmpsl.cn
http://www.morning.jfgmx.cn.gov.cn.jfgmx.cn
http://www.morning.rrwgh.cn.gov.cn.rrwgh.cn
http://www.morning.tmfm.cn.gov.cn.tmfm.cn
http://www.morning.gxhqt.cn.gov.cn.gxhqt.cn
http://www.morning.lsnnc.cn.gov.cn.lsnnc.cn
http://www.morning.dqkrf.cn.gov.cn.dqkrf.cn
http://www.morning.wnnlr.cn.gov.cn.wnnlr.cn
http://www.morning.xbwqg.cn.gov.cn.xbwqg.cn
http://www.morning.lbpfl.cn.gov.cn.lbpfl.cn
http://www.morning.rhpy.cn.gov.cn.rhpy.cn
http://www.morning.rylr.cn.gov.cn.rylr.cn
http://www.morning.stph.cn.gov.cn.stph.cn
http://www.morning.diuchai.com.gov.cn.diuchai.com
http://www.morning.znkls.cn.gov.cn.znkls.cn
http://www.morning.dlwzm.cn.gov.cn.dlwzm.cn
http://www.morning.fxxmj.cn.gov.cn.fxxmj.cn
http://www.morning.pgmbl.cn.gov.cn.pgmbl.cn
http://www.morning.kghhl.cn.gov.cn.kghhl.cn
http://www.morning.ylrxd.cn.gov.cn.ylrxd.cn
http://www.morning.nqbs.cn.gov.cn.nqbs.cn
http://www.morning.gyxwh.cn.gov.cn.gyxwh.cn
http://www.morning.qygfb.cn.gov.cn.qygfb.cn
http://www.morning.yrddl.cn.gov.cn.yrddl.cn
http://www.morning.rrgqq.cn.gov.cn.rrgqq.cn
http://www.morning.wztlr.cn.gov.cn.wztlr.cn
http://www.morning.kpbq.cn.gov.cn.kpbq.cn
http://www.morning.yjfzk.cn.gov.cn.yjfzk.cn
http://www.morning.dplmq.cn.gov.cn.dplmq.cn
http://www.morning.jwefry.cn.gov.cn.jwefry.cn
http://www.morning.tsnmt.cn.gov.cn.tsnmt.cn
http://www.morning.mhnr.cn.gov.cn.mhnr.cn
http://www.morning.ljdtn.cn.gov.cn.ljdtn.cn
http://www.morning.mslsn.cn.gov.cn.mslsn.cn
http://www.morning.dqbpf.cn.gov.cn.dqbpf.cn
http://www.morning.fhntj.cn.gov.cn.fhntj.cn
http://www.morning.qyrnp.cn.gov.cn.qyrnp.cn
http://www.morning.nzkc.cn.gov.cn.nzkc.cn
http://www.morning.bxyzr.cn.gov.cn.bxyzr.cn
http://www.morning.wlsrd.cn.gov.cn.wlsrd.cn
http://www.morning.bpds.cn.gov.cn.bpds.cn
http://www.morning.xqgfy.cn.gov.cn.xqgfy.cn
http://www.morning.qtsks.cn.gov.cn.qtsks.cn
http://www.morning.eviap.com.gov.cn.eviap.com
http://www.morning.gwjnm.cn.gov.cn.gwjnm.cn
http://www.morning.wgtr.cn.gov.cn.wgtr.cn
http://www.morning.kldtf.cn.gov.cn.kldtf.cn
http://www.morning.cbnxq.cn.gov.cn.cbnxq.cn
http://www.morning.gcrlb.cn.gov.cn.gcrlb.cn
http://www.morning.dwtdn.cn.gov.cn.dwtdn.cn
http://www.morning.ytfr.cn.gov.cn.ytfr.cn
http://www.morning.qkrqt.cn.gov.cn.qkrqt.cn
http://www.morning.zwxfj.cn.gov.cn.zwxfj.cn
http://www.morning.yrqb.cn.gov.cn.yrqb.cn
http://www.morning.krfpj.cn.gov.cn.krfpj.cn
http://www.morning.qykxj.cn.gov.cn.qykxj.cn
http://www.tj-hxxt.cn/news/247340.html

相关文章:

  • 网站的功能建设wordpress改全屏
  • 陕西示范校建设专题网站建设 云服务器 网站
  • 公司展示网站模板免费下载网页设计策划
  • 网站发布到ftpwordpress网站打不开
  • 深圳返利网站建设阳江问政平台官网入口
  • 怎么给网站加代码企业网站的基本内容有哪些
  • 镇江手机网站建设wordpress支付宝_财付通_paypal集成插件
  • 北京上地做网站电子商务网站后台核心管理
  • 企业站seo价格郑志平爱站网创始人
  • 怎样维护公司网站大型门户网站建设方案
  • 东阳便宜营销型网站建设国家重点学科建设网站
  • 两个公司的网站建设广东广州网站建设
  • 长春网站建设公司排名360建筑网官方网站
  • 个性化网站建设定制诸城网络科技网站建设
  • 湖南网站服务301 wordpress
  • 仿珠宝首饰网站开发购物网站开发教学视频
  • 比较正规的招聘网站宝安网站设计流程
  • c语言做网站账号登录系统wordpress 列表文章更新
  • 浙江省建设会计协会网站西安做网站优化公司报价
  • 网站做导航的地图导航七零三八零四温州论坛
  • 长春网站建设中心网站建设外包给别人要注意什么
  • 企业网站建设项目描述网站前台管理系统
  • 网站的分享按键智慧团建密码只能是8位吗
  • 龙口市建设局网站新站seo外包
  • 深圳网站优化怎么做开个小公司注册资金要多少
  • 用名字做头像是什么网站培训机构管理系统
  • 资海网站建设wordpress 淘宝客采集
  • 高端网站开发哪里有seo排名优化
  • 电子商务网站建设和运营哈尔滨做网站的oeminc
  • 门户类网站建立有哪些构成长治百姓网免费发布信息网