Skip to content

Instantly share code, notes, and snippets.

View muhiminulhasan's full-sized avatar
🎯
Focusing

A. S. M. Muhiminul Hasan muhiminulhasan

🎯
Focusing
View GitHub Profile
@muhiminulhasan
muhiminulhasan / writeup.md
Created August 21, 2026 15:18
Supply chain attack on arrayref

Supply chain attack on arrayref: PowerShell Backdoor "AzureAccount.ps1" (AzureKits)

Classification: Remote Access Trojan / Backdoor with credential-reconnaissance capability

Detection name: Trojan:PowerShell/ProcmacSteal.LTSN!MTB (Microsoft Defender)

Sample: AzureAccount.ps1 — 35,578 bytes, 965 lines, single-stage PowerShell

SHA-256: 492F2AB86F8D8911ADC79C10EC1541704F5311D207D9D799B0D2A57FCC6A4391

@muhiminulhasan
muhiminulhasan / README.md
Last active September 12, 2026 17:15
Fix for Windows 11 missing Taskbar Toolbands. Real-time Network Speed Meter (Up/Down) with Auto-Positioning and Light/Dark mode support.

Windows 11 Network Speed "Taskbar Band" Overlay

A lightweight, theme-aware Python utility that restores a real-time network speed monitor to the Windows 11 taskbar.

In Windows 11, Microsoft redesigned the taskbar and officially deprecated Taskbar Toolbands. This change broke popular utilities like DUmeter, leaving power users without a native way to view upload and download speeds at a glance. Existing third-party alternatives often require heavy installations, lack theme support, or fail to align with the new centered taskbar design.

This script does not modify system files or inject code into explorer.exe. Instead, it creates a high-performance PyQt6 overlay that mimics the behavior of the classic taskbar band:

@muhiminulhasan
muhiminulhasan / JavascriptRecon.md
Created February 10, 2025 23:48 — forked from fuckup1337/JavascriptRecon.md
My Javascript Recon Process - BugBounty

Description

This is a simple guide to perform javascript recon in the bugbounty

Steps

  • The first step is to collect possibly several javascript files (more files = more paths,parameters -> more vulns)
@muhiminulhasan
muhiminulhasan / electricity_bill.py
Created December 20, 2024 15:03
Tariff-Based Electricity Bill Calculator for West Zone Power Distribution Company.
import typer
from rich.console import Console
from rich.table import Table
from rich.panel import Panel
from rich.text import Text
import math # Added for ceiling function
# Initialize typer app and rich console
app = typer.Typer()
console = Console()
<?php
use Illuminate\Console\Command;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Schema;
class SafeMigrate extends Command
{
protected $signature = 'migrate:safe';
protected $description = 'Run migrations safely, skipping already migrated files';
@muhiminulhasan
muhiminulhasan / README.md
Created June 1, 2024 23:31
This Python script generates a Blogger backup XML file from a collection of HTML files in a specified directory.
@muhiminulhasan
muhiminulhasan / .htaccess
Created January 26, 2022 17:43
Block Bad Bots
<IfModule mod_setenvif.c>
# SetEnvIfNoCase User-Agent ^$ bad_bot
SetEnvIfNoCase User-Agent "^12soso.*" bad_bot
SetEnvIfNoCase User-Agent "^192.comAgent.*" bad_bot
SetEnvIfNoCase User-Agent "^1Noonbot.*" bad_bot
SetEnvIfNoCase User-Agent "^1on1searchBot.*" bad_bot
SetEnvIfNoCase User-Agent "^3D_SEARCH.*" bad_bot
SetEnvIfNoCase User-Agent "^3DE_SEARCH2.*" bad_bot
SetEnvIfNoCase User-Agent "^3GSE.*" bad_bot
SetEnvIfNoCase User-Agent "^50.nu.*" bad_bot
@muhiminulhasan
muhiminulhasan / _headers
Created January 23, 2022 17:28
🔐 Security headers for cloudflare pages
/*
X-Frame-Options: DENY
X-Content-Type-Options: nosniff
Referrer-Policy: no-referrer
Permissions-Policy: document-domain=()
@muhiminulhasan
muhiminulhasan / safesearch.rsc
Created September 23, 2021 12:48
This RouterOS script will add DNS entries to enforce safe search on search engines.
/ip dns static
add address=216.239.38.119 name=restrictmoderate.youtube.com ttl=2 comment=ForceSafeSearch
add address=216.239.38.119 name=youtube.com ttl=2 comment=ForceSafeSearch
add address=216.239.38.119 name=www.youtube.com ttl=2 comment=ForceSafeSearch
add address=216.239.38.119 name=m.youtube.com ttl=2 comment=ForceSafeSearch
add address=216.239.38.119 name=youtubei.googleapis.com ttl=2 comment=ForceSafeSearch
add address=216.239.38.119 name=youtube.googleapis.com ttl=2 comment=ForceSafeSearch
add address=216.239.38.119 name=youtube-nocookie.com ttl=2 comment=ForceSafeSearch
add address=216.239.38.119 name=www.youtube-nocookie.com ttl=2 comment=ForceSafeSearch
add address=216.239.38.120 name=restrict.youtube.com ttl=2 comment=ForceSafeSearch
@muhiminulhasan
muhiminulhasan / adulttldblock.rsc
Last active February 13, 2024 13:27
Block all adult TLDs on mikrotik routeros.
/ip dns static
add address=127.0.0.1 regexp="\\.(xxx|webcam|sexy|porn|cam|adult)\$"
/ip firewall layer7-protocol
add name=BlockAdult regexp="\\.(xxx|webcam|sexy|sex|porn|cam|adult)\$"
/ip firewall filter
add action=reject chain=forward layer7-protocol=BlockAdult