-
👀 Blog: https://1oecho.github.io/
-
📫 E-mail: [email protected]
-
♥ 持续学习,杜绝眼高手低,保持空杯心态!
loecho-sec / arl-finger-add Goto Github PK
View Code? Open in Web Editor NEW灯塔(最新版)指纹添加脚本!
灯塔(最新版)指纹添加脚本!
👀 Blog: https://1oecho.github.io/
📫 E-mail: [email protected]
♥ 持续学习,杜绝眼高手低,保持空杯心态!
import json
import chardet
with open('finger.json', 'rb') as file:
raw_data = file.read()
encoding = chardet.detect(raw_data)['encoding']
data = raw_data.decode(encoding)
converted_data = []
for fingerprint in json.loads(data)['fingerprint']:
rule = {
"html": [],
"title": [],
"headers": [],
"favicon_hash": []
}
method = fingerprint['method']
if method == 'keyword':
location = fingerprint['location']
if location == 'body':
rule['html'] = fingerprint['keyword']
elif location == 'title':
rule['title'] = fingerprint['keyword']
elif location == 'header':
rule['headers'] = fingerprint['keyword']
elif method == 'faviconhash':
rule['favicon_hash'] = fingerprint['keyword']
converted_data.append({
"rule": rule,
"name": fingerprint['cms'],
"method": method
})
output_file = 'converted_finger.json'
with open(output_file, 'w', encoding='utf-8') as file:
json.dump(converted_data, file, indent=4, ensure_ascii=False)
print(f"转换后的数据已保存到 {output_file} 文件中。")
python3 ARL-Finger-ADD.py http://127.0.0.1:5003/ admin arlpass
Expecting value: line 1 column 1 (char 0)
提示 Expecting value: line 1 column 1 (char 0) 没看到报错, 但是导入没成功
比如以下指纹规则,keyword有2个规则,不应该导入到ARL里应该是一个逻辑或的规则吗?
比如:body="WSY_logo" || body="管理系统 MANAGEMENT SYSTEM"
现在导入只有body="WSY_logo"。
{"cms": "微三云管理系统",
"method": "keyword",
"location": "body",
"keyword": ["WSY_logo","管理系统 MANAGEMENT SYSTEM"]
}
PS D:\ARL-Finger-ADD-main> python ARL-Finger-ADD.py https://192.168.92.128:5003/ admin/arlpass
list index out of range
这个师傅的项目也有指纹,建议合并下,支持。
https://github.com/EASY233/Finger/blob/main/library/finger.json
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.