Skip to content

Commit 5352bc7

Browse files
kelvinBenkelvinBen
authored andcommitted
add utf8
1 parent cd38a78 commit 5352bc7

File tree

2 files changed

+26
-26
lines changed

2 files changed

+26
-26
lines changed

README.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## AutoRedTools
44

5-
AutoRedTools是一款轻量级一站式自动下载/自动更新安全从业人员常用开源的工具,帮助安全从业者快速进行渗透工具的下载以及更新,节约大量环境安装和更新时间。
5+
AutoRedTools是一款轻量级一站式自动下载/自动更新安全从业人员常用开源工具的工具,帮助安全从业者快速进行渗透工具的下载以及更新,节约大量环境安装和更新时间。
66

77
(注:本工具使用GitHub API能力,需要配置GitHub Token,未配置GitHub Token会被GitHub限制IP访问)
88

@@ -79,50 +79,50 @@ AutoRedTools是一款轻量级一站式自动下载/自动更新安全从业人
7979

8080
### 信息收集工具
8181

82-
[x] AppInfoScanner
83-
[x] OneForAll
84-
[x] Kunyu
85-
[x] Glass
86-
[x] scaninfo
87-
[x] ksubdomain
88-
[x] EmailAll
89-
[x] subDomainsBrute
82+
- [x] AppInfoScanner
83+
- [x] OneForAll
84+
- [x] Kunyu
85+
- [x] Glass
86+
- [x] scaninfo
87+
- [x] ksubdomain
88+
- [x] EmailAll
89+
- [x] subDomainsBrute
9090

9191
### 漏洞扫描
9292

93-
[x] xray
94-
[x] Kunpeng
95-
[x] FuYao
96-
[x] afrog
97-
[x] vulmap
93+
- [x] xray
94+
- [x] Kunpeng
95+
- [x] FuYao
96+
- [x] afrog
97+
- [x] vulmap
9898

9999
### 内网工具
100100

101-
[x] frp
102-
[x] LadonGo
101+
- [x] frp
102+
- [x] LadonGo
103103

104104
### 免杀提权
105105

106-
[x] nim_shellloader
106+
- [x] nim_shellloader
107107

108108
### 漏洞验证
109109

110-
[x] sqlmap
110+
- [x] sqlmap
111111

112112
### CTF
113113

114-
[x] pwntools
114+
- [x] pwntools
115115

116116
### 插件辅助
117117

118-
[x] HaE
118+
- [x] HaE
119119

120120
### WebShell
121121

122-
[x] Behinder
123-
[x] Godzilla
124-
[x] AntSword
125-
[x] AntSword-Loader
122+
- [x] Behinder
123+
- [x] Godzilla
124+
- [x] AntSword
125+
- [x] AntSword-Loader
126126

127127
## 自定义工具列表(tools.json)
128128

app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def start(out_path, proxy, token) -> None:
3636
if not os.path.exists(out_path):
3737
os.makedirs(out_path) # 创建输出目录
3838

39-
with open("tools.json") as open_file:
39+
with open(file="tools.json",encoding="utf8") as open_file:
4040
content = open_file.read()
4141
json_list = json.loads(content)
4242

@@ -137,7 +137,7 @@ def download_tools(tools_download_url, tools_path, tools_name, tools_vesion) ->
137137
try:
138138
if resp.status_code == requests.codes.ok:
139139
print('文件: {} 正在下载中, 总大小为: {size:.2f} MB'.format(tools_name, size = content_length / 1024 / 1024))
140-
with open(tools_file_path, "wb") as f:
140+
with open(file=tools_file_path,mode="wb",encoding="utf8") as f:
141141
for data in resp.iter_content(chunk_size=chunk_size):
142142
current_download_size += len(data)
143143
f.write(data)

0 commit comments

Comments
 (0)