Skip to content

Instantly share code, notes, and snippets.

View Frago9876543210's full-sized avatar

Frago9876543210

View GitHub Profile
@dmsul
dmsul / vim_crash_course.md
Last active May 31, 2025 12:37
Vim Crash Course

NOTE: Specific examples given for options, flags, commands variations, etc., are not comprehensive.

NORMAL MODE

Vim has 2 main "modes", that chance the behavior of all your keys. The default mode of Vim is Normal Mode and is mostly used for moving the cursor and navigating the current file.

Some important (or longer) commands begin with ":" and you will see the text you enter next at the bottom left of the screen.

:q[uit] - quit (the current window of) Vim. ("Window" here is internal to Vim, not if you have multiple OS-level windows of Vim open at once.)
:q! - force quit (if the current buffer has been changed since the last save)
:e[dit] {filename} - read file {filename} into a new buffer.

@RabaDabaDoba
RabaDabaDoba / ANSI-color-codes.h
Last active July 15, 2025 21:18 — forked from iamnewton/bash-colors.md
The entire table of ANSI color codes working in C!
/*
* This is free and unencumbered software released into the public domain.
*
* For more information, please refer to <https://unlicense.org>
*/
//Regular text
#define BLK "\e[0;30m"
#define RED "\e[0;31m"
#define GRN "\e[0;32m"
@yarjor
yarjor / hexrays.c
Last active January 26, 2024 14:58
[Decompiler Comparison] #radare2 #r2 #ida #idapro #retdec #r2dec #radeco #hexrays
int __cdecl main(int argc, const char **argv, const char **envp)
{
char *src; // [esp+Ch] [ebp-Ch]
puts("\n .:: Megabeets ::.\n");
puts("Show me what you got?");
__isoc99_scanf("%ms", &src);
if ( beet(src) )
puts("Success!\n");
else
@itsho
itsho / HwndHostEx.cs
Last active April 30, 2025 06:09
Hosting an app inside a WPF app (System.Windows.Interop)
using System;
using System.Runtime.InteropServices;
using System.Windows.Interop;
namespace HostingAppTest
{
// based on https://stackoverflow.com/q/30186930/426315
public class HwndHostEx : HwndHost
{
private readonly IntPtr _childHandle;
@Intyre
Intyre / Wahoo_Elemnt.md
Last active July 8, 2025 14:21
Wahoo Elemnt - Tips, tricks and custom images
#!/usr/bin/python3
# -*- coding: utf-8 -*-
import frida
import sys
import json
import argparse
import subprocess
import base64
import time
@incogbyte
incogbyte / mixunpin.js
Last active June 29, 2025 09:53
Frida script to bypass common methods of sslpining Android
console.log("[*] SSL Pinning Bypasses");
console.log(`[*] Your frida version: ${Frida.version}`);
console.log(`[*] Your script runtime: ${Script.runtime}`);
/**
* by incogbyte
* Common functions
* thx apkunpacker, NVISOsecurity, TheDauntless
* Remember that sslpinning can be custom, and sometimes u need to reversing using ghidra,IDA or something like that.
* !!! THIS SCRIPT IS NOT A SILVER BULLET !!