Open ManojiLogaraj opened 1 year ago
hello,
python2 topo-gen.py -c ../topo-gen-config -o top_info
as i cannot find the topo-gen.py inside this repository? its result is then consumed by python3 topo_proc.py. Hi @MRColorR ,
There is a repository for generating tropology.
Repo link : https://github.com/crond-jaist/topology-generator.
Thanks, Manoji
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'
Thanks, Manoji