Skip to content

Instantly share code, notes, and snippets.

View alibo's full-sized avatar
💭
🤦‍♂️

Ali Borhani alibo

💭
🤦‍♂️
View GitHub Profile
@alibo
alibo / iran-sanctions_blocker-sites.csv
Last active July 15, 2023 22:38
List of sites which block IPs come from Iran [UPDATING... (July 16, 2020)] #SANCTIONS
View iran-sanctions_blocker-sites.csv
Title URI
Flurry by Yahoo https://dev.flurry.com/secure/signup.do
Google NikCollection https://dl.google.com/edgedl/photos/nikcollection-full-1.2.11.dmg
Bitbucket http://bitbucket.org/
SoftLayer http://softlayer.com/
VirtualBox http://download.virtualbox.org/virtualbox/5.0.16/VirtualBox-5.0.16-105871-OSX.dmg
Docker Hub https://hub.docker.com/
Oracle http://oracle.com/
Java http://java.com
Sun http://sun.com
@alibo
alibo / 403.online-servers.csv
Last active April 5, 2023 09:54
Internal and External servers of 403.online
View 403.online-servers.csv
IP Type Date
10.202.10.4 Internal Feb 8 2023
10.202.10.5 Internal Feb 8 2023
10.202.10.6 Internal Feb 8 2023
10.202.10.7 Internal Feb 8 2023
10.202.10.8 Internal Feb 8 2023
10.202.10.8 Internal Feb 8 2023
10.202.8.213 Internal April 5 2023
10.202.8.214 Internal April 5 2023
185.233.104.162 External Feb 8 2023
@alibo
alibo / shecan.ir-servers.csv
Last active April 5, 2023 09:39
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 / 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 / zip_server.js
Last active January 24, 2023 11:59
Generating & Downloading zip folder on the fly (dynamically) using Node.JS
View zip_server.js
//@see https://www.npmjs.com/package/archiver
var archiver = require('archiver')
var http = require('http');
http.createServer(function(request, response) {
var archiver = archiver('zip')
archiver.pipe(response)
response.setHeader('Content-type', 'application/zip')
response.setHeader('Content-disposition', 'attachment; filename=file_name.zip');
@alibo
alibo / s3-slack-notifier-lambda.js
Created February 20, 2017 20:52
Send S3 events to s slack channel via Lambda and Node.js
View s3-slack-notifier-lambda.js
'use strict';
/*
Thanks to https://gist.github.com/vgeshel/1dba698aed9e8b39a464
*/
console.log('Loading function');
const aws = require('aws-sdk');
const s3 = new aws.S3({ apiVersion: '2006-03-01' });
@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 / 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,