Skip to content

Instantly share code, notes, and snippets.

@falkenbt
falkenbt / generate_kibana_index_patterns.sh
Created August 31, 2017 13:09
Generate Kibana index patterns and set the default Index pattern incl. base auth
#/bin/bash
if [[ $# -eq 0 ]] ; then
echo "Usage: `basename "$0"` <Kibana-URL> [noauth]"
echo "Example: `basename "$0"` http://localhost:5601"
exit 1
fi
AUTH=""
if [[ "$2" != "noauth" ]]; then

#petya #petrWrap #notPetya

Win32/Diskcoder.Petya.C

Ransomware attack.

About

This gist was built by the community of the researchers and was scribed by Kir and Igor from the QIWI/Vulners. We are grateful for the help of all those who sent us the data, links and information. Together we can make this world a better place!

Gist updates

@jin
jin / vivian_balakrishnan_sudoku.js
Last active February 14, 2016 03:59
@VivianBalakrishnan's translation of Lee Hsien Loong's Sudoku solver.
/****************************************************************
* Sudoku Solver
*
* Translated into Javascript from original code in C++
* by Lee Hsien Loong
* The MIT License (MIT)
* Copyright (c) 2015 Vivian Balakrishnan
*
*
****************************************************************/
@AKB428
AKB428 / iftop_osx_insrall
Last active March 4, 2018 08:33
iftopをOSXにbrewでイントール
Siori@Siori-no-MacBook-Air:~/code/git_akb428/chino (master)$ brew install iftop
==> Downloading http://www.ex-parrot.com/pdw/iftop/download/iftop-1.0pre4.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/iftop/1.0pre4 --mandir=/usr/local/Cellar/iftop/1.0pre4/share/man
==> make install
==> Caveats
iftop requires superuser privileges. You can either run the program
via `sudo`, or change its ownership to root and set the setuid bit:
$ sudo chown root:wheel /usr/local/Cellar/iftop/1.0pre4/sbin/iftop
$ sudo chmod u+s /usr/local/Cellar/iftop/1.0pre4/sbin/iftop