Skip to content

Instantly share code, notes, and snippets.

@adliwahid
adliwahid / gist:f955b2538afd7cbdf1798fd829e47930
Created January 31, 2025 01:18 — forked from rishiloyola/gist:79f869749bf54d135f7f6fe61e0e99a7
[ELK Stack] Generate TLS certs for filebeat and logstash
1. Generate new domain name for logstash server.
For this tutorial
domain name = logstash-prod.xyz.com
ip = 1.2.3.4
* Enter to following directory
```
$ sudo mkdir /etc/pki
$ cd /etc/pki
@adliwahid
adliwahid / tmux-cheatsheet.markdown
Created March 28, 2016 23:46 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@adliwahid
adliwahid / demo_web_honeypot.py
Created March 23, 2016 23:38 — forked from glaslos/demo_web_honeypot.py
demo_web_honeypot
import SimpleHTTPServer
import SocketServer
paths = set()
class Handler(SimpleHTTPServer.SimpleHTTPRequestHandler):
def do_GET(self):
# Detect remote file inclusion
if '=http' in self.path: