Skip to content

Instantly share code, notes, and snippets.

Migration guide to new Background Jobs backend

As of MISP version 2.4.151 we introduced a simpler way to handle background jobs without relying in CakeResque as this library is no longer mantained.

For the time being both background jobs backends will be supported, but we plan to phase out the CakeResque one in a near future.

The new backend requires Supervisor and some extra PHP packages.

This guide is intended for Ubuntu/Debian systems

Install requirements

@RichieB2B
RichieB2B / mounting.sh
Last active January 30, 2021 22:01 — forked from aweibell/mounting.sh
Mount zfs from luks-encrypted drive when booting from Ubuntu Live CD
#!/usr/bin/env bash
echo "Select disk:"
select CHOICE_DISK in $(ls /dev/disk/by-id/ | grep -v "\-part");
do
echo "Selected ${CHOICE_DISK}"
break
done
@RichieB2B
RichieB2B / inject-pin.sh
Created March 9, 2020 12:22
PIN inject script for openvpn PKCS11 smart cards
#!/bin/bash
cd /etc/openvpn
function waitforport {
i=0
# Wait for openvpn management interface
while ! timeout 1 bash -c 'cat < /dev/null > /dev/tcp/127.0.0.1/8888' 2> /dev/null; do
i=$((i+1))
if [ $i -gt 10 ]; then