Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修改导出结果目录 #10

Open
s1g0day opened this issue Jan 7, 2023 · 1 comment
Open

修改导出结果目录 #10

s1g0day opened this issue Jan 7, 2023 · 1 comment

Comments

@s1g0day
Copy link

s1g0day commented Jan 7, 2023

原本脚本是直接导出到当前目录,时间久了也不方便删除,修改后直接导出到当前目录的output下
粗糙改造
`
17 # 创建域名文件夹
18 if [ ! -d 'output/'${domain} ];then
19 mkdir 'output/'${domain}

22 # 子域名文件
23 sub_file='output/'${domain}'/'${domain}'_sub.txt'
24 # 验证结果文件
25 sub_file_ok='output/'${domain}'/'${domain}'_sub_ok.txt'
26 # 各个域名对应标题、状态吗等信息文件
27 title_file='output/'${domain}'/'${domain}'_title.txt'

41 printf "[+] 获取域名 <<${domain}>> 的子域名完成! \n[+] 保存在 <<output/${domain}>> 文件夹 \n"
48 rm -rf 'output/'${domain}
67 rm -rf 'output/'${domain}
`
测试完成

image

@Mr-xn
Copy link
Owner

Mr-xn commented Jan 8, 2023

感谢测试,我复测后更新

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants