Skip to content

Instantly share code, notes, and snippets.

View hakanbaysal's full-sized avatar
💻
I'm Coding

Hakan Baysal hakanbaysal

💻
I'm Coding
View GitHub Profile
@hakanbaysal
hakanbaysal / README.md
Created January 22, 2023 21:17 — forked from hassansin/README.md
Remote Debugging with XDebug 2.1

XDebug

A PHP extension that allows you to:

  1. walk through your code by Remote Debugging
  2. find bottlenecks in your application by Profiling
  3. find Code Coverage in a single request
  4. trace your application by logging all function calls
@hakanbaysal
hakanbaysal / README.md
Created September 24, 2022 19:39 — forked from WisdomSky/README.md
Signal Server Installation v1.88 Full Guide

# Requirements

  • Java 11
  • Maven
  • Redis
  • PostgreSQL
@hakanbaysal
hakanbaysal / install-kibana.sh
Created August 5, 2021 16:04 — forked from EikeDehling/install-kibana.sh
Kibana install script debian (as root)
# Install elasticsearch
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | apt-key add -
apt-get install apt-transport-https
echo "deb https://artifacts.elastic.co/packages/5.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-5.x.list
apt-get update
apt-get install kibana
# Configure elastic
sed -i '/#server.host: 192.168.0.1/c\server.host: 0.0.0.0' /etc/kibana/kibana.yml
@hakanbaysal
hakanbaysal / read_pcap_data.py
Created February 19, 2021 15:56 — forked from iddoeldor/read_pcap_data.py
iterate over pcap, base64 decode packet data w/ python
import json
from pprint import pprint
from scapy.all import *
packets = rdpcap('sniff.cap')
# Let's iterate through every packet
c = 1
arr = []
for packet in packets: