captcha

Solving Picture Captcha With Selenium and 2Captcha (JAVA)

点点圈 提交于 2020-04-17 20:51:52
问题 I have been struggling with solving captcha using selenium, java, 2captcha's api. It clicks the verify button but doesn't solve the picture, no errors pop out.. Here's my code: private void solveCaptcha(String apiKey) { String googleKey = "6Lcsv3oUAAAAAGFhlKrkRb029OHio098bbeyi_Hv"; String pageUrl = "https://secure.runescape.com/m=weblogin/loginform?theme=oldschool&mod=www"; TwoCaptchaService service = new TwoCaptchaService(apiKey, googleKey, pageUrl); try { String responseToken = service

Gamaredon组织资料

二次信任 提交于 2020-04-06 18:57:05
Gamaredon组至少从2013年就开始活跃。 Gamaredon集团是网络间谍活动的长期行动,应归功于俄罗斯人FSB(联邦安全局)在长期军事和地缘政治对抗乌克兰政府的情况下,尤其是对乌克兰军事力量的长期对抗。 后门恶意软件:Pterodo 新Pterodo根据被感染系统的硬盘序列号生成一个用于命令和控制的唯一URL。有关受感染系统的数据被上载到该URL,允许GJ者分析远程安装和运行哪些工具。 间谍活动分析 https://yoroi.company/research/cyberwarfare-a-deep-dive-into-the-latest-gamaredon-espionage-campaign/ https://malware.news/t/cyberwarfare-a-deep-dive-into-the-latest-gamaredon-espionage-campaign/37119 2015年 https://www.securityweek.com/operation-armageddon-cyber-espionage-campaign-aimed-ukraine-lookingglass https://www.lookingglasscyber.com/wp-content/uploads/2015/08/Operation_Armageddon

Seafile Server 7.1.3避坑:解决依赖关系

五迷三道 提交于 2020-04-06 18:23:00
1. Seafile依赖说明   以下依赖, 有 * 标记的为必装,加粗表示推荐使用系统提供的软件包 安装(有些python包之所以推荐使用系统提供的包管理器安装,是因为他们基本都需要编译,并且有的软件包还依赖其他第三方的软件,若使用pip安装,需要安装其他依赖): 依赖( * 为必装) 说明 pip * Python 的包管理器,推荐使用系统软件包安装,包名为 python3-pip wheel * Python 包的最新二进制格式支持,部分 Python 包安装时会先打包成 .whl 格式,需要这个包的功能 python3 * 使用系统软件包安装,包名为 python3 sqlite3 使用sqlite数据库时需要安装,apt中包名为 sqlite3 ,yum中包名为 sqlite mysql-server 使用mysql数据库时要安装,若有其他可用的mysql服务,可以不装。这里推荐 mariadb-server ,因为各发行版都会提供 python-ldap 需要使用ldap存储用户信息(通常在企业中使用)时要安装,推荐使用系统软件包 jinja2 这是 Python Web 开发的一套模板系统,功能、性能、安全性都比较强,不安装这个包并没发现什么影响,可能专业版需要 * sqlalchemy Python 的一套功能强大的 ORM 系统,不安装没发现受到影响

字符型图片验证码识别完整过程及Python实现

僤鯓⒐⒋嵵緔 提交于 2020-04-06 00:35:56
字符型图片验证码识别完整过程及Python实现 1 摘要 验证码是目前互联网上非常常见也是非常重要的一个事物,充当着很多系统的 防火墙 功能,但是随时OCR技术的发展,验证码暴露出来的安全问题也越来越严峻。本文介绍了一套字符验证码识别的完整流程,对于验证码安全和OCR识别技术都有一定的借鉴意义。 文章更新:2017-09-20 本文的基于传统的机器学习SVM的源码共享: 介绍文章: http://www.cnblogs.com/beer/p/7279136.html https://github.com/zhengwh/captcha-svm 然后经过了一年的时间,笔者又研究和get到了一种更强大的 基于CNN卷积神经网络 的直接端到端的验证识别技术(文章不是我的,然后我把源码整理了下,介绍和源码在这里面): 基于python语言的tensorflow的‘端到端’的字符型验证码识别源码整理(github源码分享) 文章介绍: http://www.cnblogs.com/beer/p/7392397.html 2 关键词 关键词:安全,字符图片,验证码识别,OCR,Python,SVM,PIL 3 免责声明 本文研究所用素材来自于某旧Web框架的网站 完全对外公开 的公共图片资源。 本文只做了该网站对外公开的公共图片资源进行了爬取, 并未越权 做任何多余操作。

wordpress网站使用wechat-social-login插件实现QQ、微信、钉钉、Github、手机号登陆

妖精的绣舞 提交于 2020-03-03 22:22:34
wordpress版本:wordpress:4.9.8版本 php版本:v7.2.12 dockcer镜像为:wordpress:4.9.8 图形验证码加载不出来 最近利用wordpress建站的时候,用到了 wechat-social-login 插件实现 微信、QQ、钉钉、Github 登陆功能时,开启图形验证码功能后,看到图形二维码一直加载不出来, F12 看到状态码为200,但没有返回值,报错 This request has no response data available 打开wordpress日志后,发现 debug 日志文件中报以下的错误。开启debug日志方法请移步历史文章 如何开启WordPress调试模式(报错提示) ,将日志打印到 wp-content 目录下的 debug.log 中。 [08-Feb-2020 07:37:42 UTC] PHP Fatal error: Uncaught Error: Call to undefined function Gregwar\Captcha\imagettfbbox() in /var/www/html/wp-content/plugins/wechat-social-login/includes/captcha/CaptchaBuilder.php:327 Stack trace: #0 /var

Beego下如何使用captcha生成验证码

懵懂的女人 提交于 2020-02-28 23:09:06
Beego框架真的很贴心,默认有captcha这个验证码插件。在utils/captcha下面 使用方法 import( "github.com/astaxie/beego/cache" "github.com/astaxie/beego/utils/captcha" ) var cpt *captcha.Captcha func init() { store := cache.NewMemoryCache() cpt = captcha.NewWithFilter("/captcha/", store) //一定要写在构造函数里面,要不然第一次打开页面有可能是X } 在模板里面写上 <form action="/" method="post"> {{create_captcha}} <input name="captcha" type="text"> </form> 就ok了,最贴心的是居然连onclick事件也已经做在了里面,方便。 还有判断也已经写好了,只要在post里面写上 if !cpt.VerifyReq(this.Ctx.Request) { //你的代码 } 默认的验证码是6位,200px宽,这个是可以自己设置的 cpt是一个结构体: // Captcha struct type Captcha struct { // beego cache store store

云捷Go-免费开源的Go语言开发框架

懵懂的女人 提交于 2020-02-27 15:41:03
框架简介 以前是做Java企业应用开发,想转Go,看了很多优秀的开源项目但是发现没有合适的,一直没找到类似于若依开发思路的快速开发框架。于是狠下心自己写了一套后台系统。这个框架可以用于所有的Web应用程序,如网站管理后台,网站会员中心,CMS,CRM,OA。所有前端后台代码封装过后十分精简易上手,出错概率低。同时支持移动客户端访问。系统会陆续更新一些实用功能。 受之开源,回馈社区,本框架以GoFrame为web服务框架,继续沿用MIT开源协议,架构思路沿袭着若依的以辅助生成重复代码为主,不过度封装,生成的代码可以快速修改适应不同的需求,适应每个开发者自己的习惯和风格。所以命名为"云捷GO"(寓意:GO云原生业务快捷开发) 核心技术及组件 web服务框架 GoFrame v1.11.4 导出excel文件 tealeg/xlsx v1.0.5 api文档生成 swaggo/swag v1.6.5 图形验证码 base64Captcha v1.2.2 服务器监控 gopsutil v2.19.12+incompatible 若依前端组件 RuoYi v4.1.0(做了部分适配GoFrame修改,命名为yf.js,不要跟原项目ry.js混用,文档可以通用) 文档地址:正在编写 http://www.yunjie.info 内置功能 用户管理:用户是系统操作者,该功能主要完成系统用户配置。

recaptcha plugin for rails

拈花ヽ惹草 提交于 2020-02-02 05:49:13
问题 I am currently using ambethia's recaptcha plugin for rails. I want to disable the message "incorrect-captcha-sol" whenever the user incorrectly enters the wrong recaptcha. How should I go about doing this? In the source file I get the following tags surrounding the error message <p class="recaptcha_error">incorrect-captcha-sol</p> 回答1: The plugin sets the flash (more precisely flash[:recaptcha_error]), i.e. it won't display message automatically. Most likely you have a piece of code that

Stopping Bot [SO] - PHP

眉间皱痕 提交于 2020-01-24 19:17:57
问题 I saved this code in index.php and after filling i clicked Submit button, and then a verification page was shown to me ! My question is how did it detected that it was not from the original server ? [i hope they do not use the referrer as it can be disabled easily] My Fake Code <html> <form id="post-form" action="http://stackoverflow.com/questions/ask/submit" method="post"> <input id="title" name="title" type="text" maxlength="300" tabindex="100" class="ask-title-field" value=""> <textarea id

Stopping Bot [SO] - PHP

北战南征 提交于 2020-01-24 19:17:32
问题 I saved this code in index.php and after filling i clicked Submit button, and then a verification page was shown to me ! My question is how did it detected that it was not from the original server ? [i hope they do not use the referrer as it can be disabled easily] My Fake Code <html> <form id="post-form" action="http://stackoverflow.com/questions/ask/submit" method="post"> <input id="title" name="title" type="text" maxlength="300" tabindex="100" class="ask-title-field" value=""> <textarea id