Skip to content

Instantly share code, notes, and snippets.

View ceylanb's full-sized avatar
🎯
Focusing

Ceylan Bozoğullarından ceylanb

🎯
Focusing
View GitHub Profile
https://httpworkbench.com/
https://app.interactsh.com/
https://messwithdns.net/
https://webhook.site/
@ceylanb
ceylanb / pretty-csv.sh
Created October 4, 2023 14:22
Pretty CSV MacOS
function pretty_csv {
perl -pe 's/((?<=,)|(?<=^)),/ ,/g;' "$@" | column -t -s, | less -F -S -X -K
}
@ceylanb
ceylanb / tports
Created September 28, 2023 07:26
#!/usr/bin/env sh
# Help message function
print_help() {
echo "Usage: $0 <TYPE> <NUM> <SEP>"
echo " TYPE: Port type to filter (e.g. udp, tcp)"
echo " NUM: Number of results to retrieve"
echo " SEP: Seperator (e.g. , or .)"
}
from flask import Flask, request, send_from_directory
import urllib.parse
import logging
log = logging.getLogger('werkzeug')
log.setLevel(logging.ERROR)
app = Flask(__name__)
@app.route("/")
def hello_world():
alert('PoC by Ceylan B.');
@ceylanb
ceylanb / network
Last active January 30, 2022 21:33
sudo /usr/lib/vmware/bin/vmware-netcfg
su
ifconfig eth0 10.152.152.12 netmask 255.255.192.0
ip rule add from all lookup main pref 0
busybox route add default gw 10.152.152.10
ndc resolver setnetdns 100 localdomain 10.152.152.10
let mapleader =","
call plug#begin('~/.config/nvim/plugged')
Plug 'tpope/vim-surround'
Plug 'scrooloose/nerdtree'
Plug 'junegunn/goyo.vim'
Plug 'PotatoesMaster/i3-vim-syntax'
Plug 'jreybert/vimagit'
Plug 'LukeSmithxyz/vimling'
Plug 'vimwiki/vimwiki'
@ceylanb
ceylanb / hacker-radiio
Created December 11, 2019 06:18 — forked from jars/hacker-radiio
Music For Hackers
Music For Hackers
==
To a hacker, there's something distracting about booting up a GUI to listen to your tunes. You live your life in the terminal, you treat the mouse like a high voltage tap.
So give these commands a run in the terminal, and toss on your headphones.
sudo apt-get install mplayer
echo "alias defcon-start='nohup mplayer http://sfstream1.somafm.com:6200 > /dev/null 1>&2 &'" >> ~/.bashrc
echo "alias defcon-stop='killall -9 mplayer'" >> ~/.bashrc
@ceylanb
ceylanb / <b>music-with-c" %3C
Last active October 28, 2019 21:18
"aasd<b>aa
echo "main(i){for(i=0;;i++)putchar(((i*(i>>3|i>>11)&43&i>>8))^(i&i>>12|i>>4));}" | gcc -x c - && ./a.out | aplay