This agent utilizes the Reconness Unviersal Wrapper which must be installed for this agent to work. Using {{rootDomain}}
ReconNess replace {{rootDomain}}
for the root domain. Ex: yahoo.com
If we have OneForAllWrapper in the folder ~/Desktop/OneForAllWrapper/
cd ~/Desktop/OneForAllWrapper && ./reconness-universal-wrapper exec "python3 /app/OneForAll/oneforall.py --target {{rootDomain}} -path *outputDir/*.txt run" --silent
​Click here to know more about OneForAll​
using ReconNess.Core.Models;​var match = System.Text.RegularExpressions.Regex.Match(lineInput, @"([^\.\/]+)(\.[^\.\/]+)+(?:\/|$)");if (match.Success){return new ScriptOutput { Subdomain = match.Groups[0].Value };}​return new ScriptOutput();
Check the Readme on GitHub to know more about the Script.
Change <reconness username>, <reconness password>
and <reconness.mydomain.com>
with your username, password and domain where reconness is running.
# -------- Agents dependencies --------​# To allow run OneForAll inside the docker​RUN apt-get update && apt-get install -y git wget python3 python3-pipRUN wget https://golang.org/dl/go1.16.linux-amd64.tar.gzRUN tar -C /usr/local -xzf go1.16.linux-amd64.tar.gzRUN export GOPATH=$HOME/goRUN export PATH=$PATH:/usr/local/go/bin:$GOPATH/binRUN git clone https://github.com/shmilylty/OneForAll.gitRUN python3 -m pip install -U pip setuptools wheelRUN pip3 install -r /app/OneForAll/requirements.txtRUN /usr/local/go/bin/go get -u github.com/hiddengearz/reconness-universal-wrapperRUN /root/go/bin/reconness-universal-wrapper setup -u <reconness username> -p <reconness password> -s <reconness.mydomain.com>​# -------- End Agents dependencies --------
/root/go/bin/reconness-universal-wrapper exec "python3 /app/OneForAll/oneforall.py --target {{rootDomain}} -path *outputDir/*.txt run" --silent