This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# OpenVAS automation script. | |
# Mariusz B. / mgeeky, '17 | |
# v0.2 | |
# | |
trap ctrl_c INT | |
# --- CONFIGURATION --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##! see https://www.virustotal.com/en/documentation/public-api/#getting-file-scans | |
# | |
# Virustotal public API file report query | |
# resource: a sha1 hash will retrieve the most recent report on a given sample. | |
# apikey: your API key. | |
# it is limited to at most 4 requests of any nature in any given 1 minute time frame | |
@load base/frameworks/files | |
@load base/frameworks/notice |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nginx/ | |
!nginx/.gitkeep | |
!nginx/logs/.gitkeep | |
src/ | |
tmp/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@load base/utils/files | |
global conn_files: table[string] of file &synchronized; | |
redef tcp_content_deliver_all_orig = T; | |
redef tcp_content_deliver_all_resp = T; | |
event tcp_contents(c: connection, is_orig: bool, seq: count, contents: string) | |
{ | |
local fname: string; |