
axiom द्वारा संचालित projectdiscovery-आधारित आक्रमण सतह निगरानी बॉट
प्रोटियस - एक्सिओम डेटाबेस और API https://github.com/pry0cc/axiom।
मूल रूप से, ProjectDiscovery टूल्स का उपयोग करके ASM प्लेटफ़ॉर्म को एक साथ जोड़ना के लिए लिखा गया।
सबसे पहले, रिपॉजिटरी को क्लोन करें
git clone https://github.com/pry0cc/proteus ~/.proteus
cd ~/.proteus
अगला, अपना slack वेबहुक शामिल करने के लिए config/notify.yaml को संशोधित करें।
bin निर्देशिका पर जाएं और docker-compose.yml वॉल्यूम्स को संशोधित करें ताकि वे आपके स्थानीय axiom सेटअप से मैप हों। आपको /home/op/ को अपनी वर्तमान $HOME निर्देशिका में बदलना होगा।
services:
redis:
image: redis
mongo:
image: mongo
worker:
image: proteus/worker
build:
context: bin/worker/
volumes:
- /home/op/.axiom/accounts/personal.json:/root/.axiom/accounts/default.json # map your account here
- /home/op/.axiom/modules:/root/.axiom/modules # map modules
- /home/op/.ssh:/root/.ssh # map SSH
- /home/op/.proteus:/app # map proteus folder to the app (for persistence of data like rawdata & scans), not 100% necessary but nice to have.
cd bin/
sudo docker compose build
sudo docker compose up
बस इतना ही!
अपने लक्ष्य(ों) को स्थानीय scope फ़ोल्डर ( ~/.proteus/scope/ ) में स्टोर करें
सभी fleets प्रत्येक लक्ष्य के लिए अद्वितीय हैं, इसलिए डेटा का कोई क्रॉसओवर नहीं होता। आप या तो इंस्टेंस स्पिन कर सकते हैं और फिर स्कैन लॉन्च कर सकते हैं, ऐसी स्थिति में इंस्टेंस बाद में बने रहेंगे, या आप केवल स्कैन लॉन्च कर सकते हैं। यदि आप बिना किसी इंस्टेंस के स्कैन लॉन्च करते हैं, तो यह डिफ़ॉल्ट रूप से 5 इंस्टेंस स्पिन करेगा और पूरा होने पर उन्हें स्वतः हटा देगा।
curl -s http://127.0.0.1:80/api/<target>/launch_scan
curl -s http://127.0.0.1:80/api/<target>/launch_scan?spinup=8
curl -s http://127.0.0.1:80/api/<target>/launch_scan?spinup=8&module=asm
curl -s http://127.0.0.1:80/api/<target>/spinup?instances=15 # spin up instances for a target
curl -s http://127.0.0.1:80/api/<target>/scans
curl -s http://127.0.0.1:80/api/<target>/<datatype>
curl -s http://127.0.0.1:80/api/<target>/dnsx
curl -s http://127.0.0.1:80/api/<target>/http
curl -s http://127.0.0.1:80/api/<target>/subs
curl -s http://127.0.0.1:80/api/<target>/nuclei
curl -s http://127.0.0.1:80/api/<target>/<datatype>?scan_id=<scan_id>
क्लाइंट डेटा को तालिकाबद्ध करेगा, todo: JSON या टेक्स्ट आउटपुट जोड़ा गया।
pip3 install -r bin/client/requirements.txt
bin/client/client.py --target <target> --type http
bin/client/client.py --target <target> --type dns
bin/client/client.py --target <target> --type host
bin/client/client.py --target <target> --type scans
bin/client/client.py --target <target> --type scans --scanid <scan_id>