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