Skip to content

Instantly share code, notes, and snippets.

View mikesmullin's full-sized avatar

Mike Smullin mikesmullin

View GitHub Profile
ikhsanalatsary /
Last active May 20, 2024 16:30
Setup cmder with WSL 2

Using WSL 2

  1. Open cmder
  2. On the menu, open Settings option and then select Startup > Tasks from the menu tree (or just hit Win + Alt + T)
  3. Click the “+” button to add a new task and fill in the fields as follow:
  4. Name: {zsh::home}
  5. Task Parameters:
    /icon "%CMDER_ROOT%\icons\cmder.ico"
mikesmullin / beacon.asm
Last active February 13, 2021 23:03
ctf wargame beacon.asm Windows 32-bit Winsock API (static; no dependencies) 2,560 bytes
; compile with MASM32
; C:\masm32\bin\ml /c /Zd /coff beacon.asm
; C:\masm32\bin\Link /SUBSYSTEM:WINDOWS beacon.obj
; beacon.exe
.model flat, stdcall
option casemap :none
include C:\masm32\include\
include C:\masm32\include\
austinmarton / sendRawEth.c
Created February 27, 2012 08:40
Send a raw Ethernet frame in Linux
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
#include <arpa/inet.h>
#include <linux/if_packet.h>
#include <stdio.h>