Upload files to "/"

This commit is contained in:
2024-10-27 14:51:41 +08:00
parent 1f32ffbe34
commit a1f1cebfb3

View File

@@ -76,13 +76,10 @@ def patch_strcpy(nbytes, save_path, output=True):
push rcx;
push rdx;
xor rcx, rcx;
loop:
mov rdx, {nbytes-1};
mov al, [rcx + rsi];
cmp rcx, rdx;
jge ret_code;
mov byte ptr [rdx + rsi], 0;
loop:
mov al, [rsi + rcx];
test al, al;
je ret_code;