Whitewidow is an open source automated SQL vulnerability scanner, that is capable of running through a file list, or can scrape Google for potential vulnerable websites.

It allows automatic file formatting, random user agents, IP addresses, server information, multiple SQL injection syntax, ability to launch sqlmap from the program, and a fun environment.

This program was created for learning purposes, and is intended to teach users what vulnerability looks like. Preferably clone repository, alternatively you can download zip and tarball here

Also Read – Top 5 SQL Injection Tools for PenTest & Hacking

Basic Usage

  • ruby whitewidow.rb -d This will run whitewidow in default mode and scrape Google for possible sites using a random search query.
  • ruby whitewidow.rb -f path/to/file This will run whitewidow through a given file and add the SQL syntax to the URL.
  • ruby whitewidow.rb -h Will run the help flag along with show the help menu.

For more information about usage and more flags you can checkout the wiki functionality page here.


  • gem 'mechanize'
  • gem 'nokogiri'
  • gem 'rest-client'
  • gem 'webmock'
  • gem 'rspec'
  • gem 'vcr'

To install all gem dependencies, follow the following template:

cd whitewidow
bundle install

You may experience a problem installing on Linux systems (Kali, BlackArch, Parrot, etc..) to fix this problem try the following:

sudo apt-get install liblzma-dev
sudo apt-get install zlib1g-dev
cd whitewidow
bundle install

This should install all gems needed, and will allow you to run the program without trouble.