Skip to content

Commit e485566

Browse files
authored
Merge pull request #70 from knownsec/likx
关联域名查询展示错误问题(ZoomEye-python群提的)
2 parents 34d78b8 + 5848355 commit e485566

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

zoomeye/show.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
from colorama import init
1111
from zoomeye import config, data, plotlib
1212
from zoomeye.sdk import ZoomEyeDict
13+
import json
1314

1415
# solve the color display error under windows terminal
1516
init(autoreset=True)
@@ -441,7 +442,7 @@ def show_domain_info(info_list, total, page):
441442
printf("{:<55}{:<15}{:<25}".format("name", "timestamp", "ip"), color="green")
442443
for d in info_list:
443444
name, timestamp, ip = d.values()
444-
printf("{:<55}{:<15}{:<25}".format(name, timestamp, ip))
445+
printf("{:<55}{:<15}{:<25}".format(name, timestamp, json.dumps(ip)))
445446
print()
446447
printf("total: {}/{}".format(str(30 * int(page)), total))
447448

0 commit comments

Comments
 (0)