Skip to content

vietnakid/VulnerabilityManagement

Repository files navigation

VulnerabilityManagement

VulnerabilityManagement is our capstone project - FPT University

Install guide

  • You have to install Docker first

Install requirements tool

  • pip3 install -r dependencies.txt

Install Docker

Run Kafka and Zookeeper on Docker

  • 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-compose and 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

  • Run master by this command: python3 main.py

Test

  • Run file generateInputToNmapScanQueue.py to test if project is working python3 generateInputToNmapScanQueue.py

Reset Kafka topics

  • Run file createKafkaTopics.sh by bash to reset all topics in Kafka bash createKafkaTopics.sh

Reference

About

VulnerabilityManagement is our capstone project - FPT University

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published