Skip to content

Instantly share code, notes, and snippets.

View ingochris's full-sized avatar
🏸
ssh -l level1 blackbox.smashthestack.org -p2225

Christopher Ngo ingochris

🏸
ssh -l level1 blackbox.smashthestack.org -p2225
View GitHub Profile

How to pass the OSCP

  1. Recon
  2. Find vuln
  3. Exploit
  4. Document it

Recon

Unicornscans in cli, nmap in msfconsole to help store loot in database.

@ingochris
ingochris / cve_2016_0728.c
Created June 3, 2016 22:36 — forked from PerceptionPointTeam/cve_2016_0728.c
cve_2016_0728 exploit
/* $ gcc cve_2016_0728.c -o cve_2016_0728 -lkeyutils -Wall */
/* $ ./cve_2016_072 PP_KEY */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <keyutils.h>
#include <unistd.h>
#include <time.h>
@ingochris
ingochris / glass.html
Last active August 29, 2015 14:20 — forked from bwhite/glass.html
<html style="width:100%; height:100%; overflow:hidden">
<body style="width:100%; height:100%; overflow:hidden; margin:0">
<script>
function main() {
if (WS.scriptVersion(1)) return;
WS.subscribe("gesture:pebble:singleClick:UP", function () {
WS.control('SWIPE_LEFT');
});
WS.subscribe("gesture:pebble:singleClick:DOWN", function () {
WS.control('SWIPE_RIGHT');
/**
* Created by Umcookies on a potarto.
*/
API.on(API.chatLog("Use /background to set your new background and /player /vote /join /avatar to change the position of the respective UI elements", 1));
API.on(API.chatLog("You can use /move if any UI part's move, it wont prompt for any inputs. You can also use /keeppos which will check every second if a UI element has moved (recommended)"));
API.on(API.CHAT_COMMAND, awesomethings);
//variables
var backgroundurl = "https://cdn.plug.dj/_/static/images/community/background.ae45269504d5329fb78e47e9bd4be2da0698f284.jpg";
var playerWhereX = document.getElementById("playback").style.left.replace("px", "");
var playerWhereY = "54";