justakazh / sicat

The useful exploit finder
MIT License
784 stars 79 forks source link

TypeError: list indices must be integers or slices, not str #11

Open wangyan-samuel opened 4 months ago

wangyan-samuel commented 4 months ago

python3 sicat.py -nm nmap_out.xml

usage : sicat.py --help

Traceback (most recent call last): File "/data/sicat/sicat.py", line 97, in nmparse = NmapParse.parse(args.nmap) File "/data/sicat/common/nmap_parse.py", line 15, in parse for port in d['nmaprun']['host']['ports']['port']: TypeError: list indices must be integers or slices, not str

madaragon commented 1 month ago

hi.

I'm running the same command, but it doesn't reproduce, so please attach the file.

I will attach the results of my trial.

python sicat.py -nm nmap_out.xml

. ,-'""`-. (,-.._,'( |\-/| -.-' \ )-( , o o) - \_`"'-

SiCat - The useful exploit finder @justakazh (https://github.com/justakazh/sicat)

usage : sicat.py --help

> Starting with Keyword : OpenSSH 6.6.1p1 Ubuntu 2ubuntu2.13
> Starting with Keyword : Apache httpd 2.4.7
----------------------------------------
> Starting with Keyword : Nping echo
----------------------------------------