A list of useful commands for the FFmpeg command line tool.
Download FFmpeg: https://www.ffmpeg.org/download.html
Full documentation: https://www.ffmpeg.org/ffmpeg.html
A list of useful commands for the FFmpeg command line tool.
Download FFmpeg: https://www.ffmpeg.org/download.html
Full documentation: https://www.ffmpeg.org/ffmpeg.html
# IMPORTANT! | |
# This gist has been transformed into a github repo | |
# You can find the most recent version there: | |
# https://github.com/Neo23x0/auditd | |
# ___ ___ __ __ | |
# / | __ ______/ (_) /_____/ / | |
# / /| |/ / / / __ / / __/ __ / | |
# / ___ / /_/ / /_/ / / /_/ /_/ / | |
# /_/ |_\__,_/\__,_/_/\__/\__,_/ |
import json | |
import logging | |
from flask import Flask, g | |
from flask_oidc import OpenIDConnect | |
import requests | |
logging.basicConfig(level=logging.DEBUG) | |
app = Flask(__name__) |
# generate via: wevtutil gp Microsoft-Windows-Sysmon /getevents /getmessage | |
name: Microsoft-Windows-Sysmon | |
guid: 5770385f-c22a-43e0-bf4c-06f5698ffbd9 | |
helpLink: | |
resourceFileName: C:\Windows\Sysmon.exe | |
messageFileName: C:\Windows\Sysmon.exe | |
message: | |
channels: | |
channel: |
There are three main concepts with Rust:
These are fairly simple concepts, but they are often counter-intuitive to concepts in other languages, so I wanted to give a shot at
This Gist has been transfered into a Github Repo. You'll find the most recent version here.
When creating your rules for YARA keep in mind the following guidelines in order to get the best performance from them. This guide is based on ideas and recommendations by Victor M. Alvarez and WXS.
# install build deps | |
sudo yum install gcc gcc-c++ make expat-devel gettext-devel libcurl-devel \ | |
libffi-devel libxml2-devel libxslt-devel libyaml-devel postgresql-server \ | |
postgresql-devel readline-devel sqlite-devel openssl-devel ruby-devel \ | |
rubygems autoconf automake bison libtool libpcap-devel | |
# install rbenv | |
git clone https://github.com/sstephenson/rbenv.git ~/.rbenv | |
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build | |
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile |
input { | |
file { | |
type => "ossec" | |
path => "/var/ossec/logs/alerts/alerts.log" | |
sincedb_path => "/opt/logstash/" | |
codec => multiline { | |
pattern => "^\*\*" | |
negate => true | |
what => "previous" | |
} |
# Install Java 1.8 in CentOS/RHEL 6.X | |
sudo yum remove -y java-1.6.0-openjdk | |
wget --no-cookies \ | |
--no-check-certificate \ | |
--header "Cookie: oraclelicense=accept-securebackup-cookie" \ | |
"http://download.oracle.com/otn-pub/java/jdk/8-b132/jdk-8-linux-x64.rpm" \ | |
-O jdk-8-linux-x64.rpm | |
sudo rpm -Uvh jdk-8-linux-x64.rpm | |
sudo alternatives --install /usr/bin/java java /usr/java/jdk1.8.0/jre/bin/java 20000 | |
sudo alternatives --install /usr/bin/jar jar /usr/java/jdk1.8.0/bin/jar 20000 |