Skip to content

Instantly share code, notes, and snippets.

@AndreKR
AndreKR / wireshark_remote.bat
Created December 13, 2015 23:49
Wireshark remote
@echo off
set PLINK_PATH=C:\Program Files (x86)\PuTTY\plink.exe
set WIRESHARK_PATH=C:\Program Files\Wireshark\Wireshark.exe
if "%1" == "" goto :usage
"%PLINK_PATH%" -ssh %1 "tcpdump -ni %2 -s 0 -w - not port 22" | "%WIRESHARK_PATH%" -k -i -
goto :end
@AndreKR
AndreKR / elasticsearch_notes.md
Last active December 11, 2015 00:36
Elasticsearch notes

Elasticsearch notes

Things named "explain"

Three things can be explained in elasticsearch:

Explain for each hit how its score was computed (Docs: Explain)
GET //_search?explain