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

商城网站建天津有做网站不错的吗

商城网站建,天津有做网站不错的吗,汕头网站建设搭建,互联网服务平台备案单位机动车前言 由于网站注册入口容易被黑客攻击#xff0c;存在如下安全问题#xff1a; 暴力破解密码#xff0c;造成用户信息泄露短信盗刷的安全问题#xff0c;影响业务及导致用户投诉带来经济损失#xff0c;尤其是后付费客户#xff0c;风险巨大#xff0c;造成亏损无底洞…前言 由于网站注册入口容易被黑客攻击存在如下安全问题 暴力破解密码造成用户信息泄露短信盗刷的安全问题影响业务及导致用户投诉带来经济损失尤其是后付费客户风险巨大造成亏损无底洞 所以大部分网站及App 都采取图形验证码或滑动验证码等交互解决方案 但在机器学习能力提高的当下连百度这样的大厂都遭受攻击导致点名批评 图形验证及交互验证方式的安全性到底如何 请看具体分析 一、 亿美软通PC 注册入口 简介北京亿美软通科技有限公司(BEIJING EMAY SOFTCOM TECHNOLOGY LTD.)是具备国际水准的移动商务平台技术和应用方案提供商。自2001年成立以来亿美软通始终致力于为国内外企业提供具备国际技术水准的移动商务平台及运营服务。目前亿美软通已为超过50万家企业提供移动个性客服、移动高效管理等方面的各类移动商务产品和通讯服务业务服务覆盖超过8亿手机用户。2014年亿美软通全资并入A股上市公司深圳市银之杰科技股份有限公司(深证A股300085)。 二丶 安全分析 采用传统的图形验证码方式具体为6个数字英文,ocr 识别率在 95% 以上。   测试方法 采用模拟器OCR识别 1. 模拟器交互 private static String INDEX_URL https://www.emay.cn/article964.html;private OcrClientModel ocrClientModel new OcrClientModel(emay.cn);Overridepublic RetEntity send(WebDriver driver, String areaCode, String phone) {RetEntity retEntity new RetEntity();try {driver.get(INDEX_URL);Thread.sleep(1 * 1000);// 输入手机号WebElement phoneElemet ChromeDriverManager.waitElement(driver, By.id(txtPhone), 400);phoneElemet.sendKeys(phone);String name 张三;// 输入姓名WebElement nameElemet ChromeDriverManager.waitElement(driver, By.id(txtName), 400);nameElemet.sendKeys(name);// 获取验证码byte[] imgByte GetImage.callJsById(driver, imgcodesrc);int len (imgByte ! null) ? imgByte.length : 0;// 调用 ddddOcr 识别图像验证码String imgCode (len 10) ? ocrClientModel.getImgCode(imgByte) : null;ocrClientModel.saveFile(Emay, imgCode, imgByte);if (imgCode null || .equals(imgCode)) {System.out.println(len len ,imgCode imgCode);return null;}// 输入验证码WebElement imgCodeElemet driver.findElement(By.id(verify));imgCodeElemet.sendKeys(imgCode.toUpperCase());Thread.sleep(1000);// 点击发送验证码WebElement sendCodeElemet driver.findElement(By.id(smsBtn));sendCodeElemet.click();Thread.sleep(1000);StringBuffer alertSb new StringBuffer();boolean isAlert ChromeDriverManager.isAlertPresent(driver, alertSb);if (isAlert) {// System.out.println(imgCode imgCode - alertSb);// return retEntity;}// 结果sendCodeElemet driver.findElement(By.id(smsBtn));String gtInfo sendCodeElemet.getText();gtInfo 59s后重新获取验证码;retEntity.setMsg([imgCode: imgCode ]- gtInfo);if (gtInfo.contains(后重新获取验证码)) {retEntity.setRet(0);} 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.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.图形验证码识别OcrClientModel public String getImgCode(byte[] bigImage) {try {if (picUrl null) {System.out.println(ddddUrl picUrl);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(picUrl);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();out.write(boundarybytesString.getBytes(UTF-8));String paramString Content-Disposition: form-data; name\sp_code\\r\n\r\n spCode;out.write(paramString.getBytes(UTF-8));if (bigImage ! null bigImage.length 0) {out.write(boundarybytesString.getBytes(UTF-8));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(picUrl picUrl ret buffer.toString());}return buffer.toString();} catch (Throwable e) {logger.error(picUrl picUrl ,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. 测试返回结果 三 丶测试报告 四丶结语 北京亿美软通科技有限公司(BEIJING EMAY SOFTCOM TECHNOLOGY LTD.)是具备国际水准的移动商务平台技术和应用方案提供商。自2001年成立以来亿美软通始终致力于为国内外企业提供具备国际技术水准的移动商务平台及运营服务。目前亿美软通已为超过50万家企业提供移动个性客服、移动高效管理等方面的各类移动商务产品和通讯服务业务服务覆盖超过8亿手机用户。2014年亿美软通全资并入A股上市公司深圳市银之杰科技股份有限公司(深证A股300085)。 技术实力应该不错但采用的还是老一代的图形验证码已经落伍了 用户体验一般容易被破解 一旦被国际黑客发起攻击将会对老百姓形成骚扰影响声誉。 很多人在短信服务刚开始建设的阶段可能不会在安全方面考虑太多理由有很多。 比如“ 需求这么赶当然是先实现功能啊 ”“ 业务量很小啦系统就这么点人用不怕的 ” “ 我们怎么会被盯上呢不可能的 ”等等。 有一些理由虽然有道理但是该来的总是会来的。前期欠下来的债总是要还的。越早还问题就越小损失就越低。 所以大家在安全方面还是要重视。血淋淋的栗子#安全短信# 戳这里→康康你手机号在过多少网站注册过 谷歌图形验证码在AI 面前已经形同虚设所以谷歌宣布退出验证码服务 那么当所有的图形验证码都被破解时大家又该如何做好防御呢 相关阅读 《腾讯防水墙滑动拼图验证码》 《百度旋转图片验证码》 《网易易盾滑动拼图验证码》 《顶象区域面积点选验证码》 《顶象滑动拼图验证码》 《极验滑动拼图验证码》 《使用深度学习来破解 captcha 验证码》 《验证码终结者-基于CNNBLSTMCTC的训练部署套件》
http://www.dnsts.com.cn/news/84613.html

相关文章:

  • 域名和网站建站公司链接域名主机 网站建设
  • 做网站老板不发工资我拿尾款网站建设文化哪家好
  • 一站式服务门户石家庄网站建设企业
  • 集团网站建设哪个好广州企业招聘
  • 怎么做百度里面自己的网站不用服务器做视频网站吗
  • 凡科建站怎么样河南确诊病例最新消息
  • 专门做毕设的网站软文营销的写作技巧有哪些
  • 做网站推广的前期条件网站搜索引擎优化技术
  • 百度收录怎么查询百度的关键词优化
  • 挂机宝做php网站吗小饭店普通装修
  • 重庆有效的网站推广wordpress搜索结果不存在页面
  • 用enfold做的网站seo优化的内容有哪些
  • 做网站的外包能学到什么wordpress会员文章
  • WordPress建站评价12380 举报网站建设
  • 服装设计好找工作吗河南网站seo地址
  • 正规货源网站大全互联网创业项目网
  • 庄河网站建设公司网站建设链接怎么加上去
  • php自适应网站家在深圳房网论坛
  • 百度右边相关网站东莞市网络推广怎么样
  • 网站开发就业培训wordpress 维护模式
  • 国外网站为啥速度慢西安建设工程交易中心
  • 家政网站制作网站名称和域名不一致
  • 网站默认样式表企业做英文网站
  • 网站建设模拟器公司企业邮箱注册申请
  • 做优惠券网站网络解决方案公司
  • 环保网站 源码深圳招聘网络推广
  • 格尔木市住房和城乡建设局网站电商平台如何搭建
  • 网站建设需求参考文档网站开发 只要
  • 优秀的企业网站网站开发费分摊多少年
  • 西安微网站开发网站建设教程多少钱