console.py 758 B

123456789101112131415161718192021222324252627282930313233343536
  1. #!/usr/bin/env python
  2. # -*- encoding: utf-8 -*-
  3. """
  4. @Contact : liuyuqi.gov@msn.cn
  5. @Time : 2024/04/26
  6. @License : Copyright © 2017-2022 liuyuqi. All Rights Reserved.
  7. @Desc : windows console mode
  8. """
  9. import argparse
  10. import os
  11. import sys
  12. from searchdomain import SearchDomain
  13. print('''
  14. Search Domain 域名搜索工具 v1.0
  15. author: liuyuqi
  16. email: liuyuqi.gov@msn.cn
  17. ''')
  18. comnand = input('''
  19. 1. 域名批量生成
  20. 2. 域名批量查询(查询是否可以注册)
  21. 3. 退出
  22. 请选择操作:
  23. ''')
  24. if comnand == '1':
  25. domain = input('请输入域名: ')
  26. search = SearchDomain(domain)
  27. search.run()
  28. elif comnand == '2':
  29. sys.exit(0)
  30. if __name__=='__main__':
  31. pass