This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| # keep talking nobody explodes 密码猜测模块工具 | |
| import re | |
| # 初始单词列表 | |
| words = [ | |
| "about", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # encoding:utf-8 | |
| from dateutil import parser | |
| whois_timezone_info = { | |
| "A": 1 * 3600, | |
| "ACDT": 10.5 * 3600, | |
| "ACST": 9.5 * 3600, | |
| "ACT": -5 * 3600, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # encoding:utf-8 | |
| """ | |
| 基于faiss的海量高维域名相似度计算 | |
| 多进程队列通信的异步获取 | |
| author : h-j-13 | |
| time : 2018-6-28 | |
| """ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # encoding:utf-8 | |
| """ | |
| faiss库 IndexIVFFlat 索引性能测试 | |
| author : h-j-13 | |
| time : 2018-6-22 | |
| """ | |
| import time |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # encoding:utf-8 | |
| """ | |
| 将域名获取的时间转换为标准时间 | |
| ==================================== | |
| version : 1.0 | |
| time : 2017.8.25 | |
| """ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @staticmethod | |
| def get_table_num(domain): | |
| """获取域名所属分表序号""" | |
| table_num = -1 | |
| # 抽取首字母 | |
| domain = str(domain).lower() | |
| try: | |
| initial = domain[0] | |
| except: | |
| table_num = -1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def export_domain(self, type, start, end): | |
| """导出某一条件下某一时间段的域名""" | |
| result = {"type": type, | |
| "start": start, | |
| "end": end, | |
| "result": []} | |
| domain_list = [] | |
| query_result = temp_DB.execute(SQL_refactor.export_domain(type, start, end)) | |
| if query_result: | |
| for domain in query_result: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <cstdlib> | |
| #include <iostream> | |
| #include <iomanip> | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <curses.h> | |
| #define getpch(type) (type*)malloc(sizeof(type)) | |
| #ifndef NULL |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 2017-10-06 19:51:39 - 系统初始化完成 | |
| 2017-10-06 19:51:39 - Connect Error:(1045, "Access denied for user 'root'@'10.246.24.69' (using password: YES)") | |
| 2017-10-06 19:53:28 - 系统初始化完成 | |
| 2017-10-06 19:53:29 - 后台程序启动... | |
| 2017-10-06 19:53:29 - 占用端口 : 8013 | |
| 2017-10-06 19:53:29 - 多进程模式 - 进程数: 5 | |
| 2017-10-07 00:30:00 - 数据缓存开始... | |
| 2017-10-07 00:31:01 - 数据缓存结束 | |
| 2017-10-07 12:30:00 - 数据缓存开始... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| # encoding:utf-8 | |
| """ | |
| 密码学实验 - RSA | |
| ====================== | |
| author: `13 | |
| time : 2017.10.9 | |
| details: |
NewerOlder