After getting shell when I want to run my commands I got this error:
Traceback (most recent call last):
File "elastic_shell.py", line 56, in <module>
main(args=sys.argv)
File "elastic_shell.py", line 53, in main
exploit(target=args[1])
File "elastic_shell.py", line 47, in exploit
execute_command(target=target, command=cmd)
File "elastic_shell.py", line 36, in execute_command
fuckingjson = values['hits']['hits'][0]['fields']['lupin'][0]
KeyError: 'hits'
After getting shell when I want to run my commands I got this error: