writing this down before i forget.
main takeaways:
- restart Windows when in doubt.
- Don't use Hyper-V's "External" virtual switches.
- Instead:
When using the official MISP ova, the baseurl is set to https://localhost:8443
.
This makes using the web interface difficult on any other machine than the VM
(which is the default, because the OVA doesn't come with Xwin/Xorg)
because every link on the web interface will attempt to redirect you
to `https://localhost:8443' instead of the actual URL you're using.
The solution is to modify the baseurl in MISP's config.php
file:
sudo -u www-data vim /var/www/MISP/app/Config/config.php
git config --global --add protocol.keybase.allow always |
from pandas import json_normalize | |
with open(os.path.join(os.path.curdir, "samples/joesand-24004.json")) as f: | |
data = json.load(f) | |
output = json_normalize(data) | |
transposed_output = output.transpose() | |
transposed_output.to_excel("output.xlsx") |
Official docs: https://gnupg.org/documentation/manuals/gnupg/GPG-Input-and-Output.html#GPG-Input-and-Output
List keys:
gpg -k
#!/usr/bin/env python3 | |
import requests | |
import os | |
from dotenv import load_dotenv | |
from datetime import datetime | |
from azure.storage.common import CloudStorageAccount | |
load_dotenv('.env') |