Skip to content

Commit cb2a175

Browse files
committed
add chinese comments for data.py
1 parent 6c3d964 commit cb2a175

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

zoomeye/data.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ def process_filter(fields, data, tables):
259259
return result_data, has_equal, not_equal
260260

261261

262-
class Cache:
262+
class Cache:#用于缓存从API获取的数据或从本地文件中读取数据
263263
"""
264264
used to cache the data obtained from the api to the local,
265265
or directly clip the file from the local.
@@ -333,7 +333,7 @@ def update(self):
333333
pass
334334

335335

336-
class CliZoomEye:
336+
class CliZoomEye:#处理与ZoomEye搜索相关的功能,如默认显示、过滤、统计等
337337

338338
def __init__(self, dork, num, resource, facet=None, force=False):
339339
self.dork = dork
@@ -586,7 +586,7 @@ def count(self):
586586
show.printf(self.total)
587587

588588

589-
class HistoryDevice:
589+
class HistoryDevice:#处理获取主机历史数据的功能
590590
"""
591591
obtain the user's identity information and determine whether to use the IP history search function
592592
"""
@@ -704,7 +704,7 @@ def filter_fields(self, fields):
704704
show.print_filter_history(not_equal, result_data[:self.num], has_equal)
705705

706706

707-
class IPInformation:
707+
class IPInformation:#用于查询特定IP地址的信息
708708
"""
709709
query IP information
710710
"""
@@ -746,7 +746,7 @@ def filter_information(self, filters):
746746
show.print_info_filter(not_equal, result_data, has_equal)
747747

748748

749-
class DomainSearch:
749+
class DomainSearch:#用于查询相关域名或子域名
750750
"""
751751
query relation domain or sub domain
752752
"""

0 commit comments

Comments
 (0)