-
Notifications
You must be signed in to change notification settings - Fork 276
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Hi, I am working on generating the random graph and I found some logical issues with the random graph generation design (maybe).
- First, I think the
add_leak_neighbors_vulnerabilityfunction in generate_network.py should not returnlibrarydirectly. Since it is a global dictionary, using it to assign the vulnerability will make all nodes share the same vulnerability outcomes which is not reasonable. It can be fixed by returnreturn copy.deepcopy(library) - Here the nodes except the entry node are iteratively assigned with vulnerabilities and services. However, some nodes may be assigned empty services before their corresponding access passwords are generated in the
assigned_passwords. I fix this issue simply by repeating the loop.
I am not familiar with network attacks, so would it be convenient for you to check whether the editions are right? Thx a lot.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working