Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wangyan-samuel opened this issue Jul 14, 2024 · 1 comment
Open

Comments

@wangyan-samuel
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants