Access Name Illegally
This commit is contained in:
parent
c26dc8415d
commit
bbad0349e4
@ -23,12 +23,21 @@ void Aufg9Main() {
|
|||||||
|
|
||||||
printf("I read something!\n%X\n", header);
|
printf("I read something!\n%X\n", header);
|
||||||
|
|
||||||
for (int i = 0; i < 16; i++) {
|
for (int i = 0; i < 1024; i++) {
|
||||||
std::cout << dest[i] << std::endl;
|
std::cout << dest[i] << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
long *test = reinterpret_cast<long *>(dest);
|
long *test = reinterpret_cast<long *>(dest);
|
||||||
printf("Test: %X\n", *test);
|
printf("Verification Code: %X\n", *test);
|
||||||
|
|
||||||
|
char *fuckery = (char *)test;
|
||||||
|
printf("Fuckery: %X\n", fuckery);
|
||||||
|
|
||||||
|
char *bit20 = &dest[20];
|
||||||
|
for (int i = 0; i < 16; i++) {
|
||||||
|
std::cout << bit20[i];
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
} catch (const std::exception &e) {
|
} catch (const std::exception &e) {
|
||||||
std::cout << e.what() << std::endl;
|
std::cout << e.what() << std::endl;
|
||||||
|
Loading…
Reference in New Issue
Block a user