crond-jaist / AutoPentest-DRL

AutoPentest-DRL: Automated Penetration Testing Using Deep Reinforcement Learning
BSD 3-Clause "New" or "Revised" License
328 stars 82 forks source link

FileNotFoundError: top_info_1.json #15

Open ManojiLogaraj opened 11 months ago

ManojiLogaraj commented 11 months ago

Hi,

When I run this AutoPentest-DRL its pointing an error on topo_proc.py code which is trying to open the top_info_1.json file.

When I check the AutoPentest-DRL.py, its triggering the topo_proc.py using os.system('python3 topo_proc.py -c ../topo-gen-config -o top_info') methods.

As per my understanding once this topo_proc.py executed, the expected output from that file is top_info. So I am not understanding how this top_info_1.json is generated.

Please help me with this.

Error: Traceback (most recent call last): File "/home/parrot/Workspace/AutoPentest-DRL/Topology_generator/topo_proc.py", line 86, in deJsonTop() File "/home/parrot/Workspace/AutoPentest-DRL/Topology_generator/topo_proc.py", line 34, in deJsonTop with open('./topology-generator/top_info_1.json', 'r') as top_file: FileNotFoundError: [Errno 2] No such file or directory: './topology-generator/c'

image

Thanks, Manoji

MRColorR commented 8 months ago

hello,

ManojiLogaraj commented 8 months ago

Hi @MRColorR ,

There is a repository for generating tropology.

Repo link : https://github.com/crond-jaist/topology-generator.

Thanks, Manoji