| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- sql injection
- 취약점 진단
- msfconsole #heartbleed #247ctf #misc #webhacking
- 모의해킹
- 리눅스
- androidhacking
- androGoat
- Linux
- bandit #밴딧 #웹해킹 #해킹 #화이트해커 #공부 #스터디 #IT #hacking #linux #openssl #nmap
- pentest
- error-based
- 밴딧
- Bandit
- 안드로이드 모의해킹
- 쿠키변조
- time-based
- Today
- Total
목록dreamhack/crypto (2)
d0r1
;; 당연히 플래그가 DH{} 인줄 알고, 나온 값 넣어도 안풀려서 당황했던 문제 #include #include #include #define JOKER "\x40\x53\x06\x03\x43\x52\x54\x3b" #define KEY "023661dd4\0" #define TRUE 1 #define FALSE 0 #define OK 0 #define ERRO -1 void __print_sw_title (char *sw_name); int __is_valid_pwd (char *pwd); char *__obfuscation (char *pwd, char *key); void __create_tag (char *id); int main (int argc, char *argv[]) { if (argc ..
문제 이름이 힌트였다.54 58 ~~--> hex 값이므로, 이를 변환[84, 88, 107, 100, 88, 117, 79, 123, 33, 92, 124, 117, 66, 79, 33, 99, 79, 116, 66, 117, 81, 125, 109] xor의 경우,0 ^ 0 = 00 ^ 1 = 11 ^ 0 = 11 ^ 1 = 0즉, 두 값이 서로 다르면 참이 출력된다 이는 실제로 코드에서 a ^ b 로 표현이 가능하다. 또한, FF 까지 값이 있음을 확인하였으니, 1111 1111 --> 256 까지의 케이스가 있음을 짐작할 수 있다. 즉, 0 ~ 256 까지 직접 다 대입하면서 풀어보면 나온다는 얘기 test = "54586b6458754f7b215c7c75424f21634f744275517d6d"..