Skip to content

Instantly share code, notes, and snippets.

View MuntashirAkon's full-sized avatar
🚫
Not available

Muntashir Al-Islam MuntashirAkon

🚫
Not available
View GitHub Profile
@MuntashirAkon
MuntashirAkon / ECDH.java
Last active June 20, 2025 17:32 — forked from zcdziura/Crypto Test
Encryption using Elliptic Curves and Diffie-Hellman key exchanges
import java.io.UnsupportedEncodingException;
import java.security.InvalidAlgorithmParameterException;
import java.security.InvalidKeyException;
import java.security.Key;
import java.security.KeyPair;
import java.security.KeyPairGenerator;
import java.security.NoSuchAlgorithmException;
import java.security.NoSuchProviderException;
import java.security.PrivateKey;
import java.security.PublicKey;
@MuntashirAkon
MuntashirAkon / mmssms_to_qksms.php
Created April 25, 2020 14:26
Convert mmssms.db to QKSMS compatible json file
<?php
if(!isset($argv[1])){
echo "USAGE: ${argv[0]} <mmssms.db file>\n";
exit(1);
}
$db_file = $argv[1];
$db = new SQLite3($db_file);
$stmt = $db->prepare("SELECT * FROM sms");
@MuntashirAkon
MuntashirAkon / macos-terminal-proxy.md
Last active December 17, 2025 09:19
Guide to enable macOS Terminal to respect system proxy

Copy and paste the code below at the beginning of ~/.bash_profile.

export http_proxy=`scutil --proxy | awk '\
  /HTTPEnable/ { enabled = $3; } \
  /HTTPProxy/ { server = $3; } \
  /HTTPPort/ { port = $3; } \
  END { if (enabled == "1") { print "http://" server ":" port; } }'`
export HTTP_PROXY="${http_proxy}"
export https_proxy=`scutil --proxy | awk '\
@MuntashirAkon
MuntashirAkon / ebooksites.txt
Created July 9, 2019 14:31
Deceptive Ebook Sites (Can be used with Adblock)
||playperks.net
||allbookserve.org
||bookfreenow.com
||pdfsu.online
||akeybooks.com
||outofprint.cc
||get-ebooks.club
||mybooklibrary.com
||iread-now.com
||recmedia.me
@MuntashirAkon
MuntashirAkon / disablespindump.sh
Created November 29, 2017 19:55
DisableSpindump
#!/bin/bash
#
# disablespindump
# Script to disable spindump
#
# (c) Muntashir Al-Islam
# License: MIT License
#
@MuntashirAkon
MuntashirAkon / littlesnitchtoggler.sh
Last active October 7, 2022 03:26
LittleSnitchToggler
#!/bin/bash
#
# LittleSnitchToggler
# Script to enable/disable Little Snitch
# (c) Muntashir Al-Islam
# License: MIT License
#
# Alert if not a root user