Skip to content

Instantly share code, notes, and snippets.

View wesinator's full-sized avatar

Wes wesinator

View GitHub Profile
@kvelakur
kvelakur / uuidv4.md
Last active April 9, 2023 04:38
Generating a Version 4 UUID using OpenSSL

Generating a Version 4 UUID using OpenSSL

A simple function that uses OpenSSL's RAND_bytes function to generate a Version 4 UUID.

/*++
Module Name:
main.cpp
Abstract:
This file contains program entry point.
@ricalo
ricalo / reset.sh
Created March 2, 2016 17:48
Ubuntu no sound after restart
pulseaudio -k && sudo alsa force-reload
@CabreraAldo
CabreraAldo / gist:d49073b6dad062b3b684
Created March 22, 2016 17:29
WMI to Disable Netbios
wmic nicconfig where (TcpipNetBiosOptions!=Null and TcpipBetbiosOptions!=2) call SetTcpipNetbios 2
@jesusgoku
jesusgoku / copy_with_progress.sh
Created March 25, 2016 17:01
Copy files with progress
rsync -ah --progress source-file destination
VBoxManage setextradata "VM Name" "VBoxInternal/Devices/acpi/0/Config/CustomTable" "/path/to/SLIC.BIN"
#!/bin/sh
# This is the command used to install pycurl with openssl on OSX (where curl and openssl have been installed with homebrew)
LDFLAGS="-L/usr/local/opt/openssl/lib -L/usr/local/opt/curl/lib" \
CFLAGS="-I/usr/local/opt/openssl/include -I/usr/local/opt/curl/include" \
PYCURL_CURL_CONFIG=/usr/local/opt/curl/bin/curl-config \
PYCURL_SSL_LIBRARY=openssl \
pip install --compile pycurl
"""
Script to download all ruleset matchs
You can download pykoodous from: https://github.com/Koodous/Scripts/blob/master/pykoodous.py
http://koodous.com
@fdrg21
"""
import pykoodous
import requests
@herrcore
herrcore / ksearch.py
Last active August 9, 2019 02:36
Ksearch provides a simple search interface for the amazing Koodous platform: https://koodous.com/
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#######################################################################
# Ksearch provides a simple search interface for the amazing Koodous
# platform: https://koodous.com/
#
# With Ksearch you have a simple way to integrate Koodous search into
# any of your python projects. This gives you the ability to quickly
# crowdsource the analysis of potentially malicious Android files.
#
@herrcore
herrcore / kalert.py
Last active August 9, 2019 02:37
Slackify your Koodous alerts!!
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#######################################################################
# Kalert provides a simple Slack alert integration for the amazing Koodous
# platform: https://koodous.com/
#
# Simply add your TOKEN and your SLACK url to the script and setup
# a cronjob to run the script ever 5min or whatever you want.
#
# Example: