Skip to content

Instantly share code, notes, and snippets.

View htr-tech's full-sized avatar
馃泴

Tahmid Rayat htr-tech

馃泴
View GitHub Profile
@htr-tech
htr-tech / RE_0x1.md
Last active August 7, 2023 17:42
CTF CHALLENGE "KEYGEN" Writeup

Howdy,

Welcome to the writeup for "Keygen" - a CTF challenge that will mainly test your Network analysis skills (little bit of searching too).

Let's dive in.

Simple Inspection

Firstly, the archive name is "RE_0x1.zip". (that was just for distracting馃槢)

@htr-tech
htr-tech / GNUPG.md
Last active August 16, 2022 07:04
GNUPG Tutorial

GNUPG Tutorial

  1. Generate a GPG key pair : gpg --full-gen-key

  2. Please select what kind of key you want: (1) RSA and RSA (default)

  3. What keysize do you want? (3072) : 4096

  4. Key is valid for? (0) : Set the Expiry Date (eg: 2y)

@htr-tech
htr-tech / powershell.ps1
Created September 21, 2021 16:14
PowerShell steps to fix slow startup
# Source : https://stackoverflow.com/a/59343705
$env:PATH = [Runtime.InteropServices.RuntimeEnvironment]::GetRuntimeDirectory()
[AppDomain]::CurrentDomain.GetAssemblies() | ForEach-Object {
$path = $_.Location
if ($path) {
$name = Split-Path $path -Leaf
Write-Host -ForegroundColor Yellow "`r`nRunning ngen.exe on '$name'"
ngen.exe install $path /nologo
}
curl -s https://api.github.com/users/htr-tech/repos | grep \"clone_url\" | awk '{print $2}' | sed -e 's/"//g' -e 's/,//g' | xargs -n1 git clone