吾爱破解 - 52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 3590|回复: 12
收起左侧

[讨论] 请作答,以下哪个api能让程序瞬间崩溃?!

[复制链接]
冥界3大法王 发表于 2020-1-14 09:24
__dllonexit
_finite
_i64tow_s
_initterm
_itow_s
_lock
_stricmp
_unlock
_vsnwprintf
_wcsdup
_wcsupr_s
AttachThreadInput
BeginPaint
BitBlt
CallNextHookEx
calloc
ClientToScreen
CloseHandle
CoInitialize
CoUninitialize
CreateCompatibleBitmap
CreateCompatibleDC
CreateDIBSection
CreateDirectoryW
CreateFileW
CreateProcessW
CreateStreamOnHGlobal
DefWindowProcW
DeleteDC
DeleteObject
DispatchMessageW
DllMain
EndPaint
EnterCriticalSection
EnumDisplayMonitors
FindClose
FindFirstFileW
FindNextFileW
FindResourceW
FindWindowW
floor
FlsGetValue
free
FreeLibrary
GdipBitmapGetPixel
GdipBitmapSetPixel
GdipCloneFontFamily
GdipCloneStringFormat
GdipCreateBitmapFromStream
GdipCreateFont
GdipCreateFromHDC
GdipCreateImageAttributes
GdipCreateSolidFill
GdipDeleteFontFamily
GdipDeleteGraphics
GdipDeleteStringFormat
GdipDisposeImageAttributes
GdipDrawImageRectRectI
GdipDrawLineI
GdipDrawString
GdipGetFontCollectionFamilyCount
GdipGetFontCollectionFamilyList
GdipGetImageHeight
GdipGetImageRawFormat
GdipGetImageWidth
GdipMeasureString
GdipNewPrivateFontCollection
GdipPrivateAddFontFile
GdipSetImageAttributesColorMatrix
GdipSetStringFormatFlags
GdipStringFormatGetGenericTypographic
GetAsyncKeyState
GetCaretPos
GetClassLongW
GetClassNameW
GetCPInfo
GetCurrentObject
GetCurrentProcess
GetCurrentProcessId
GetCurrentThreadId
GetCursorPos
GetDC
GetDCOrgEx
GetDesktopWindow
GetDeviceCaps
GetDIBits
GetFileAttributesW
GetFileSize
GetForegroundWindow
GetGUIThreadInfo
GetKeyboardLayout
GetKeyState
GetLastError
GetLocalTime
GetModuleFileNameW
GetMonitorInfoW
GetObjectA
GetObjectType
GetParent
GetPixel
GetPrivateProfileIntW
GetProcAddress
GetPropW
GetRandomRgn
GetStringTypeW
GetSystemInfo
GetSystemMetrics
GetTempPathW
GetTickCount
GetVersionExW
GetViewportOrgEx
GetWindow
GetWindowInfo
GetWindowLongW
GetWindowRect
GetWindowTextW
GetWindowThreadProcessId
GlobalAlloc
GlobalLock
GlobalUnlock
HeapAlloc
HeapFree
HeapReAlloc
InvalIDAteRect
IStream::AddRef
IStream::QueryInterface
IStream::Read
IStream::Release
IStream::Seek
IStream::Stat
iswalpha
IsWindow
IsWindowVisible
keybd_event
KillTimer
LdrAccessResource
LdrAddRefDll
LdrDisableThreadCalloutsForDll
LdrFindResource_U
LdrGetDllHandle
LdrLoadDll
LdrResFindResourceDirectory
LdrUnloadDll
LeaveCriticalSection
LoadCursorW
LoadLibraryW
LoadResource
LockFile
LockFileEx
LockResource
LPtoDP
lstrcmpiW
malloc
memcmp
memcpy
memcpy_s
memmove
memset
MiniDumpWriteDump
MsgWaitForMultipleObjectsEx
MultiByteToWideChar
NtAllocateVirtualMemory
NtClose
NtCreateEvent
NtCreateFile
NtCreateKey
NtCreateMutant
NtCreateSection
NtCreateSemaphore
NtCreateThreadEx
NtDelayExecution
NtDuplicateObject
NtEnumerateKey
NtEnumerateValueKey
nterCriticalSection
NtFreeVirtualMemory
NtGetContextThread
NtLockFile
NtMapViewOfSection
NtNotifyChangeKey
NtOpenFile
NtOpenKeyEx
NtOpenProcessToken
NtOpenSection
NtOpenSemaphore
NtOpenThread
NtOpenThreadToken
NtProtectVirtualMemory
NtQueryAttributesFile
NtQueryInformationFile
NtQueryInformationProcess
NtQueryInformationThread
NtQueryInformationToken
NtQueryKey
NtQuerySecurityObject
NtQuerySystemInformation
NtQueryValueKey
NtQueryVirtualMemory
NtQueryVolumeInformationFile
NtReadFile
NtReadVirtualMemory
NtReleaseMutant
NtReleaseSemaphore
NtResumeThread
NtSetEvent
NtSetInformationFile
NtSetInformationProcess
NtSetInformationThread
NtSuspendThread
NtUnlockFile
NtUnmapViewOfSection
NtWaitForMultipleObjects
NtWaitForSingleObject
NtWriteFile
operatordelete
operatordelete[]
OutputDebugStringW
PathFileExistsW
PeekMessageW
PostMessageW
PtInRect
QueryPerformanceCounter
QueryPerformanceFrequency
ReadFile
RegisterClipboardFormatW
RegisterWindowMessageW
ReleaseCapture
ReleaseDC
RtlAcquirePebLock
RtlAcquireSRWLockExclusive
RtlAcquireSRWLockShared
RtlAddAccessAllowedAce
RtlAddMandatoryAce
RtlAllocateAndInitializeSid
RtlAllocateHandle
RtlAllocateHeap
RtlAnsiStringToUnicodeString
RtlAppendUnicodeStringToString
RtlAppendUnicodeToString
RtlAreBitsSet
RtlCharToInteger
RtlCleanUpTEBLangLists
RtlClearBits
RtlCompareMemory
RtlCopyUnicodeString
RtlCreateAcl
RtlCreateHeap
RtlCreateQueryDebugBuffer
RtlCreateSecurityDescriptor
RtlCreateUnicodeStringFromAsciiz
RtlDecodePointer
RtlDeleteCriticalSection
RtlDestroyHeap
RtlDestroyQueryDebugBuffer
RtlDetermineDosPathNameType_U
RtlDosApplyFileIsolationRedirection_Ustr
RtlDosPathNameToNtPathName_U
RtlDosPathNameToNtPathName_U_WithStatus
RtlDosPathNameToRelativeNtPathName_U
RtlDosPathNameToRelativeNtPathName_U_WithStatus
RtlDosSearchPath_Ustr
RtlEnterCriticalSection
RtlEqualSid
RtlEqualString
RtlEqualUnicodeString
RtlExitUserThread
RtlExpandEnvironmentStrings
RtlFindClearBitsAndSet
RtlFormatCurrentUserKeyPath
RtlFreeAnsiString
RtlFreeHeap
RtlFreeSid
RtlFreeUnicodeString
RtlGetCurrentDirectory_U
RtlGetCurrentTransaction
RtlGetFullPathName_U
RtlGetFullPathName_UEx
RtlGetLongestNtPathLength
RtlGetOwnerSecurityDescriptor
RtlGetVersion
RtlInitAnsiString
RtlInitAnsiStringEx
RtlInitializeCriticalSection
RtlInitializeCriticalSectionAndSpinCount
RtlInitializeSid
RtlInitString
RtlInitUnicodeString
RtlInitUnicodeStringEx
RtlIsDosDeviceName_U
RtlIsTextUnicode
RtlIsValidHandle
RtlLeaveCriticalSection
RtlLengthRequiredSid
RtlLengthSid
RtlLockHeap
RtlNtStatusToDosError
RtlPcToFileHeader
RtlPrefixUnicodeString
RtlQueryEnvironmentVariable_U
RtlQueryInformationActivationContext
RtlQueryProcessDebugInformation
RtlReleasePebLock
RtlReleaseRelativeName
RtlReleaseSRWLockExclusive
RtlReleaseSRWLockShared
RtlRunOnceBeginInitialize
RtlRunOnceComplete
RtlRunOnceExecuteOnce
RtlSetCurrentTransaction
RtlSetDaclSecurityDescriptor
RtlSetLastWin32Error
RtlSetSaclSecurityDescriptor
RtlSetUserValueHeap
RtlSizeHeap
RtlSubAuthorityCountSid
RtlSubAuthoritySid
RtlTryEnterCriticalSection
RtlUnicodeStringToAnsiString
RtlUnicodeToMultiByteN
RtlUnicodeToMultiByteSize
RtlUnicodeToUTF8N
RtlUnlockHeap
RtlUpcaseUnicodeChar
RtlUTF8ToUnicodeN
SelectObject
SendMessageW
SetBitmapBits
SetBkMode
SetCapture
SetCursor
SetFilePointer
SetICMMode
SetLastError
SetRect
SetTimer
SetWindowPos
SetWindowsHookExW
ShellExecuteW
ShowWindow
SizeofResource
Sleep
sprintf_s
SystemParametersInfoW
TranslateAcceleratorW
TranslateMessage
UnhookWindowsHookEx
UnlockFile
UpdateLayeredWindow
UuidCreate
VariantCopy
VariantInit
wcschr
wcscpy_s
wcsncmp
wcsncpy_s
wcsnlen
wcsrchr
WideCharToMultiByte
WindowFromDC
WindowFromPoint
WritePrivateProfileStringW

免费评分

参与人数 1吾爱币 +1 收起 理由
你丫的 + 1 程序崩不崩溃我不知道,反正我是崩溃了

查看全部评分

发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

moda 发表于 2020-1-14 09:59
不清楚是什么语言的api,我知道php的,应该类似吧,
LockFile
LockFileEx
LockResource

锁文件后,不解锁的话,应该会崩溃

免费评分

参与人数 1吾爱币 +1 收起 理由
冥界3大法王 + 1 谢谢@Thanks!

查看全部评分

 楼主| 冥界3大法王 发表于 2020-1-14 12:19
netspirit 发表于 2020-1-14 09:37
如果系统api能让程序崩溃那微软还为什么要设计这个api呢?

@netspirit
因为触发了暗桩,作者希望程序早早完蛋。
netspirit 发表于 2020-1-14 09:37
如果系统api能让程序崩溃那微软还为什么要设计这个api呢?
sigmund 发表于 2020-1-14 09:43
如果系统api能让程序崩溃那微软还为什么要设计这个api呢?
Qwetry 发表于 2020-1-14 09:45
ReleaseDC
hooxp 发表于 2020-1-14 09:47
如果系统api能让程序崩溃那微软还为什么要设计这个api呢?
zyy22664488 发表于 2020-1-14 09:48
感谢分享
misszzy 发表于 2020-1-14 10:01
RtlInitString
RtlInitUnicodeString
RtlInitUnicodeStringEx
传递错误指针试试

免费评分

参与人数 1吾爱币 +1 收起 理由
冥界3大法王 + 1 谢谢@Thanks!

查看全部评分

Hemingway2003 发表于 2020-1-14 10:45
我做c的,我就知道free一个没有申请成功的指针或者给一个栈内存指针,程序就崩了

免费评分

参与人数 1吾爱币 +1 收起 理由
冥界3大法王 + 1 我很赞同!

查看全部评分

bp946 发表于 2020-1-14 10:59
无限循环申请内存也会崩

免费评分

参与人数 1吾爱币 +1 收起 理由
冥界3大法王 + 1 谢谢@Thanks!

查看全部评分

您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则

返回列表

RSS订阅|小黑屋|处罚记录|联系我们|吾爱破解 - LCG - LSG ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2024-11-25 12:36

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表