Skip to content

Instantly share code, notes, and snippets.

View jgru's full-sized avatar

Jan jgru

View GitHub Profile
@pr3l14t0r
pr3l14t0r / Dockerfile
Last active October 15, 2021 22:10
Idifference2.py Dockerfile
FROM python:3
RUN apt update \
&& apt install -y sleuthkit \
&& mkdir /images \
&& mkdir /DFXML \
&& cd /DFXML \
&& git clone https://github.com/dfxml-working-group/dfxml_python.git \
&& cd /DFXML/dfxml_python \
&& pip3 install .
@rgl
rgl / qemu-qmp.md
Last active September 10, 2023 16:24
qemu qmp

QEMU Machine Protocol (QMP) socket

Start QEMU with QMP UNIX socket and connect:

qemu-system-x86_64 -qmp unix:test.socket,server,nowait ...
nc -U test.socket
qmp-shell test.socket    # use the raw qmp interface. see https://github.com/0xef53/qmp-shell
qmp-shell -H test.socket # use the human interface.   see https://github.com/0xef53/qmp-shell
@cmer
cmer / haproxy.cfg
Last active April 15, 2024 09:54
Simple, no bullshit TCP port forwarding using HAProxy
listen l1
bind 0.0.0.0:443
mode tcp
timeout connect 4000
timeout client 180000
timeout server 180000
server srv1 host.example.com:9443