CRC?

안녕하세요
전에 보호기를 만들기로 결심했던 1人이에요!

전에 올린 글 댓글에 crc를 사용해보라는 수다님의 댓글을 보고
crc가 뭔지 검색했는데
수다님께서 만드신 hall보호기(맞나?) 가 있더라고요
안을 들여다 봤는데..

private sub form_load()
dim ccrc32 as new ccrc32
dim lcrc32 as long
dim cstream as new cbinaryfilestream
dim crcs as string
if getsetting(slow, slow dll protector, hal-crc) = vbnullstring then
msgbox hal.dll 의 crc 값이 저장되어 있지 않습니다. & vbnewline & _
확인을 누르시면 저장합니다., vbinformation, 알림
cstream.file = environ$(windir) & \system32\hal.dll
lcrc32 = ccrc32.getfilecrc32(cstream)
crcs = hex(lcrc32)
savesetting slow, slow dll protector, hal-crc, crcs
if len(dir(environ$(systemdrive) & \temp_f1.slw)) = 0 then
if len(dir(environ$(windir) & \system32\hal.dll)) = 0 then end
filecopy environ$(windir) & \system32\hal.dll, environ$(systemdrive) & \temp_f1.slw
shell attrib +a +h +r +s & environ$(systemdrive) & \temp_f1.slw
end if
end if
end sub
private sub tmrhalcheck_timer()
dim ccrc32 as new ccrc32
dim lcrc32 as long
dim cstream as new cbinaryfilestream
dim crcs as string
doevents
sleep 10 .

if len(dir(environ$(windir) & \system32\hal.dll)) = 0 then
filecopy environ$(systemdrive) & \temp_f1.slw, environ$(windir) & \system32\hal.dll
shell attrib -a -h -r -s & environ$(windir) & \system32\hal.dll
exit sub
end if

cstream.file = environ$(windir) & \system32\hal.dll
lcrc32 = ccrc32.getfilecrc32(cstream)
crcs = hex(lcrc32)

if getsetting(slow, slow dll protector, hal-crc) crcs then

filecopy environ$(systemdrive) & \temp_f1.slw, environ$(windir) & \system32\hal.dll
shell attrib -a -h -r -s & environ$(windir) & \system32\hal.dll
end if
end sub

제가 머리가 안좋아서 이해가 잘 안가네요 어떤원리인지.. ㅋ
자세히 좀 설명해주실분 구해요!

댓글 3

  • 나길 2026.07.03

    아차 알고보니 \난느려\님께서 만드신건
    hal_crc보호기였음 ㅎㄷㄷ hall 이건 누구꺼였지..

  • 틀큰 2026.07.03

    그런 상황에 대한 해결법은 잘 모르겠는데..
    마우스랑 키보드 선을 뺏다가 다시 연결해보시던지..
    아니면 포맷을 해보시던지.. 저도 잘모르겠네요 ;;

  • 사자자리 2026.07.03

    끄껐뽀따냬컴이이쌍하따꾸요 쌀려쭤요 짤몼햬써 마우쓰쓰크롤빠만냬려쏘 폐이찠썌로꼬침뙤꼬빢치녜염 빢빢빢빢빢

비주얼베이직 다른 글

목록