s0md3v / Striker

Striker is an offensive information and vulnerability scanner.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeError: list indices must be integers, not str

opened this issue · comments

Upon running the program, Dns lookups fail with "TypeError: list indices must be integers, not str" at line 158

There was an error getting results

[+] DNS Records
Traceback (most recent call last):
File "striker.py", line 222, in
dnsdump(domain)
File "striker.py", line 158, in dnsdump
for entry in res['dns_records']['dns']:
TypeError: list indices must be integers, not str

I just cloned down the repository and ran with a python 2.7.13 installation
after getting the requirements

Everything is working perfectly on my machine.
Can you please tell me what website you were targeting?
I know its matter a of privacy but it would be really helpful to troubleshoot this problem.
You can either comment that here or mail me at s0md3v@gmail.com
Basically, Striker uses dnsdumpter.com to retrieve DNS related data so I will check what kind of data it returns for your target.
I will be waiting for your response.
Thanks.

You must enter a domain name, not an IP address.

I was just testing with example.com if i remember correctly. And thanks.

Works fine on my machine.

commented

me too

File "striker.py", line 175, in dnsdump TypeError: list indices must be integers, not str
https://github.com/TheYahya/sherlock/issues/85