TristanBilot / phishGNN

Phishing detection using GNNs
MIT License
12 stars 7 forks source link

the dataset #3

Open ssa567832 opened 2 years ago

ssa567832 commented 2 years ago

Hello,thank you for this github. I would like to ask you question about the dataset, If I want to train with my own dataset, like: benign:https://www.google.com malicious:some phish URLs How to do it? have a nice day,thank you!

TristanBilot commented 2 years ago

Hi, thank you for your question. You have to use the Rust crawler (compiling and running the binary will prompt you the syntax to add new URLs to crawl). Then the crawler will produce the graphs in a csv file which is your input dataset used by the model.

ssa567832 commented 2 years ago

thanks for your answer! but I can't seem to use those files, I would like to ask if there is a python file that can process my data? Thank you very much!!

TristanBilot commented 2 years ago

No you need to use the crawler first, which is in Rust and not Python for speed reasons. Follow these steps to compile the main Rust file: https://doc.rust-lang.org/book/ch01-02-hello-world.html Hello, World! - The Rust Programming Languagehttps://doc.rust-lang.org/book/ch01-02-hello-world.html doc.rust-lang.orghttps://doc.rust-lang.org/book/ch01-02-hello-world.html [favicon.png]https://doc.rust-lang.org/book/ch01-02-hello-world.html

On 25 Sep 2022, at 15:54, ssa567832 @.***> wrote:



thanks for your answer! but I can't seem to use those files, I would like to ask if there is a python file that can process my data? Thank you very much!!

— Reply to this email directly, view it on GitHubhttps://github.com/TristanBilot/phishGNN/issues/3#issuecomment-1257199335, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJTYC334BN5PFUUPQ6FO3KDWABKR3ANCNFSM6AAAAAAQUWVWMY. You are receiving this because you commented.Message ID: @.***>

ssa567832 commented 2 years ago

sorry i come to ask you again QAQ, when I run this command:rustc main.rs --edition 2021,I get the following error message 1 Are there any alter in the code? thank you very much!!