VulnerabilityManagement is our capstone project - FPT University
- You have to install Docker first
pip3 install -r dependencies.txt
- You can follow the instruction install on Docker Official Website Docker installation guide!
- First of all, you have to clone this github repository:
git clone https://github.com/simplesteph/kafka-stack-docker-compose.git - Change directory to
kafka-stack-docker-composeand run this command:docker-compose -f zk-single-kafka-single.yml up - After this complete, run these command:
kafka-topics --bootstrap-server localhost:9092 --topic nmapScan --create --partitions 3 --replication-factor 1
kafka-topics --bootstrap-server localhost:9092 --topic nmapOutput --create --partitions 3 --replication-factor 1
kafka-topics --bootstrap-server localhost:9092 --topic nseScan --create --partitions 3 --replication-factor 1
kafka-topics --bootstrap-server localhost:9092 --topic nseOutput --create --partitions 3 --replication-factor 1
kafka-topics --bootstrap-server localhost:9092 --topic CVESearchScan --create --partitions 3 --replication-factor 1
kafka-topics --bootstrap-server localhost:9092 --topic CVESearchOutput --create --partitions 3 --replication-factor 1
kafka-topics --bootstrap-server localhost:9092 --topic elasticSend --create --partitions 3 --replication-factor 1
- Run master by this command:
python3 main.py
- Run file
generateInputToNmapScanQueue.pyto test if project is workingpython3 generateInputToNmapScanQueue.py
- Run file
createKafkaTopics.shby bash to reset all topics in Kafkabash createKafkaTopics.sh