A simple function that uses OpenSSL's RAND_bytes function to generate a Version 4 UUID.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*++ | |
Module Name: | |
main.cpp | |
Abstract: | |
This file contains program entry point. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pulseaudio -k && sudo alsa force-reload |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wmic nicconfig where (TcpipNetBiosOptions!=Null and TcpipBetbiosOptions!=2) call SetTcpipNetbios 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rsync -ah --progress source-file destination |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
VBoxManage setextradata "VM Name" "VBoxInternal/Devices/acpi/0/Config/CustomTable" "/path/to/SLIC.BIN" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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. | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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: |