Skip to content

Instantly share code, notes, and snippets.

Eadom Liu Eadom

Block or report user

Report or block Eadom

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Eadom
Eadom / open-vm-tools-vmware-ubuntu-sharing.md
Created Jun 11, 2018 — forked from darrenpmeyer/open-vm-tools-vmware-ubuntu-sharing.md
open-vm-tools and VMWare Shared Folders for Ubuntu guests
View open-vm-tools-vmware-ubuntu-sharing.md

(NB: adapted from this Ask Ubuntu thread -- tested to work with Ubuntu 16 LTS branches and Ubuntu 17.10)

Unlike using VMWare Tools to enable Linux guest capabilities, the open-vm-tools package doesn't auto-mount shared VMWare folders. This can be frustrating in various ways, but there's an easy fix.

TL;DR

Install open-vm-tools and run:

sudo mount -t fuse.vmhgfs-fuse .host:/ /mnt/hgfs -o allow_other
@Eadom
Eadom / 0ctf2018_zerofs_exp.c
Created Apr 3, 2018
Exploit of zerofs at 0ctf2018
View 0ctf2018_zerofs_exp.c
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <assert.h>
#include <sys/mman.h>
#define UID 1000
@Eadom
Eadom / vm_escape_0ctf2017_finals.c
Created Jun 15, 2017
Exploitation of vm_escape in 0CTF2017 Finals
View vm_escape_0ctf2017_finals.c
// 0CTF 2017 finals
// vm_escape
// @Eadom
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/ioport.h>
#include <linux/slab.h>
#include <linux/string.h>
#include <linux/delay.h>
You can’t perform that action at this time.