Skip to content

Instantly share code, notes, and snippets.

@random-robbie
Last active November 18, 2021 06:35
Show Gist options
  • Save random-robbie/beae1991e9ad139c6168c385d8a31f7d to your computer and use it in GitHub Desktop.
Save random-robbie/beae1991e9ad139c6168c385d8a31f7d to your computer and use it in GitHub Desktop.
aq put it in /bin/ and chmod 777 it
#!/bin/bash
aquatone-discover -d $1 --threads 10
aquatone-scan -d $1 --ports huge --threads 10
DEBUG=nightmare xvfb-run -a aquatone-gather -d $1 --threads 10
aquatone-takeover -d $1 --threads 10
@random-robbie
Copy link
Author

as a heads up install node is installed and for xvfb-run you need the following packages installed.

sudo apt-get install -y \
  xvfb \
  x11-xkb-utils \
  xfonts-100dpi \
  xfonts-75dpi \
  xfonts-scalable \
  xfonts-cyrillic \
  x11-apps \
  clang \
  libdbus-1-dev \
  libgtk2.0-dev \
  libnotify-dev \
  libgnome-keyring-dev \
  libgconf2-dev \
  libasound2-dev \
  libcap-dev \
  libcups2-dev \
  libxtst-dev \
  libxss1 \
  libnss3-dev \
  gcc-multilib \
  g++-multilib

@random-robbie
Copy link
Author

random-robbie commented Oct 23, 2017

wget "https://gist.githubusercontent.com/random-robbie/beae1991e9ad139c6168c385d8a31f7d/raw/aq.sh" -O /bin/aq && chmod 777 /bin/aq

@dustyfresh
Copy link

This was super helpful, thanks!

@sopsmattw
Copy link

libgnome-keyring-dev isn't available in the repos on 2018.3 and is no longer needed either.

@ghsec
Copy link

ghsec commented May 8, 2019

@random-robbie thank you. It realy help me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment