Hacking Goal Knowledge Base. The project aims to model the web attacker behavior through a Knowledge Graph.
Setting up the project is very simple with Docker Container. So, I suggest using the following commands to try this project.
git clone https://github.com/NS-unina/HackingGoals.git
cd HackingGoals
docker-compose up -d
docker-compose exec typedb bash -c '/opt/typedb-all-linux/typedb console --script="/tql/script"'The compose runs a basic typedb method.
The docker exec runs the tql scripts that:
- Upload the
hackingGoal.tqlschema - Feed the schema with data present in
mydata.tql
Once the db is executed, try to login with a client:
https://vaticle.com/download#typedb-studio
NOTE: The TypeDB client should have the same version of the TypeDB server.
Click on Connect to TypeDB and set the localhost:1729 port.
If you need to interact with the Knowledge Base, use the Type DB API
If you want to try our schema in your instance of typeDB, you can use this code snippet on TypeDB condole.
database create hacking_goal
transaction hacking_goal schema write
source /tql/hackingGoal.tql
commit
transaction hacking_goal data write
source /tql/mydata.tql
commit
https://docs.vaticle.com/docs/query/match-clause
https://docs.vaticle.com/docs/client-api/python
https://docs.vaticle.com/docs/query/get-query
This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt for more information.
-
Francesco Caturano - francesco.caturano@unina.it
-
Emanuele De Martino - eman.demartino@studenti.unina.it
-
Gaetano Perrone - gaetano.perrone@unina.it
-
Project Link: https://github.com/NS-unina/HackingGoals