cleaned up old mssql queries
This commit is contained in:
parent
ba6765415b
commit
2d554cc1c5
1 changed files with 0 additions and 22 deletions
|
@ -1,25 +1,3 @@
|
|||
-- name: InsertFileMsofficeOleid :exec
|
||||
INSERT INTO msoffice_oleid (
|
||||
file_id, data
|
||||
) VALUES ($1, $2);
|
||||
|
||||
-- name: InsertFileMsofficeOlevba :exec
|
||||
INSERT INTO msoffice_olevba (
|
||||
file_id, data
|
||||
) VALUES ($1, $2);
|
||||
|
||||
-- name: InsertFileMsofficeMraptor :exec
|
||||
INSERT INTO msoffice_mraptor (
|
||||
file_id, data
|
||||
) VALUES ($1, $2);
|
||||
|
||||
-- name: GetMSOfficeData :one
|
||||
SELECT t1.file_id, t1.data AS oleid, t2.data AS olevba, t3.data AS mraptor
|
||||
FROM msoffice_oleid as t1
|
||||
LEFT join msoffice_olevba AS t2 ON t2.file_id = t1.file_id
|
||||
LEFT JOIN msoffice_mraptor AS t3 ON t3.file_id = t1.file_id
|
||||
WHERE t1.file_id = $1;
|
||||
|
||||
-- name: InsertMSOfficeResults :exec
|
||||
INSERT INTO msoffice (
|
||||
file_id, verdict, container_format, encrypted, file_format, vba_macros, xlm_macros,
|
||||
|
|
Loading…
Add table
Reference in a new issue