这是我的表:
select * from Vulnerabilities;
+---------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------+-------+------+
| CVE | Description | Date | Score | Type |
+---------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------+-------+------+
| CVE-2014-9364 | Cross-site scripting (XSS) vulnerability in the Unified Login form in the LoginToboggan module 7.x-1.x before 7.x-1.4 for Drupal allows remote attackers to inject arbitrary web script or HTML via unspecified vectors. | 2014-12-10 | 4 | XSS |
| CVE-2014-9365 | The HTTP clients in the (1) httplib, (2) urllib, (3) urllib2, and (4) xmlrpclib libraries in CPython (aka Python) 2.x before 2.7.9 and 3.x before 3.4.3, when accessing an HTTPS URL, do not (a) check the certificate against a trust store or verify that the server hostname matches a domain name in the subject's (b) Common Name or (c) subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid certificate. | 2014-12-12 | 6 | XSS |
正如你所见,除非你有一个200"显示它是不可读的我希望它具有可读格式,我想我每隔X大小在描述文本中引入一个/ n。
我希望我能说清楚,虽然我描述它的方式并不是最好的...提前谢谢你!
答案 0 :(得分:1)
如果您的意思是,在使用命令行工具时需要这样做以获得更好的工作体验,那么有各种解决方案。
您可以使用;
,而不是使用\G
作为分隔符。区别在于:
mysql > select 1, 2, 3;
+---+---+---+
| 1 | 2 | 3 |
+---+---+---+
| 1 | 2 | 3 |
+---+---+---+
1 row in set (0.00 sec)
mysql > select 1, 2, 3\G
*************************** 1. row ***************************
1: 1
2: 2
3: 3
1 row in set (0.00 sec)
另一种可能性是设置不同的寻呼机。在Linux上工作时,您可以使用例如less
。
mysql > pager less -SFX
PAGER set to 'less -SFX'
当结果适合屏幕时,没有区别。如果没有,您可以使用箭头键向上/向下/向侧面滚动。
要再次关闭此功能,请执行
mysql > pager
Default pager wasn't set, using stdout.