You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
redis_lua.py脚本执行报错
Traceback (most recent call last):
File "D:/WorkSapce/Python/redis_lua.py", line 219, in
main()
File "D:/WorkSapce/Python/redis_lua.py", line 149, in main
DYNAMIC, DYNAMIC_SZ = lua.Find_DYNAMIC(0x400000)
File "D:/WorkSapce/Python/redis_lua.py", line 37, in Find_DYNAMIC
(e_flags, e_ehsize, e_phentsize) = self.ReadMemoryFmt(base + 0x30, 'IHH')
File "D:/WorkSapce/Python/redis_lua.py", line 27, in ReadMemoryFmt
return struct.unpack(fmt, self.ReadMemory(address))
File "D:/WorkSapce/Python/redis_lua.py", line 16, in ReadMemory
low, high = self.__ReadMemory(args = [address])
File "D:\WorkSapce\venv\lib\site-packages\redis\client.py", line 3498, in call
return client.evalsha(self.sha, len(keys), *args)
File "D:\WorkSapce\venv\lib\site-packages\redis\client.py", line 2704, in evalsha
return self.execute_command('EVALSHA', sha, numkeys, *keys_and_args)
File "D:\WorkSapce\venv\lib\site-packages\redis\client.py", line 755, in execute_command
return self.parse_response(connection, command_name, **options)
File "D:\WorkSapce\venv\lib\site-packages\redis\client.py", line 768, in parse_response
response = connection.read_response()
File "D:\WorkSapce\venv\lib\site-packages\redis\connection.py", line 638, in read_response
raise response
redis.exceptions.ResponseError: Error running script (call to f_94008bb6cd993484eae1cff68283a45105987415): @user_script:137: user_script:137: attempt to call upvalue 'reader' (a nil value)
请问怎么解决?
The text was updated successfully, but these errors were encountered:
# xiaopo @ fht in ~/python/POC/redis/redis_lua_exploit on git:master x [21:53:54] C:1
$ sudo python redis_lua.py
Traceback (most recent call last):
File "redis_lua.py", line 219, in <module>
main()
File "redis_lua.py", line 149, in main
DYNAMIC, DYNAMIC_SZ = lua.Find_DYNAMIC(0x400000)
File "redis_lua.py", line 37, in Find_DYNAMIC
(e_flags, e_ehsize, e_phentsize) = self.ReadMemoryFmt(base + 0x30, 'IHH')
File "redis_lua.py", line 27, in ReadMemoryFmt
return struct.unpack(fmt, self.ReadMemory(address))
File "redis_lua.py", line 16, in ReadMemory
low, high = self.__ReadMemory(args = [address])
File "/usr/local/lib/python2.7/dist-packages/redis/client.py", line 4073, in __call__
return client.evalsha(self.sha, len(keys), *args)
File "/usr/local/lib/python2.7/dist-packages/redis/client.py", line 3143, in evalsha
return self.execute_command('EVALSHA', sha, numkeys, *keys_and_args)
File "/usr/local/lib/python2.7/dist-packages/redis/client.py", line 901, in execute_command
return self.parse_response(conn, command_name, **options)
File "/usr/local/lib/python2.7/dist-packages/redis/client.py", line 915, in parse_response
response = connection.read_response()
File "/usr/local/lib/python2.7/dist-packages/redis/connection.py", line 756, in read_response
raise response
redis.exceptions.ResponseError: Error running script (call to f_94008bb6cd993484eae1cff68283a45105987415): @user_script:137: user_script:137: attempt to call upvalue 'reader' (a nil value)
redis_lua.py脚本执行报错
Traceback (most recent call last):
File "D:/WorkSapce/Python/redis_lua.py", line 219, in
main()
File "D:/WorkSapce/Python/redis_lua.py", line 149, in main
DYNAMIC, DYNAMIC_SZ = lua.Find_DYNAMIC(0x400000)
File "D:/WorkSapce/Python/redis_lua.py", line 37, in Find_DYNAMIC
(e_flags, e_ehsize, e_phentsize) = self.ReadMemoryFmt(base + 0x30, 'IHH')
File "D:/WorkSapce/Python/redis_lua.py", line 27, in ReadMemoryFmt
return struct.unpack(fmt, self.ReadMemory(address))
File "D:/WorkSapce/Python/redis_lua.py", line 16, in ReadMemory
low, high = self.__ReadMemory(args = [address])
File "D:\WorkSapce\venv\lib\site-packages\redis\client.py", line 3498, in call
return client.evalsha(self.sha, len(keys), *args)
File "D:\WorkSapce\venv\lib\site-packages\redis\client.py", line 2704, in evalsha
return self.execute_command('EVALSHA', sha, numkeys, *keys_and_args)
File "D:\WorkSapce\venv\lib\site-packages\redis\client.py", line 755, in execute_command
return self.parse_response(connection, command_name, **options)
File "D:\WorkSapce\venv\lib\site-packages\redis\client.py", line 768, in parse_response
response = connection.read_response()
File "D:\WorkSapce\venv\lib\site-packages\redis\connection.py", line 638, in read_response
raise response
redis.exceptions.ResponseError: Error running script (call to f_94008bb6cd993484eae1cff68283a45105987415): @user_script:137: user_script:137: attempt to call upvalue 'reader' (a nil value)
请问怎么解决?
The text was updated successfully, but these errors were encountered: