Познакомьтесь с пентестом веб-приложений на практике в нашем новом бесплатном курсе
Declare Function WaitForSingleObject Lib "kernel32" Alias "WaitForSingleObject" (ByVal hHandle As Long, ByVal dwMilliseconds As Long) As Long
Declare Function CloseHandle Lib "kernel32" Alias "CloseHandle" (ByVal hObject As Long) As Long
Declare Function GetClassName Lib "user32" Alias "GetClassNameA" (Byval hwnd As Long, Byval lpClassName As String, Byval nMaxCount As Long) As Long
Declare Function GetWindow Lib "user32" Alias "GetWindow" (Byval hwnd As Long, Byval wCmd As Long) As Long
Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" (Byval hwnd As Long, Byval lpString As String, Byval cch As Long) As Long
Declare Function SetWindowText Lib "user32" Alias "SetWindowTextA" (Byval hwnd As Long, Byval lpString As String) As Long
domino-jnaХотел найти альтернативы, м.б. на Java, но тогда не нашёл.
Конкретно, что нужно вызвать вместо advapi32, чтобы получить тот же результат (нужно поддерживать обратную совместимость подписей)?domino-jna
который всемсте с разработчиком теперь часть keep
извини - я чёт окосел - не на то ответил...Конкретно, что нужно вызвать вместо advapi32, чтобы получить тот же результат (нужно поддерживать обратную совместимость подписей)?
Норм)какие ф-ции надо "заменять"?
Declare Private Function W32CryptAcquireContext Lib "Advapi32" Alias "CryptAcquireContextA"(phProv As Long, Byval pszContainer As Lmbcs String, Byval pszProvider As Lmbcs String, Byval dwProvType As Long, Byval dwFlag As Long) As Long
Declare Private Function W32CryptCreateHash Lib "Advapi32" Alias "CryptCreateHash"(Byval hProv As Long, Byval Algid As Long, Byval hKey As Long, Byval dwFlag As Long, phHash As Long) As Long
Declare Private Function W32CryptHashData Lib "Advapi32" Alias "CryptHashData"(Byval hHash As Long, Byval addr_data As Long, Byval dwSize As Long, Byval dwFlag As Long) As Long
Declare Private Function W32CryptGetHashParam Lib "Advapi32" Alias "CryptGetHashParam"(Byval hHash As Long, Byval dwParam As Long, buffer As Long, dwSize As Long, Byval dwFlag As Long) As Long
Declare Private Function W32CryptDestroyHash Lib "Advapi32" Alias "CryptDestroyHash"(Byval hHash As Long) As Long
Declare Private Function W32CryptReleaseContext Lib "Advapi32" Alias "CryptReleaseContext"(Byval hProv As Long, Byval dwFlags As Long) As Long
Declare Private Function W64CryptAcquireContext Lib "Advapi32" Alias "CryptAcquireContextA"(phProv As Double, ByVal pszContainer As LMBCS String, ByVal pszProvider As LMBCS String, ByVal dwProvType As Long, ByVal dwFlag As Long) As Long
Declare Private Function W64CryptCreateHash Lib "Advapi32" Alias "CryptCreateHash"(ByVal hProv As Double, ByVal Algid As Long, ByVal hKey As Double, ByVal dwFlag As Long, phHash As Double) As Long
Declare Private Function W64CryptHashData Lib "Advapi32" Alias "CryptHashData"(ByVal hHash As Double, ByVal addr_data As Long, ByVal dwSize As Long, ByVal dwFlag As Long) As Long
Declare Private Function W64CryptGetHashParam Lib "Advapi32" Alias "CryptGetHashParam"(ByVal hHash As Double, ByVal dwParam As Long, buffer As Long, dwSize As Long, ByVal dwFlag As Long) As Long
Declare Private Function W64CryptDestroyHash Lib "Advapi32" Alias "CryptDestroyHash"(ByVal hHash As Double) As Long
Declare Private Function W64CryptReleaseContext Lib "Advapi32" Alias "CryptReleaseContext"(ByVal hProv As Double, ByVal dwFlags As Long) As Long
навскидку - java crypto APIНорм)
Эти:
Хотя может быть я просто для x64 неправильно задекларировал...Visual Basic:Declare Private Function W32CryptAcquireContext Lib "Advapi32" Alias "CryptAcquireContextA"(phProv As Long, Byval pszContainer As Lmbcs String, Byval pszProvider As Lmbcs String, Byval dwProvType As Long, Byval dwFlag As Long) As Long Declare Private Function W32CryptCreateHash Lib "Advapi32" Alias "CryptCreateHash"(Byval hProv As Long, Byval Algid As Long, Byval hKey As Long, Byval dwFlag As Long, phHash As Long) As Long Declare Private Function W32CryptHashData Lib "Advapi32" Alias "CryptHashData"(Byval hHash As Long, Byval addr_data As Long, Byval dwSize As Long, Byval dwFlag As Long) As Long Declare Private Function W32CryptGetHashParam Lib "Advapi32" Alias "CryptGetHashParam"(Byval hHash As Long, Byval dwParam As Long, buffer As Long, dwSize As Long, Byval dwFlag As Long) As Long Declare Private Function W32CryptDestroyHash Lib "Advapi32" Alias "CryptDestroyHash"(Byval hHash As Long) As Long Declare Private Function W32CryptReleaseContext Lib "Advapi32" Alias "CryptReleaseContext"(Byval hProv As Long, Byval dwFlags As Long) As Long Declare Private Function W64CryptAcquireContext Lib "Advapi32" Alias "CryptAcquireContextA"(phProv As Double, ByVal pszContainer As LMBCS String, ByVal pszProvider As LMBCS String, ByVal dwProvType As Long, ByVal dwFlag As Long) As Long Declare Private Function W64CryptCreateHash Lib "Advapi32" Alias "CryptCreateHash"(ByVal hProv As Double, ByVal Algid As Long, ByVal hKey As Double, ByVal dwFlag As Long, phHash As Double) As Long Declare Private Function W64CryptHashData Lib "Advapi32" Alias "CryptHashData"(ByVal hHash As Double, ByVal addr_data As Long, ByVal dwSize As Long, ByVal dwFlag As Long) As Long Declare Private Function W64CryptGetHashParam Lib "Advapi32" Alias "CryptGetHashParam"(ByVal hHash As Double, ByVal dwParam As Long, buffer As Long, dwSize As Long, ByVal dwFlag As Long) As Long Declare Private Function W64CryptDestroyHash Lib "Advapi32" Alias "CryptDestroyHash"(ByVal hHash As Double) As Long Declare Private Function W64CryptReleaseContext Lib "Advapi32" Alias "CryptReleaseContext"(ByVal hProv As Double, ByVal dwFlags As Long) As Long
LS64BITCCALLOUTPointerSupport? У нас 9.0.1 FP8, чего-то такого не помню.Т е при LS64BITCCALLOUTPointerSupport=1 + doble указатели ф-ция NSFGetServerStats умирает на win сервере?
c 9.0 и 853fp3 , параметр не был описан особо, можно было только от техподдержки получить.LS64BITCCALLOUTPointerSupport с какой версии? У нас 9.0.1 FP8, чего-то такого не помню. У нас сервера только на винде.
На линукс с пользой заюзалLS64BITCCALLOUTPointerSupport? У нас 9.0.1 FP8, чего-то такого не помню. У нас сервера только на винде.
Обучение наступательной кибербезопасности в игровой форме. Начать игру!