Skip to content

Instantly share code, notes, and snippets.

View DeanF's full-sized avatar

Dean Fenster DeanF

View GitHub Profile
@silence-is-best
silence-is-best / gist:3a3b748bd8897535347c46a67c0e282a
Created August 27, 2020 19:08
AgentTesla Telegram exil yara
rule Agenttesla_telegram_bin
{
meta:
author = "James_inthe_box"
reference = "https://app.any.run/tasks/b4ceef1e-a649-44b7-9e0c-e53c3ab05354"
date = "2020/08"
maltype = "RAT"
strings:
from itertools import chain
import inspect
# very naive deastruct implementation (not native...)
def _destruct(selector):
def _(value):
if isinstance(selector, dict):
yield from chain.from_iterable(_destruct(selector[k])(value[k]) for k in selector)
@pylover
pylover / a2dp.py
Last active March 11, 2024 03:06
Fixing bluetooth stereo headphone/headset problem in ubuntu 16.04, 16.10 and also debian jessie, with bluez5.
#! /usr/bin/env python3
"""Fixing bluetooth stereo headphone/headset problem in debian distros.
Workaround for bug: https://bugs.launchpad.net/ubuntu/+source/indicator-sound/+bug/1577197
Run it with python3.5 or higher after pairing/connecting the bluetooth stereo headphone.
This will be only fixes the bluez5 problem mentioned above .
Licence: Freeware