显示帐户信息是否已被典当的Web服务器

pwnserver的Python项目详细描述


Latest VersionLicenseScreenshot

运行一个简单的Web服务器,显示您的帐户信息是否 妥协的。此轮询haveibeenpwned每 12小时后返回所有发现的受损账户。

安装

PIP

pip install pwnserver

发展

git clone https://github.com/walchko/pwnserver
cd pwnserver
pip install -e .

用法

要运行服务器:

pwnserver --email emails.json --port 9000

您需要一个包含名称和电子邮件的配置文件:

{"bob":["bob.tom@google.com","bob.tom@yahoo.com"],"tom":["tom.jones@google.com","tom.jones@snuggle.org"]}

如果要使用某些类和函数:

frompwnimportHTML,readJsonhtml=HTML()html.p('hi')data=readJson('myfile.json')

原始输出

来自haveibeenpwned.com

的原始输出示例
[{"PwnCount":152445165,"Domain":"adobe.com","IsSensitive":false,"Name":"Adobe","Title":"Adobe","DataClasses":["Email addresses","Password hints","Passwords","Usernames"],"IsRetired":false,"LogoType":"svg","BreachDate":"2013-10-04","IsActive":true,"AddedDate":"2013-12-04T00:00:00Z","IsVerified":true,"Description":"In October 2013, 153 million Adobe accounts were breached with each
containing an internal ID, username, email, encrypted password and a password
hint in plain text. The password cryptography was poorly done and many were
quickly resolved back to plain text. The unencrypted hints also disclosed much
about the passwords adding further to the risk that hundreds of millions of
Adobe customers already faced."},{"PwnCount":68648009,"Domain":"dropbox.com","IsSensitive":false,"Name":"Dropbox","Title":"Dropbox","DataClasses":["Email addresses","Passwords"],"IsRetired":false,"LogoType":"svg","BreachDate":"2012-07-01","IsActive":true,"AddedDate":"2016-08-31T00:19:19Z","IsVerified":true,"Description":"In mid-2012, Dropbox suffered a data breach which exposed the stored
credentials of tens of millions of their customers. In August 2016, they forced
password resets for customers they believed may be at risk. A large volume of
data totalling over 68 million records was subsequently traded online and
included email addresses and salted hashes of passwords (half of them SHA1,
half of them bcrypt)."}]

更改日志

2016-10-290.1.1published to PyPi
2016-09-160.0.1init

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
如果打开许多Java线程,它们在Android中似乎被卡住了   尝试保存嵌套片段的状态时出现java异常[对于键安卓:target\u state,片段不再存在]   我应该使用什么API或框架在Java中实现这个消息传递系统?   java JPA和序列化行为   使用Java Spring i18n翻译长文本的最佳实践   与字符串÷x%匹配的java正则表达式   春季冬眠   java使用ArrayList在ListView中出错   java解析bufferedReader数据,在某些字符处停止   我尝试在字符串中计数字符(java),但我的解决方案不起作用   java无法为本地开发在Google App Engine上设置默认的App Identity服务帐户   在Java Swing游戏中重置倒计时计时器不工作+JDialog/JOptionPane   Maven找不到intern java文件的符号错误   java获取XML包中返回的SQLException消息?   java Datanucleus类型转换插件   java bouncycastle PKCS12密钥库“最大密码长度”   java使用“==”语句   java在一个数组中包含多个变量?   java获取HttpResponseCode=400和HttpOperationFailedException