일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
- UTCTF
- reversing
- CS/자료구조/Doubly_Linked_List
- Tree/AVL/Deletion
- CS/자료구조/Circular_Queue
- CS/자료구조/Stack
- CS/자료구조/Priority_Queue
- 리버싱
- ctf
- Tree/Binary_Tree
- CS/자료구조/Queue
- CS/자료구조/Linked_List
- CS/자료구조/Circular_Linked_List
- Tree/RBTree
- Tree/BST
- codeengn
- CS/자료구조/Singly_Linked_List
- Tree/AVL/Insertion
- Tree/Traversal
- Tree/RBTree/Insertion
- Tree/RBTree/Deletion
- Tree/AVL
- 코드엔진
- forensic
- tree
- Tree/Binary_Search_Tree
- Today
- Total
목록CaptureTheFlag[CTF]/UTCTF2021 (16)
SuperVingo

Peeb Poob ghidra 분석 undefined4 main(void) { size_t len; char arr [32]; undefined4 local_14; uint j; int i; local_14 = 0; i = 0; while (i < 0x20) { arr[i] = '\0'; i = i + 1; } printf("Enter a string: \n"); fgets(arr,0x20,stdin); encode(arr); j = 0; while( true ) { len = strlen(arr); if (len 0 1 2 3 0 1 2 3 0 1 2 3 . . . i % 4와 같은 연산임 flag 배열 확인 Sol flag = [0x54, 0x27, 0x62, 0x0b, 0x4b, 0x2b, 0x73..

Small P Problem 크립토는 공부용으로 씀. 디피-헬만 키 교환 (Diffie–Hellman key exchange) X와 Y사이에 통신 충분히 큰 소수 P, 적당한 정수 G를 정한다(이는 다른 사람이 알아도 된다.) X는 P보다 작은 정수 a를 선택하고 A = G ^ a mod P 를 계산한다. (A는 다른 사람이 알 수 있고, a는 알려지면 안된다.) Y는 P보다 작은 정수 b를 선택하고 A = G ^ b mod P 를 계산한다. (B는 다른 사람이 알 수 있고, b는 알려지면 안된다.) X는 공개된 P와 B를 이용하여 Ka = B ^ a mod P를 계산한다 Y는 공개된 P와 A를 이용하여 Kb = A ^ a mod P를 계산한다 이 때 Ka와 Kb는 같은 값이다. Solution 문제에서..

Recur 실행해보면 이상 진행되지 않는다. ghidra 분석시작 int main(void) { ulong val; int i; char ch; i = 0; while (i < 0x1c) { ch = flag[i]; val = recurrence(i * i); putchar((int)(char)((byte)val ^ ch)); fflush(stdout); i = i + 1; } return 0; } ulong recurrence(int param_1) { ulong a; ulong b; if (param_1 == 0) { a = 3; } else { if (param_1 == 1) { a = 5; } else { a = recurrence(param_1 + -1); b = recurrence(param_..

Emoji Encryption ☂️🦃🔥🦁🍎🎸{🐘🥭🧅🤹🧊☀️_💣🐘_🌋🐘🌈☀️🍎🦃🧊🦁🐘} 앞글자를 따오면 utflag{emojis_be_versatile}

OSINT Part 2 we can find a photo uploaded on google drive image search utflag{r3v3rs3d_t0_0r1g1nal}

OSINT Part 1 cansistently be found on social media. search on google utflag{g0t_y0ur_b4dg3}

Sandwiched binwalk로 확인 JPEG 파일 확인 가능. 0x1E90 ~ 0x9387 만큼 추출 b = open("h:/.Capture The Flag!/UTCTF 2021/Forensic/Sandwiched/secret.pdf", "rb").read()[0x1e90:0x9387] r = open("h:/.Capture The Flag!/UTCTF 2021/Forensic/Sandwiched/flag.jpg", "wb").write(b) utflag{file_sandwich_artist}