Skip to content

Instantly share code, notes, and snippets.

@mgeeky
mgeeky / openvas-automate.sh
Last active September 27, 2025 13:30
OpenVAS automation script.
#!/bin/bash
#
# OpenVAS automation script.
# Mariusz B. / mgeeky, '17
# v0.2
#
trap ctrl_c INT
# --- CONFIGURATION ---
@hillar
hillar / virustotal-mhr.bro
Last active July 9, 2018 00:22
BRO :: Virustotal public API Query
##! 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
@karmi
karmi / .gitignore
Last active March 26, 2025 08:35
Example Nginx configurations for Elasticsearch (https://www.elastic.co/blog/playing-http-tricks-nginx)
nginx/
!nginx/.gitkeep
!nginx/logs/.gitkeep
src/
tmp/
@takscape
takscape / gist:5083554
Created March 4, 2013 16:36
Bro script for extracting all TCP stream contents.
@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;