Skip to content

Commit

Permalink
new
Browse files Browse the repository at this point in the history
  • Loading branch information
HackerCalico authored Nov 18, 2024
1 parent e183976 commit c8f6bbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Example/BOF_Loader/Loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ int RunPayload(PBYTE pPayload, int payloadSize, int bofFuncHash, char* commandPa
BYTE needReloc = *(PBYTE)(pPayload + 8);
*(PBYTE)(pPayload + 8) = 0x00;
XorData(pPayload, 9, xor1, xor2);
if (payloadSize < rdataLen + obfCodeLen + importInfoListLen + bofFuncOffsetMapLen + 11) {
if (payloadSize != rdataLen + obfCodeLen + importInfoListLen + bofFuncOffsetMapLen + 11) {
return 0;
}
PBYTE pImportInfoList = pPayload + 9;
Expand Down

0 comments on commit c8f6bbe

Please sign in to comment.