As configured in my dotfiles.
start new:
tmux
start new with session name:
| # Requires Beautiful Soup be installed -- https://pypi.python.org/pypi/beautifulsoup4/4.3.2 | |
| # Built off of CVE-2014-0160 by Jared Stafford ([email protected]) | |
| # Only a portion of this code is mine and origianl, the rest is credited to Jared Stafford. -- Andy B ([email protected]) | |
| # Allows to search google for specified search terms, then returns a list of all URL's vulnerable to the Heartbleed bug in a log file. | |
| # usage: gHb.py searchTerm options | |
| # usage: gHb.py "https:// lol cats" -n 10 -l custom_log_file.txt | |
| # Like the script? Donate |
| # URL Harvester written by Andy Bricker | |
| # http://andybricker.com | |
| # andy at andybricker.com | |
| # Requirements | |
| # Python 2.7 (Has not been tasted on later versions) | |
| # Beautiful Soup library for Python (http://www.crummy.com/software/BeautifulSoup/) | |
| # Usage: | |
| # python urlHarvest.py books stores -n 50 -l myLogFile.txt |
| #!/usr/bin/python | |
| # Exploit-db.com Google Dork Hacking Database Replicator written by Andy Bricker | |
| # Proof of concept. You shouldnt use this script without prior consent from Exploit-db.com | |
| # http://andybricker.com | |
| # Contact: andy at andybricker.com | |
| # Requirements | |
| # Python 2.7 (Has not been tasted on later versions) | |
| # Usage: |
| #include <stdio.h> | |
| //global variaes and magic numbers are the basis of good programming | |
| const char* charset = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789`~@#$%^&*()-_=+|]}[{';:<,.>?"; | |
| char buffer[50]; | |
| void permute(int level) { | |
| const char* charset_ptr = charset; | |
| if(level == -1){ | |
| puts(buffer); |
| # Downloads all PDF files in given URL | |
| # USAGE: pdf_dl.py <URL> | |
| from bs4 import BeautifulSoup | |
| import urllib2 | |
| import sys | |
| resp = urllib2.urlopen(sys.argv[1]) | |
| soup = BeautifulSoup(resp, from_encoding=resp.info().getparam('charset')) | |
| for link in soup.find_all('a', href=True): |
| from bs4 import BeautifulSoup | |
| import re | |
| import cfscrape | |
| scraper = cfscrape.create_scraper() # returns a CloudflareScraper instance | |
| start = 0 | |
| increment = 64 | |
| max = 256 | |
| for counter in range(0,265,64): |
| #!/usr/bin/bash | |
| # This script was ran on Ubuntu 20.04. | |
| # Check for root | |
| if [ "$EUID" -ne 0 ] | |
| then | |
| echo "Please run as root" | |
| echo "USAGE: sudo build-dnsmasq-server.sh" | |
| exit |
As configured in my dotfiles.
start new:
tmux
start new with session name: