zeek/testing/btest/scripts/base/protocols/postgresql/bad-startup-message.zeek
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

12 lines
426 B
Plaintext

# @TEST-DOC: Startup message triggering integer overflow
# @TEST-REQUIRES: ${SCRIPTS}/have-spicy
# @TEST-EXEC: zeek -b -Cr ${TRACES}/postgresql/bad-startup-message-1.pcap ${PACKAGE} %INPUT
# @TEST-EXEC: zeek-cut -m ts uid id.orig_h id.orig_p id.resp_h id.resp_p service < conn.log > conn.cut
#
# @TEST-EXEC: btest-diff conn.cut
# @TEST-EXEC: test ! -f reporter.log
@load base/protocols/conn
@load base/protocols/postgresql