Skip to content

Instantly share code, notes, and snippets.

fhtagn unfo

Block or report user

Report or block unfo

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
@unfo
unfo / enum.sh
Created Apr 7, 2017
Linux priv esc. Might be out-dated script versions
View enum.sh
#!/bin/bash
BLACK="\033[30m"
RED="\033[31m"
GREEN="\033[32m"
YELLOW="\033[33m"
BLUE="\033[34m"
PINK="\033[35m"
CYAN="\033[36m"
WHITE="\033[37m"
View snippets-2016-09-21.xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<folders>
<folder>
<title>oscp</title>
<snippets>
<snippet>
<title>spawn tty</title>
<content>python -c 'import pty;pty.spawn("/bin/bash")'</content>
</snippet>
<snippet>
View how-to-oscp-final.md

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.

View charlie.rb
#date: 03/30/2005
#title: Charlie the Smiling Fish
#author: Jan Wikholm
#email: jw at jw dot fi
#comments: This was written in <6hrs once I heard I might actually have a chance at the prizes ;)
#----------------------------------------
#code:
# Hello IORCC judges.
module IORCC_entry
extend self
@X0nic
X0nic / disable-vagrant-time-sync.sh
Last active Jun 4, 2018
Disable vagrant time sync
View disable-vagrant-time-sync.sh
#List vms
VBoxManage list vms
#get status of time sync
VBoxManage getextradata <vm-name> VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled
#NOTE: Make sure to restart the VM after changing these settings.
#disable time sync
VBoxManage setextradata <vm-name> VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled 1
@unfo
unfo / trac-ticket.user.js
Created Mar 5, 2012
Extend TRAC ticket view to be 80% wide
View trac-ticket.user.js
// ==UserScript==
// @name Expand my Tickets!
// @namespace http://jw.fi/
// @version 0.1
// @description Expands Trac ticket view to be 80% wide to better fit bigger resolutions
// @match https://*trac*/*
// @copyright 2012+, Jan Wikholm
// ==/UserScript==
function addStyle(style) {
You can’t perform that action at this time.