NOTE - this was specifically built for a docker instance, with the Filebeat docker module collecting the logs.
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
docker run -ti --rm --mount src=kali-root,dst=/root --mount src=kali-postgres,dst=/var/lib/postgresql my-kali | |
# | |
# Notes to setup/run a persistent kali docker container (my notes to setup on my usual windows work PC) | |
# credit to @Airman604 | |
# https://medium.com/@airman604/kali-linux-in-a-docker-container-5a06311624eb | |
# https://hub.docker.com/r/kalilinux/kali-linux-docker/ | |
# https://www.kali.org/news/official-kali-linux-docker-images/ | |
# https://hub.docker.com/?ref=login&overlay=onboarding | |
# Setup Docker Desktop for Windows | |
# Requires Windows10 Pro and Hyper-V |
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/bash | |
# HELK Installation Script (Elasticsearch, Logstash, Kibana & Nginx) | |
# HELK build version: 0.9 (BETA Script) | |
# Author: Roberto Rodriguez @Cyb3rWard0g | |
# Description: This script installs every single component of the ELK Stack plus Nginx | |
# Blog: https://cyberwardog.blogspot.com/2017/02/setting-up-pentesting-i-mean-threat_98.html | |
# Fork version: 0.1 | |
# Fork Author: Ryan Watson @gentlemanwatson |
Often referred to as the "swiss army of knife" for TCP/IP networking, [Netcat][1] is an extremely versatile Linux utility that allows you to do anything under the sun using TCP/UDP sockets. It is one of the most favorite tools for system admins when they need to do networking related troubleshooting and experimentation.
In this tutorial, I am sharing a few useful netcat examples, although the sky is the limit when it comes to possible netcat
use cases. If you are using netcat
regularly, feel free to share your use case.
Note that when you are binding to well-known ports (0-1023) with nc
, you need root privilege. Otherwise, run nc
as a normal user.
$ nc -vn 192.168.233.208 5000