Skip to content

Instantly share code, notes, and snippets.

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.

#!/usr/bin/perl
# Converts OPML to org-mode
# perl convert.pl file.opml > file.org
# Looking to convert the Feedly OMPL feed to something I can use with elfeed-org I ran across the code here: https://gist.github.com/alandipert/675767/aa45f49bf6f6a2038d0b77b24d0e079c0994edc5
#
# I modified it a little bit to be more to the point of elfeed-org
use XML::Parser;
binmode STDOUT, ":utf8";

Keybase proof

I hereby claim:

  • I am credmp on github.
  • I am credmp (https://keybase.io/credmp) on keybase.
  • I have a public key ASCA-b3WOH8Y26hPuWqASq-Odo_Nz9wEnVx4Mk5Jh6XosAo

To claim this, I am signing this object:

@credmp
credmp / gist:1241898
Created September 26, 2011 09:04
Simple time calculations
<?php
$start = strtotime('10:31');
$end = strtotime('15:23');
echo "Time spent in seconds: " . ($end - $start);
echo " Time spent in minutes: " . (($end - $start) / 60);
echo " Time spent in hours: " . (($end - $start) / (60*60));
?>