← Back to list

πŸš€ Day 3: STL in C++, CSRF & HTTP Request Smuggling, and Python Fundamentals

Building consistency one day at a time while preparing for opportunities in Cybersecurity and Software Development πŸ’»πŸ›‘οΈ

Akshay Archive Β· 2026-05-29 20:04 Β· 0 claps Β· 3.2 min read
#data-structures-algorithm #cybersecurity #self-improvement #learning-in-public #python
Open on Medium β†—
Wiki topics: PSY Β· Psychology EDU Β· Education & Learning πŸ’» Β· Programming πŸ”’ Β· Cybersecurity πŸš€ Β· Self Improvement

πŸš€ Day 3: STL in C++, CSRF & HTTP Request Smuggling, and Python Fundamentals

Building consistency one day at a time while preparing for opportunities in Cybersecurity and Software Development πŸ’»πŸ›‘οΈ

🎯 Today’s Goal

🧠 DSA: Complete STL and solve 2–3 array problems πŸ›‘οΈ Cybersecurity: Learn CSRF and HTTP Request Smuggling basics 🐍 Rotative Slot: Python Fundamentals

πŸ“š What I Studied

🧠 DSA

Completed learning the C++ Standard Template Library (STL) and practiced understanding its usage.

I did not solve any DSA problems today, which was a missed opportunity to reinforce the concepts.

πŸ›‘οΈ Cybersecurity

Focused mainly on CSRF basics.

I did not complete hands-on practice, read technical articles, or attempt the HTTP Request Smuggling lab.

🐍 Python

No Python study today.

πŸ’‘ What I Learned

🧠 DSA

Completed core STL concepts including List, Pair, Map, Set, Multiset, Multimap, Queue, Stack, Deque, Unordered Map, Unordered Set, and Priority Queue.

Also revised useful built-in C++ functions such as sort(), reverse(), max_element(), __builtin_popcount(), and next_permutation().

Although resume building and job searching were necessary, I regret not allocating enough time to actual problem-solving practice today.

πŸ›‘οΈ Cybersecurity

Learned the fundamentals of CSRF (Cross-Site Request Forgery).

I also briefly explored YouTube’s source code to better understand how large platforms structure client-side data and requests.

🐍 Python

No progress in Python, backend development, or Kotlin today.

This needs to be prioritized in upcoming sessions, especially Python fundamentals such as Lists, Sets, Tuples, Dictionaries, Functions, args, kwargs, Modules, and Scope Resolution.

πŸ› οΈ What I Practiced

🧠 DSA

Practiced STL syntax and usage examples.

πŸ›‘οΈ Cybersecurity

Completed approximately half of a CSRF lab on TryHackMe.

🐍 Python

No practice today.

πŸ” Vulnerabilities / Technical Concepts Learned

CSRF (Cross-Site Request Forgery)

CSRF is an attack where an attacker forges a request and sends it through an authenticated victim.

If the victim is already logged in to the target application, the browser may automatically include session cookies, causing the server to process the malicious request as legitimate.

This happens because the target application trusts the request without properly validating its origin.

Key Observations

βœ… CSRF can affect both GET and POST requests βœ… Before testing for CSRF, check for state-changing functionality βœ… Applications relying only on session cookies are often vulnerable

πŸ›‘οΈ Basic Mitigations

  • Validate Origin and Referer headers
  • Use anti-CSRF tokens
  • Follow a zero-trust validation approach

πŸ“– Notes from Learning Resources

Articles & Videos

πŸ“Œ TakeUForward β€” STL Guide πŸ“Œ AlgoMaster β€” C++ Crash Course

πŸ‹οΈ Health and Discipline

πŸ’ͺ Exercise: 60-second jumping jacks 60-second plank 22 Russian twists Crunches 12 leg raises 26 bicycle crunches

🧘 Meditation: 5 minutes

🎡 Mental Wellness: Listened to music to reset focus

⏳ Time Audit

πŸ•’ Time Wasted: Idle scrolling on LinkedIn and extended job searching

Main Distractions

  • Frequent phone checks πŸ“±
  • Context switching
  • Spending excessive time on resume building
  • Poor time allocation for lower-priority tasks

βœ… Wins

✨ Completed C++ STL ✨ Started learning web vulnerabilities through CSRF ✨ Maintained exercise and meditation discipline

⚠️ Failures / Friction Points

  • Delayed starting due to late sleep 😴
  • Spent too much time on routine tasks
  • Lost focus because of unnecessary distractions
  • Notes could have been sharper and more concise

πŸ“ˆ Improvement Plan for Tomorrow

βœ… Avoid checking social media for the first hour after waking up βœ… Keep the phone away during deep work sessions βœ… Solve 3 array problems + revise 2 previous ones βœ… Write sharper technical notes βœ… Follow stricter time blocks

πŸ“… Tomorrow’s Learning Plan

🧠 DSA

Learn hashing, continue array concepts, and solve array problems.

πŸ›‘οΈ Cybersecurity

Complete the CSRF lab on TryHackMe, study content discovery and OSINT reconnaissance, attempt an HTTP Request Smuggling lab from PortSwigger, and complete INE Module 3: Recon.

🐍 Python

Learn Lists, Sets, Tuples, Dictionaries, Functions, args, kwargs, Modules, and Scope Resolution.

Practice building a Hangman project and solving basic encryption exercises.

βš™οΈ Productivity / Setup

Learn Notion and create a GitHub account.

πŸ“ Daily Reflection

Today was not the kind of day I want to repeat.

The biggest lesson I learned is that starting early matters. It is easy to lose momentum when focusing on time already wasted instead of making the most of the time still available.

I would not call this a bad day because resume building and job searching are also important parts of my long-term goals. However, I need to manage these tasks better so they do not consume the time reserved for deep technical learning.

This day reminded me that not every day will be perfect. Some days expose weaknesses in discipline, focus, and planning β€” and those lessons are valuable.

The most important thing is this:

I showed up. I learned something meaningful. And I built momentum for tomorrow. πŸš€

MyDailyJournal #Cybersecurity #DSA #CPP #Python #Productivity #SelfImprovement #SoftwareDevelopment


메타데이터
post_id
00dd5336bb18
slug
day-3-stl-in-c-csrf-http-request-smuggling-and-python-fundamentals-00dd5336bb18
url
https://medium.com/@akshayarchive/day-3-stl-in-c-csrf-http-request-smuggling-and-python-fundamentals-00dd5336bb18
canonical_url
https://medium.com/@akshayarchive/day-3-stl-in-c-csrf-http-request-smuggling-and-python-fundamentals-00dd5336bb18
author_url
https://medium.com/@akshayarchive
status
ok
fetched_at
2026-08-19 02:54:09