Takeover
Takeover Agent Setup for Takeover subdomains scans

Takeover Command

Using {{domain}} ReconNess replace {{domain}} for the subdomain.
1
python3 takeover.py -d {{domain}} -v
Copied!
This Agent run in each subdomain.

Takeover Script

1
using ReconNess.Core.Models;
2
3
if (lineInputCount < 13)
4
{
5
return new ScriptOutput();
6
}
7
8
if (lineInput.Contains("service found! Potential domain takeover found"))
9
{
10
return new ScriptOutput { Takeover = true, IsAlive = true };
11
}
12
13
return new ScriptOutput();
Copied!
Check the Readme on GitHub to know more about the Script.

Takeover Dockerfile Entry

1
# -------- Agents dependencies --------
2
3
# To allow run takeover inside the docker
4
5
RUN apt-get update && apt-get install -y git python3 python3-pip wget
6
RUN git clone https://github.com/m4ll0k/takeover.git
7
RUN cd takeover && python3 setup.py install
8
9
# -------- End Agents dependencies --------
Copied!

Takeover Command for Docker

1
python3 /app/takeover/takeover.py -d {{domain}} -v
Copied!
Last modified 1yr ago