/Affinis

Recurrent Neural Network SubDomain Discovery Tool

Primary LanguagePython

Affinis

A Recurrent Neural Network SubDomain Discovery Tool

Affinis aims to find undiscovered or forgotten subdomains through the use of Natural Language Processing and the Keras LSTM RNN API. It will read in a file of already discovered subdomains for the target and generate its own list of potential subdomains the target may have. It then verifies the existence of those subdomains with a quick DNS lookup and will ultimately tell you if it has made any discoveries.

running Affinis

running Affinis

Expect this to grow and mold into something more sophisiticated. You can read some more specifics on the project on my blog: Phoenix-sec.io

To Run:

Requirements Installation:

  • pip install -r requirements.txt

Command:

  • python3 Affinis.py [domain] [number to generate] [path to existing subdomains file]
  • python3 Affinis.py google.com 500 /tmp/google_subs.txt

It can certainly take awhile to run if you run tensorflow off your CPU, but you can expedite things by configuring Keras for GPU: GPU Integration