Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
🤦‍♂️

Ali Borhani alibo

💭
🤦‍♂️
View GitHub Profile
@alibo
alibo / shecan.ir-servers.csv
Last active January 30, 2023 10:58
shecan.ir proxy (sni, http, tcp) servers
View shecan.ir-servers.csv
IP Date
50.7.87.2 Jan 9 2023
50.7.87.3 Jan 9 2023
50.7.87.4 Jan 9 2023
50.7.87.5 Jan 9 2023
50.7.87.6 Jan 9 2023
50.7.85.34 Jan 9 2023
50.7.85.35 Jan 9 2023
50.7.85.37 Jan 9 2023
50.7.85.38 Jan 9 2023
@alibo
alibo / minios3ceph.md
Created August 21, 2022 13:29 — forked from alexcpn/minios3ceph.md
Mino S3 Gateway(GUI) for Ceph backed S3
View minios3ceph.md

Mino S3 Gateway(GUI) for Ceph backed S3

Step 1: Installing S3 on Rook-Ceph

Follow https://rook.io/docs/rook/v1.4/ceph-object.html

Create the CephObjectStore as described above and then instead of creating a ObjectBucketCalim, create a CephObjectStoreUser

cat << EOF | kubectl apply -f -
View gist:494ba587c5665572d8b41cc3e270d6b8
sudo tshark -i eth0 -f 'port 80 or 443' -R 'http.host matches ".*?youtube\.com.*"' -S -V -l -T fields -e ip.src -e ip.src_host -e ip.dst -e ip.dst_host -e http.accept -e http.accept_encoding -e http.accept_language -e http.authbasic -e http.authorization -e http.cache_control -e http.connection -e http.content_encoding -e http.content_length -e http.content_length_header -e http.content_type -e http.cookie -e http.date -e http.host -e http.last_modified -e http.location -e http.notification -e http.proxy_authenticate -e http.proxy_authorization -e http.proxy_connect_host -e http.proxy_connect_port -e http.referer -e http.request -e http.request.full_uri -e http.request.method -e http.request.uri -e http.request.version -e http.response -e http.response.code -e http.response.phrase -e http.sec_websocket_accept -e http.sec_websocket_extensions -e http.sec_websocket_key -e http.sec_websocket_protocol -e http.sec_websocket_version -e http.server -e http.set_cookie -e http.transfer_encoding -e http.upgrade -e http
@alibo
alibo / README.md
Created May 23, 2021 05:49 — forked from bobrik/README.md
CFS hiccups
View README.md
@alibo
alibo / shadowsocks_ubuntu1604.org
Created January 28, 2021 11:24 — forked from nuhuo08/shadowsocks_ubuntu1604.org
Install Shadowsocks-libev + simple-obfs on Ubuntu 16.04
View shadowsocks_ubuntu1604.org

Install Shadowsocks-libev + simple-obfs on Ubuntu 16.04

Install shadowsocks-libev via Ubuntu PPA

sudo apt-get install software-properties-common -y
sudo add-apt-repository ppa:max-c-lv/shadowsocks-libev -y
sudo apt-get update
sudo apt install shadowsocks-libev
@alibo
alibo / tlslog.go
Last active September 3, 2020 17:22
Capture TLS traffic and log SNI and TLS version using GoPacket and TLSx: (https://github.com/google/gopacket & https://github.com/dreadl0ck/tlsx)
View tlslog.go
// It's modified version of: https://github.com/dreadl0ck/tlsx/blob/master/example/main.go
package main
import (
"flag"
"fmt"
"log"
"os"
"sync"
@alibo
alibo / helloworld.pb.go
Created August 3, 2020 10:54
GRPC HTTP2+TLS Helloworld example
View helloworld.pb.go
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.23.0
// protoc v3.12.4
// source: helloworld.proto
package main
import (
context "context"
@alibo
alibo / http2.go
Created July 20, 2020 18:35
Simple HTTP2 echo headers
View http2.go
package main
import (
"flag"
"fmt"
"log"
"net/http"
"time"
)
@alibo
alibo / cafebazaar-apk-downloader.sh
Last active February 19, 2021 16:13
[Updated: 19 Feb 2021] Cafebazaar APK Downloader
View cafebazaar-apk-downloader.sh
#!/bin/bash
pkg=$1
sdk=${2:-22}
cpu=${3:-x86,armeabi-v7a,armeabi}
body=$(cat << EOF
{
"properties": {
"language": 2,
@alibo
alibo / main.go
Last active May 27, 2020 04:15 — forked from walm/main.go
Simple Golang DNS Server (simplified version)
View main.go
package main
import (
"fmt"
"log"
"strconv"
"github.com/miekg/dns"
)