Skip to content

Commit

Permalink
lua: expose hashing functions to lua scripts
Browse files Browse the repository at this point in the history
Expose md5, sha1, and sha256 to Lua scripts with
`require("suricata.hashing")`.

Ticket: 7073
  • Loading branch information
jasonish committed Jan 21, 2025
1 parent 575ef71 commit f4330e9
Show file tree
Hide file tree
Showing 4 changed files with 417 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,7 @@ noinst_HEADERS = \
util-lua-dnp3-objects.h \
util-lua-dns.h \
util-lua.h \
util-lua-hashlib.h \
util-lua-hassh.h \
util-lua-http.h \
util-lua-ja3.h \
Expand Down Expand Up @@ -1060,6 +1061,7 @@ libsuricata_c_a_SOURCES = \
util-lua-dnp3.c \
util-lua-dnp3-objects.c \
util-lua-dns.c \
util-lua-hashlib.c \
util-lua-hassh.c \
util-lua-http.c \
util-lua-ja3.c \
Expand Down
Loading

0 comments on commit f4330e9

Please sign in to comment.