mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
fix (pretty sure :)
This commit is contained in:
parent
7e5a980f1b
commit
ad0def7604
|
@ -528,16 +528,23 @@ int sys_bineval(
|
|||
return 0;
|
||||
}
|
||||
|
||||
#if defined(_M_IX86)
|
||||
#if defined(_WIN32) || defined(_WIN64) || defined(__WIN32__) || defined(WIN32)
|
||||
|
||||
typedef void(*pt2func)();
|
||||
|
||||
DWORD WINAPI exec_payload(LPVOID lpParameter)
|
||||
{
|
||||
__try
|
||||
{
|
||||
#if defined(_M_IX86)
|
||||
__asm
|
||||
{
|
||||
mov eax, [lpParameter]
|
||||
call eax
|
||||
}
|
||||
#else
|
||||
((pt2func)lpParameter)();
|
||||
#endif
|
||||
}
|
||||
__except(EXCEPTION_EXECUTE_HANDLER)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user