Upload files to "/"
This commit is contained in:
@@ -76,13 +76,10 @@ def patch_strcpy(nbytes, save_path, output=True):
|
|||||||
push rcx;
|
push rcx;
|
||||||
push rdx;
|
push rdx;
|
||||||
xor rcx, rcx;
|
xor rcx, rcx;
|
||||||
loop:
|
|
||||||
mov rdx, {nbytes-1};
|
mov rdx, {nbytes-1};
|
||||||
mov al, [rcx + rsi];
|
mov byte ptr [rdx + rsi], 0;
|
||||||
|
loop:
|
||||||
cmp rcx, rdx;
|
mov al, [rsi + rcx];
|
||||||
jge ret_code;
|
|
||||||
|
|
||||||
test al, al;
|
test al, al;
|
||||||
je ret_code;
|
je ret_code;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user