Skip to content

Instantly share code, notes, and snippets.

@cujanovic
cujanovic / keybase.md
Created June 13, 2015 18:07
keybase.md

Keybase proof

I hereby claim:

  • I am cujanovic on github.
  • I am cujanovic (https://keybase.io/cujanovic) on keybase.
  • I have a public key whose fingerprint is 9791 F618 F3DB 1FC7 A1FC 770A A797 CDBA 4776 97A1

To claim this, I am signing this object:

@cujanovic
cujanovic / nginx-webp-sample.conf
Created January 17, 2017 18:44 — forked from uhop/nginx-webp-sample.conf
Serving WEBP with nginx conditionally.
user www-data;
http {
##
# Basic Settings
##
sendfile on;
tcp_nopush on;
This file is part of MXE.
See index.html for further information.
Contains ad hoc patches for cross building.
From 47345f5dcfb91da8afed7c4e6c29faa2056db447 Mon Sep 17 00:00:00 2001
From: MXE
Date: Fri, 7 Jun 2013 17:44:24 +1000
Subject: [PATCH] remove gets since c++11 removed it
https://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00186.html
import requests
import re
import sys
from multiprocessing.dummy import Pool
def robots(host):
r = requests.get(
'https://web.archive.org/cdx/search/cdx\
?url=%s/robots.txt&output=json&fl=timestamp,original&filter=statuscode:200&collapse=digest' % host)
@cujanovic
cujanovic / LinuxPrivEsc.sh
Created October 4, 2017 12:47 — forked from 1N3/LinuxPrivEsc.sh
Linux Privilege Escalation Script by 1N3 @CrowdShield - https://crowdshield.com
#!/bin/sh
#
# `7MN. `7MF'
# __, MMN. M
#`7MM M YMb M pd""b.
# MM M `MN. M (O) `8b
# MM M `MM.M ,89
# MM M YMM ""Yb.
#.JMML..JML. YM 88
# (O) .M'

Keybase proof

I hereby claim:

  • I am cujanovic on github.
  • I am cujanovic (https://keybase.io/cujanovic) on keybase.
  • I have a public key ASC8_pUyvECYbqLfFjkLINtb4MA46H_bYARsibHPlZQL9Qo

To claim this, I am signing this object: