mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 04:58:21 +00:00
Use sourcecode Sphinx directive more widely
It looks better by default with the RTD theme, Bro syntax highlighting is supported well enough, and I think will be more more consistent with the literalinclude usages, so being able to drop the extra Sphinx extension seems good.
This commit is contained in:
parent
9f642bfe5b
commit
a80d7ead6c
24 changed files with 209 additions and 476 deletions
|
@ -89,7 +89,7 @@ detect a reply for a ``GET http://`` request.
|
|||
:language: bro
|
||||
:linenos:
|
||||
|
||||
.. console::
|
||||
.. sourcecode:: console
|
||||
|
||||
$ bro -r http/proxy.pcap http_proxy_01.bro
|
||||
A local server is acting as an open proxy: 192.168.56.101
|
||||
|
@ -104,7 +104,7 @@ will extend our basic script to also consider the additional codes.
|
|||
:language: bro
|
||||
:linenos:
|
||||
|
||||
.. console::
|
||||
.. sourcecode:: console
|
||||
|
||||
$ bro -r http/proxy.pcap http_proxy_02.bro
|
||||
A local server is acting as an open proxy: 192.168.56.101
|
||||
|
@ -117,7 +117,7 @@ network.
|
|||
:language: bro
|
||||
:linenos:
|
||||
|
||||
.. console::
|
||||
.. sourcecode:: console
|
||||
|
||||
$ bro -r http/proxy.pcap http_proxy_03.bro
|
||||
A local server is acting as an open proxy: 192.168.56.101
|
||||
|
@ -140,7 +140,7 @@ Below is the complete script.
|
|||
:language: bro
|
||||
:linenos:
|
||||
|
||||
.. console::
|
||||
.. sourcecode:: console
|
||||
|
||||
$ bro -r http/proxy.pcap http_proxy_04.bro
|
||||
$ cat notice.log
|
||||
|
@ -178,7 +178,7 @@ using the :ref:`File Analysis Framework <file-analysis-framework>`
|
|||
:language: bro
|
||||
:linenos:
|
||||
|
||||
.. console::
|
||||
.. sourcecode:: console
|
||||
|
||||
$ bro -r bro.org.pcap file_extraction.bro
|
||||
Extracting file HTTP-FiIpIB2hRQSDBOSJRg.html
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue