It's my solution for bugbounty automation
echo "net.netfilter.nf_conntrack_max=1048576" >> /etc/sysctl.conf
sysctl -p
sudo apt-get update && sudo apt install -y docker.io
sudo usermod -aG docker $USER
docker run --restart=always --name bbmongodb -d mongo:latest
docker container inspect bbmongodb | grep "IPAddress"
git clone https://github.com/rivalsec/autobb.git
cd autobb
cp config.dist.yaml config.yaml
mkdir wordlists
cp ~/SecLists/Discovery/DNS/* ./wordlists/
docker build -t autobb .
git clone https://github.com/vortexau/dnsvalidator.git
docker build -t dnsvalidator ./dnsvalidator
docker run --rm -v /tmp:/dnsout -t dnsvalidator -threads 20 -o /dnsout/resolvers.txt && mv /tmp/resolvers.txt ./autobb/resolvers
docker run --rm -v $(pwd):/autobb autobb --ports --ports-olds --dns-brute --dns-alts --workflow-olds --nuclei
docker run --rm -v $(pwd):/autobb --entrypoint python autobb ./export.py -h
usage: export.py [-h] [-g {scopes,domains,ports,http_probes}] [-s SCOPE]
[-l LAST_ALIVE] [-p PRINT_FIELD]
exporter
options:
-h, --help show this help message and exit
-g {scopes,domains,ports,http_probes}, --get {scopes,domains,ports,http_probes}
get one of (default: None)
-s SCOPE, --scope SCOPE
scope to get, if not - all scopes (default: None)
-l LAST_ALIVE, --last-alive LAST_ALIVE
days then last time was alive (default: 30)
-p PRINT_FIELD, --print-field PRINT_FIELD
object field to print, object json if not set
(default: None)