Skip to content

Instantly share code, notes, and snippets.

View dhrubabasu's full-sized avatar
👨‍🚀
Exploring

Dhruba Basu dhrubabasu

👨‍🚀
Exploring
View GitHub Profile
import sys
import asyncio
from aiohttp import ClientSession
async def fetch(url, session):
async with session.get(url) as response:
response = await response.read()
async def limit_fetch(sem, url, session):
async with sem:
@dhrubabasu
dhrubabasu / optimize.go
Created December 30, 2018 09:30
Optimizes images using pingo/jpegtran
package main
import (
"fmt"
"github.com/h2non/filetype"
"io/ioutil"
"os"
"os/exec"
"path/filepath"
"strconv"
@dhrubabasu
dhrubabasu / kali_osx_persistence_wifi.md
Created April 20, 2020 21:50 — forked from widdowquinn/kali_osx_persistence_wifi.md
Kali Linux Live USB with persistence and wireless on Macbook Pro

Kali Linux Bootable USB with Persistence and Wireless on OSX

Download the appropriate Kali Linux .iso

I used a 64 bit .iso image, downloaded via HTTP. I downloaded the amd64 weekly version, as the pool linux headers (needed below for installation of wireless drivers) were ahead of the stable release kernel.

Download the SHA256SUMS and SHA256SUMS.gpg files from the same location.