본문 바로가기
반응형

전체 글213

UTCTF 19' Write-up / [basics] crypto This time I took part in UTCTF. This is my approach. When I open the file, it has a binary string so I made a small code to figure out what messages in it a = "01010101 01101000 ...... " (Copy from the file)a = a.split(" ")d = "" for i in range(len(a)): d += chr(int("0b" + a[i], 2)) After that, I found below message, especially the encoding part. Uh-oh, looks like we have another block of text, .. 2019. 3. 10.
International Morse code (di-dah) dict = {'di-dah': 'A', 'dah-di-di-dit': 'B', 'dah-di-dah-dit': 'C', 'dah-di-dit': 'D', 'dit': 'E', 'di-di-dah-dit': 'F', 'dah-dah-dit': 'G', 'di-di-di-dit': 'H', 'di-dit': 'I', 'di-dah-dah-dah': 'J', 'dah-di-dah': 'K', 'di-dah-di-dit': 'L', 'dah-dah': 'M', 'dah-dit': 'N', 'dah-dah-dah': 'O', 'di-dah-dah-dit': 'P', 'dah-dah-di-dah': 'Q', 'di-dah-dit': 'R', 'di-di-dit': 'S', 'dah': 'T', 'di-di-dah.. 2019. 2. 25.
Security Engineer (Analyst) Intern Interview Questions 1. What is an antivirus and why antivirus needs for organizations?2. Explain Vulnerability, Risk, and Threat3. What is DDoS and how to mitigate?4. Explain Asymmetric and Symmetric encryption?: Follow up questions - If I focused on the speed, symmetric is better or asymmetric is better? Tell me the reasons5. Tell me Hashing, Encryption, and Encoding?6. Explain IDS and IPS7. What is a firewall?8. .. 2019. 2. 19.
What is the point of float("-inf"), float("inf") I simply copy and paste a post that was posted on stackoverflow. It acts as an unbounded upper value for comparison. This is useful for finding lowest values for something. for example, calculating path route costs when traversing trees.e.g. Finding the "cheapest" path in a list of options:>>> lowest_path_cost = float('inf') >>> # pretend that these were calculated using some worthwhile algorith.. 2019. 1. 22.
반응형