feat(lvl09/ressources): adding the hex_to_ascii convertisseur
- The way to take the password of flag09 user
This commit is contained in:
parent
172d833b39
commit
01f2c1df47
1 changed files with 9 additions and 0 deletions
9
level09/ressources/hex_to_ascii.c
Normal file
9
level09/ressources/hex_to_ascii.c
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
int main(void) {
|
||||||
|
char to_convert[] = {0x66, 0x34, 0x6b, 0x6d, 0x6d, 0x36, 0x70, 0x7c, 0x3d, 0x82, 0x7f, 0x70, 0x82, 0x6e, 0x83, 0x82, 0x44, 0x42, 0x83, 0x44, 0x75, 0x7b, 0x7f, 0x8c, 0x89, 0};
|
||||||
|
for (size_t i = 0; to_convert[i]; i++) {
|
||||||
|
putchar(to_convert[i] - i);
|
||||||
|
}
|
||||||
|
putchar('\n');
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue