Skip to content

Instantly share code, notes, and snippets.

@opt9
opt9 / wpscan_batch.sh
Last active May 9, 2018 02:55 — forked from pyguerder/wpscan_batch.sh
A script to run WPScan periodically on a list of websites
#!/bin/bash
source ~/.rvm/gems/ruby-2.5.1@wpscan/environment
WPSCAN_DIR="${HOME}/Projects/wpscan"
DATABASE_PATH="${WPSCAN_DIR}/data/plugins.json"
SYMBOL="[!]"
TMPFILE="${WPSCAN_DIR}/output.tmp"
declare -A WEBSITES
@opt9
opt9 / .bashrc
Last active March 7, 2017 04:32 — forked from marioBonales/.bashrc
Default .bashrc for ubuntu
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# don't put duplicate lines in the history. See bash(1) for more options
# ... or force ignoredups and ignorespace
HISTCONTROL=ignoredups:ignorespace