https://www.bilibili.com/video/BV1r64y1m7Nu/?spm_id_from=333.880.my_history.page.click&vd_source=dfcaf8e4dd4ff668e1c6f5d85cada840
https://www.bilibili.com/video/BV1Ud4y1Y7XG/?spm_id_from=333.999.0.0&vd_source=dfcaf8e4dd4ff668e1c6f5d85cada840
参考的是用的谷歌浏览器+百度翻译实现的
我这里使用的是有道翻译就没那么麻烦不需要浏览器
http://fanyi.youdao.com/translate?&doctype=json&type=AUTO&i=
plugins、lib、extra、thirdparty
import re
import timeimport requests
with open('cmdline.py','r') as f:
pp=f.readlines()
def alter(file,old_str,new_str):
file_data = ""
with open(file, "r", encoding="utf-8") as f:
for line in f:
if old_str in line:
line = line.replace(old_str,new_str)
file_data += line
with open(file,"w",encoding="utf-8") as f:
f.write(file_data)
ppp="".join(pp)
find =re.findall('help="(.*?)"',ppp)
print(find)
for i in find:
jc = requests.get(url="http://fanyi.youdao.com/translate?&doctype=json&type=AUTO&i="+i)
find_str=re.findall('"tgt":"(.*?)"',jc.text)
find_str_1="".join(find_str)
time.sleep(1)
print(find_str_1)
alter("cmdline.py", i, find_str_1)
点击下方微信公众号名片在后台回复sqlmap汉化即可获取
欢迎加入学习
推荐阅读