Diary 2024 - 2025

Diary

2024-03-07

2024-03-08

2024-03-09

  • Learning Rust Challenge:
  • Find something online to transcribe code Rust to learn.
  • Transcribing source code is fun

2024-03-10

2024-03-11

2024-03-12

  • Learning Rust Challenge:
  • Transcribing source code RustDesk
  • I think I should delve into the source code of the password manager and remote desktop control to research within 1-2 months. I should also delve into some resources about distributed systems to research instead of reading theory. It’s interesting…
  • Update CV.

2024-03-13

2024-03-14

2024-03-15

  • Learning Rust Challenge:
  • Transcribe SafeLinkedList in Rust
  • Understanding about immutable vs mutable in Go, some discuss about array and slice in Go, review some knowledge about C/C++ (pointer, memory, const…)

2024-03-16

  • Relax…

2024-03-17

2024-03-18

  • Learning Rust Challenge:
  • Research about borrow checker rules in Rust
  • I think it’s time to delve into Rust by reading book

2024-03-19

  • Reading Rust book: understanding about ownership in Rust
  • Some weird: expect vs unwrap, ? in Rust

2024-03-20 – New plan

  • Continue reading Rust’s book:
    • Struct
    • Enum: likely union in C but more powerful -> “There’s another advantage to using an enum rather than a struct: each variant can have different types and amounts of associated data.”
      1
      2
      3
      4
      5
      6
      7
      8
      9
      10
      11
      12
         enum IpAddr {
      V4(u8, u8, u8, u8), // Associated data (u8, u8, u8, u8)
      V6(String), // Associated data (String)
      }
      let home = IpAddr::V4(127, 0, 0, 1);
      let loopback = IpAddr::V6(String::from("::1"));

      impl IpAddr {
      fn foo(&self) {}
      fn foo2(&mut self) {}
      fn foo3(self) {}
      }
    • Control flow

2024-03-21

  • Rust book:
    • Generic, Traits

2024-03-22

  • Rust book:
    • Lifetimes

2024-03-23

  • Relax

2024-03-24

  • Rust book:
    • Integrators and Closures
    • Smart pointer
    • Fearless Concurrency

2024-03-25

  • Rust: Turbofish operator
  • Research Cloudflare - gokey

2024-03-26

  • Algorithm:
    • Bit manipulation

2024-03-27

  • Algorithm:
    • Array
    • Data structure: linked list, stack, queue
    • Algorithm: binary search, sort

2024-03-28

  • Algorithm:
    • Array
    • Bucketsort
  • Review tree, graph, DFS, BFS.

2024-03-29

  • Focus on task.

2024-03-30

  • Relax
  • Algorithm: 2 leetcode

2024-03-31

  • Algorithm: 2 leetcode

2024-04-01

  • Relax…

2024-04-02

  • Review some knowledge about graceful shutdown and thread-local storage

2024-04-03

  • Research argocd and something interesting…

2024-04-04

  • Algorithm implementation:
    • Data structure: tree, graph
    • DFS, BFS
  • Distributed series:
    • Implement: distributed lock, distributed timer
  • Optimistic lock vs Pessimistic lock

2024-04-05

  • Review C/C++:
    • Smart Pointer
    • Concurrency
    • mmap
  • Review Golang:
    • Map, Channel, sync.Map
    • GMP
    • Memory management

2024-04-06

  • Review project structure: python, golang
  • Review GDB and debug glibc

2024-04-07 to 2024-27-04

  • Review base knowledge to interview
  • MySQL:
    • ACID, Isolation - Transaction
    • Index
    • Lock
  • Kafka
    • Zookeeper
    • Why Kafka so fast
    • Exactly Once
    • Pub/Sub vs Message Queue vs Streaming Platform (RabbitMQ vs Kafka)
  • Redis
    • Redis cluster
    • Split brain
    • Distributed lock advanced
  • Golang
    • Goroutines
  • Distributed:
    • SAGA
    • TCC
    • 3PC

2024-28-04 to 2024-05-05

  • Travel

2024-06-05 to 2024-31-5

  • Interview GHN
  • Offboarding Trusting Social, I will miss my colleagues here very much. I had a great time working here and had good colleagues.

2024-01-06 to 2024-15-06

  • Go home,  I’ve just become an uncle :D
  • Redteam Course:
    • Review reconnaissance
  • Pwnable.vn:
    • Challenge file_storage: solve this challenge, it’s not too hard to start.
    • Challenge escape_me: research some write up escape sandbox, I still have no idea about escape sandbox…

2024-17-06 to 2024-21-06

  • Onboarding GHN
  • Pwnable.vn:
    • Write writeup for challenge file_storage
    • Challenge escape_me: continue…
    • Analyze challenge db

2024-22-06 to 2024-23-06

  • GoogleCTF:
    • encrypt_runner
    • knife
  • Here are some tips and tricks for debugging with gdb
  • Meta: bug logic

2024-25-06 - 2024-19-07

  • Redteam Course:
    • Improve recon skill
    • Solve challenges about recon
      • Recon:
      • Part 1 + Part 2
    • Initial Access
    • Privilege Escalation
  • Research C2