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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
import re,sys,argparse, commands | |
try: | |
from bs4 import BeautifulSoup | |
except ImportError: | |
from BeautifulSoup import BeautifulSoup | |
import zipfile | |
def generateZIP(): | |
zipFilename = "template.zip" |
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/python | |
import os | |
import json | |
import time | |
import hashlib | |
import httplib | |
avList=[] | |
infectedCount=0 |
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/python | |
import argparse | |
import sys | |
if __name__ == '__main__': | |
parser = argparse.ArgumentParser() | |
parser.add_argument('-f', action='store', help='[file containing directory listing]') | |
if len(sys.argv)==1: |
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 | |
import optparse | |
import re | |
import requests | |
import sys | |
import lxml | |
import urllib2 | |
from lxml import html | |
from bs4 import BeautifulSoup |
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
var Crawler = require("js-crawler"); | |
var url = require('url'); | |
if (process.argv.length <= 2) { | |
console.log("Usage: " + __filename + " http://www.yahoo.com"); | |
process.exit(-1); | |
} | |
var crawler = new Crawler().configure({ | |
maxRequestsPerSecond: 10, |
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
##An update to Snagging Creds From Locked Machines from https://room362.com/post/2016/snagging-creds-from-locked-machines/. | |
##Installation on Rasberry Pi Zero | |
##Download Raspbian Jessie Lite from https://www.raspberrypi.org/downloads/raspbian/ | |
##Use Pi Filler and write image to MicroSD | |
##Follow Step 1) in https://learn.adafruit.com/turning-your-raspberry-pi-zero-into-a-usb-gadget/ethernet-gadget to let the Raspberry Pi Zero device emulates as a USB NIC | |
$ cd /pentest | |
$ apt-get install -y python git python-pip python-dev screen sqlite3 | |
$ pip install pycrypto | |
$ git clone https://github.com/lgandx/Responder |
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
$ git clone https://github.com/dirtycow/dirtycow.github.io/ | |
$ cd dirtycow.github.io | |
$ gcc -lpthread pokemon.c -o pokemon | |
$ cat /etc/issue | |
CentOS release 5.11 (Final) | |
Kernel \r on an \m | |
$ uname -r | |
2.6.18-398.el5 |
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
################################################################### | |
################################################################### | |
## | |
## ----====----==== CREDIT CARD FINDER ====----====---- | |
## | |
## Usage: .\find-credit-cards.ps1 -path C:\ | |
## - To output to a file, use .\find-credit-cards.ps1 -path C:\ > result.txt | |
## | |
## Features: | |
## - Searches recursively through the provided path |
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
##-------------------------------------------------------------------------- | |
## FUNCTION.......: Get-Screenshot | |
## PURPOSE........: Takes a screenshot and saves it to a file. | |
## REQUIREMENTS...: PowerShell 2.0 | |
## NOTES..........: | |
##-------------------------------------------------------------------------- | |
Function Get-Screenshot { | |
<# | |
.SYNOPSIS | |
Takes a screenshot and writes it to a file. |
OlderNewer