Skip to content

Commit 30a7cef

Browse files
committed
Added Day 1 of AoC2025
1 parent 1f5da31 commit 30a7cef

57 files changed

Lines changed: 7466 additions & 14021 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

_includes/favicons.html

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
<!-- Custom Favicons Override -->
2+
<link rel="apple-touch-icon" sizes="180x180" href="{{ '/assets/img/posts/favicons/apple-touch-icon.png' | relative_url }}">
3+
<link rel="icon" type="image/png" sizes="32x32" href="{{ '/assets/img/posts/favicons/favicon-32x32.png' | relative_url }}">
4+
<link rel="icon" type="image/png" sizes="16x16" href="{{ '/assets/img/posts/favicons/favicon-16x16.png' | relative_url }}">
5+
<link rel="shortcut icon" href="{{ '/assets/img/posts/favicons/favicon.ico' | relative_url }}">
6+
<!-- Optional: if you later add these files to the same folder uncomment below -->
7+
{%- comment -%}
8+
<link rel="manifest" href="{{ '/assets/img/posts/favicons/site.webmanifest' | relative_url }}">
9+
<meta name="msapplication-config" content="{{ '/assets/img/posts/favicons/browserconfig.xml' | relative_url }}">
10+
{%- endcomment -%}
11+
<meta name="apple-mobile-web-app-title" content="{{ site.title }}">
12+
<meta name="application-name" content="{{ site.title }}">
13+
14+
<!-- Runtime circular favicon conversion: crops the square PNG to a circle -->
15+
<script>
16+
(function() {
17+
var link = document.querySelector('link[rel="icon"][sizes="32x32"]') || document.querySelector('link[rel="icon"]');
18+
if (!link) return;
19+
var src = link.getAttribute('href');
20+
if (!src) return;
21+
var img = new Image();
22+
img.crossOrigin = 'anonymous';
23+
img.src = src;
24+
img.onload = function() {
25+
var size = 64; // generate a reasonably sharp data URL
26+
var canvas = document.createElement('canvas');
27+
canvas.width = size;
28+
canvas.height = size;
29+
var ctx = canvas.getContext('2d');
30+
ctx.beginPath();
31+
ctx.arc(size/2, size/2, size/2, 0, Math.PI * 2);
32+
ctx.closePath();
33+
ctx.clip();
34+
// Draw source image scaled to canvas
35+
ctx.drawImage(img, 0, 0, size, size);
36+
try {
37+
var dataURL = canvas.toDataURL('image/png');
38+
// Replace existing favicon links with circular version
39+
var iconLinks = document.querySelectorAll('link[rel="icon"], link[rel="shortcut icon"]');
40+
iconLinks.forEach(function(l) { l.href = dataURL; });
41+
} catch(e) { /* silently ignore */ }
42+
};
43+
})();
44+
</script>
45+
46+
<!-- To permanently make it round, replace image files with transparent PNGs already cropped to a circle.
47+
Recommended sizes: 16x16, 32x32, 180x180 (apple-touch). Keep transparent corners. -->

_includes/head.html

Lines changed: 125 additions & 122 deletions
Original file line numberDiff line numberDiff line change
@@ -1,123 +1,126 @@
11
<head>
2-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
3-
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#f7f7f7">
4-
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#1b1b1e">
5-
<meta name="mobile-web-app-capable" content="yes">
6-
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
7-
<meta name="viewport"
8-
content="width=device-width, user-scalable=no initial-scale=1, shrink-to-fit=no, viewport-fit=cover">
9-
10-
{%- capture seo_tags -%}
11-
{% seo title=false %}
12-
{%- endcapture -%}
13-
14-
<!-- Setup Open Graph image -->
15-
16-
{% if page.image %}
17-
{% assign src = page.image.path | default: page.image %}
18-
19-
{% unless src contains '://' %}
20-
{%- capture img_url -%}
21-
{% include media-url.html src=src subpath=page.media_subpath absolute=true %}
22-
{%- endcapture -%}
23-
24-
{%- capture old_url -%}{{ src | absolute_url }}{%- endcapture -%}
25-
{%- capture new_url -%}{{ img_url }}{%- endcapture -%}
26-
27-
{% assign seo_tags = seo_tags | replace: old_url, new_url %}
28-
{% endunless %}
29-
30-
{% elsif site.social_preview_image %}
31-
{%- capture img_url -%}
32-
{% include media-url.html src=site.social_preview_image absolute=true %}
33-
{%- endcapture -%}
34-
35-
{%- capture og_image -%}
36-
<meta property="og:image" content="{{ img_url }}" />
37-
{%- endcapture -%}
38-
39-
{%- capture twitter_image -%}
40-
<meta name="twitter:card" content="summary_large_image" />
41-
<meta property="twitter:image" content="{{ img_url }}" />
42-
{%- endcapture -%}
43-
44-
{% assign old_meta_clip = '
45-
<meta name="twitter:card" content="summary" />' %}
46-
{% assign new_meta_clip = og_image | append: twitter_image %}
47-
{% assign seo_tags = seo_tags | replace: old_meta_clip, new_meta_clip %}
48-
{% endif %}
49-
50-
{{ seo_tags }}
51-
52-
<title>
53-
{%- unless page.layout == 'home' -%}
54-
{{ page.title | append: ' | ' }}
55-
{%- endunless -%}
56-
{{ site.title }}
57-
</title>
58-
59-
{% include_cached favicons.html %}
60-
61-
<!-- Resource Hints -->
62-
{% unless site.assets.self_host.enabled %}
63-
{% for hint in site.data.origin.cors.resource_hints %}
64-
{% for link in hint.links %}
65-
<link rel="{{ link.rel }}" href="{{ hint.url }}" {{ link.opts | join: ' ' }}>
66-
{% endfor %}
67-
{% endfor %}
68-
{% endunless %}
69-
70-
<!-- Bootstrap -->
71-
{% unless jekyll.environment == 'production' %}
72-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.6/dist/css/bootstrap.min.css">
73-
{% endunless %}
74-
75-
<!-- Theme style -->
76-
<link rel="stylesheet" href="{{ '/assets/css/:THEME.css' | replace: ':THEME', site.theme | relative_url }}">
77-
78-
<!-- Web Font -->
79-
<link rel="stylesheet" href="{{ site.data.origin[type].webfonts | relative_url }}">
80-
81-
<!-- Font Awesome Icons -->
82-
<link rel="stylesheet" href="{{ site.data.origin[type].fontawesome.css | relative_url }}">
83-
84-
<!-- 3rd-party Dependencies -->
85-
86-
{% if site.toc and page.toc %}
87-
<link rel="stylesheet" href="{{ site.data.origin[type].toc.css | relative_url }}">
88-
{% endif %}
89-
90-
{% if page.layout == 'post' or page.layout == 'page' or page.layout == 'home' %}
91-
<link rel="stylesheet" href="{{ site.data.origin[type]['lazy-polyfill'].css | relative_url }}">
92-
{% endif %}
93-
94-
{% if page.layout == 'page' or page.layout == 'post' %}
95-
<!-- Image Popup -->
96-
<link rel="stylesheet" href="{{ site.data.origin[type].glightbox.css | relative_url }}">
97-
{% endif %}
98-
99-
<!-- Scripts -->
100-
101-
<script src="{{ '/assets/js/dist/theme.min.js' | relative_url }}"></script>
102-
103-
{% include js-selector.html lang=lang %}
104-
105-
{% if jekyll.environment == 'production' %}
106-
<!-- PWA -->
107-
{% if site.pwa.enabled %}
108-
<script defer
109-
src="{{ '/app.min.js' | relative_url }}?baseurl={{ site.baseurl | default: '' }}&register={{ site.pwa.cache.enabled }}"></script>
110-
{% endif %}
111-
112-
<!-- Web Analytics -->
113-
{% for analytics in site.analytics %}
114-
{% capture str %}{{ analytics }}{% endcapture %}
115-
{% assign platform = str | split: '{' | first %}
116-
{% if site.analytics[platform].id and site.analytics[platform].id != empty %}
117-
{% include analytics/{{ platform }}.html %}
118-
{% endif %}
119-
{% endfor %}
120-
{% endif %}
121-
122-
{% include metadata-hook.html %}
123-
</head>
2+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
3+
<meta
4+
name="theme-color"
5+
media="(prefers-color-scheme: light)"
6+
content="#f7f7f7"
7+
/>
8+
<meta
9+
name="theme-color"
10+
media="(prefers-color-scheme: dark)"
11+
content="#1b1b1e"
12+
/>
13+
<meta name="mobile-web-app-capable" content="yes" />
14+
<meta
15+
name="apple-mobile-web-app-status-bar-style"
16+
content="black-translucent"
17+
/>
18+
<meta
19+
name="viewport"
20+
content="width=device-width, user-scalable=no initial-scale=1, shrink-to-fit=no, viewport-fit=cover"
21+
/>
22+
23+
{%- capture seo_tags -%} {% seo title=false %} {%- endcapture -%}
24+
25+
<!-- Setup Open Graph image -->
26+
27+
{% if page.image %} {% assign src = page.image.path | default: page.image %}
28+
{% unless src contains '://' %} {%- capture img_url -%} {% include
29+
media-url.html src=src subpath=page.media_subpath absolute=true %} {%-
30+
endcapture -%} {%- capture old_url -%}{{ src | absolute_url }}{%- endcapture
31+
-%} {%- capture new_url -%}{{ img_url }}{%- endcapture -%} {% assign seo_tags
32+
= seo_tags | replace: old_url, new_url %} {% endunless %} {% elsif
33+
site.social_preview_image %} {%- capture img_url -%} {% include media-url.html
34+
src=site.social_preview_image absolute=true %} {%- endcapture -%} {%- capture
35+
og_image -%}
36+
<meta property="og:image" content="{{ img_url }}" />
37+
{%- endcapture -%} {%- capture twitter_image -%}
38+
<meta name="twitter:card" content="summary_large_image" />
39+
<meta property="twitter:image" content="{{ img_url }}" />
40+
{%- endcapture -%} {% assign old_meta_clip = '
41+
<meta name="twitter:card" content="summary" />
42+
' %} {% assign new_meta_clip = og_image | append: twitter_image %} {% assign
43+
seo_tags = seo_tags | replace: old_meta_clip, new_meta_clip %} {% endif %} {{
44+
seo_tags }}
45+
46+
<title>
47+
{%- unless page.layout == 'home' -%} {{ page.title | append: ' | ' }} {%-
48+
endunless -%} {{ site.title }}
49+
</title>
50+
51+
{% include_cached favicons.html %}
52+
53+
<!-- Resource Hints -->
54+
{% unless site.assets.self_host.enabled %} {% for hint in
55+
site.data.origin.cors.resource_hints %} {% for link in hint.links %} <link
56+
rel="{{ link.rel }}" href="{{ hint.url }}" {{ link.opts | join: ' ' }}> {%
57+
endfor %} {% endfor %} {% endunless %}
58+
59+
<!-- Bootstrap -->
60+
{% unless jekyll.environment == 'production' %}
61+
<link
62+
rel="stylesheet"
63+
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.6/dist/css/bootstrap.min.css"
64+
/>
65+
{% endunless %}
66+
67+
<!-- Theme style -->
68+
<link
69+
rel="stylesheet"
70+
href="{{ '/assets/css/:THEME.css' | replace: ':THEME', site.theme | relative_url }}"
71+
/>
72+
73+
<!-- Web Font -->
74+
<link
75+
rel="stylesheet"
76+
href="{{ site.data.origin[type].webfonts | relative_url }}"
77+
/>
78+
79+
<!-- Font Awesome Icons -->
80+
<link
81+
rel="stylesheet"
82+
href="{{ site.data.origin[type].fontawesome.css | relative_url }}"
83+
/>
84+
85+
<!-- 3rd-party Dependencies -->
86+
87+
{% if site.toc and page.toc %}
88+
<link
89+
rel="stylesheet"
90+
href="{{ site.data.origin[type].toc.css | relative_url }}"
91+
/>
92+
{% endif %} {% if page.layout == 'post' or page.layout == 'page' or
93+
page.layout == 'home' %}
94+
<link
95+
rel="stylesheet"
96+
href="{{ site.data.origin[type]['lazy-polyfill'].css | relative_url }}"
97+
/>
98+
{% endif %} {% if page.layout == 'page' or page.layout == 'post' %}
99+
<!-- Image Popup -->
100+
<link
101+
rel="stylesheet"
102+
href="{{ site.data.origin[type].glightbox.css | relative_url }}"
103+
/>
104+
{% endif %}
105+
106+
<!-- Scripts -->
107+
108+
<script src="{{ '/assets/js/dist/theme.min.js' | relative_url }}"></script>
109+
110+
{% include js-selector.html lang=lang %} {% if jekyll.environment ==
111+
'production' %}
112+
<!-- PWA -->
113+
{% if site.pwa.enabled %}
114+
<script
115+
defer
116+
src="{{ '/app.min.js' | relative_url }}?baseurl={{ site.baseurl | default: '' }}&register={{ site.pwa.cache.enabled }}"
117+
></script>
118+
{% endif %}
119+
120+
<!-- Web Analytics -->
121+
{% for analytics in site.analytics %} {% capture str %}{{ analytics }}{%
122+
endcapture %} {% assign platform = str | split: '{' | first %} {% if
123+
site.analytics[platform].id and site.analytics[platform].id != empty %} {%
124+
include analytics/{{ platform }}.html %} {% endif %} {% endfor %} {% endif %}
125+
{% include metadata-hook.html %}
126+
</head>

_posts/2025-03-14-welcome.md

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,32 +2,26 @@
22
layout: post
33
title: Welcome to My Blog 👋
44
date: 14-03-2025
5-
categories: [Others]
5+
categories: [Misc]
66
tag: [welcome]
77
---
88

99

10-
Hello and welcome to my blog! 🚀
10+
# **Welcome to the Lab**
1111

12-
I'm passionate about cybersecurity, working on various projects, and participating in Capture The Flag (CTF) competitions. This blog is my space to share:
12+
This blog is a technical record of my work in cybersecurity. I use it to document investigations, break down CTF challenges, publish walkthroughs, and share research notes that might help others working in the same domain.
1313

14-
🏆 CTF Writeups – Breaking down challenges, strategies, and solutions.
14+
# **What You’ll Find Here**
1515

16-
🔐 Cybersecurity Insights – Topics, tools, and techniques that I find useful.
16+
CTF Writeups — Clear, step-by-step solutions with reasoning, tooling, and exploitation logic.
17+
Security Tutorials — Practical guides on core concepts, methodologies, and modern defensive/attacker techniques.
18+
Project Notes — Experiments, tools, and implementations from my personal research.
19+
Walkthroughs — Deep dives into platforms like PortSwigger Labs, TryHackMe, and other structured learning environments.
1720

18-
🛠️ Projects – Showcasing my work in cybersecurity and related fields.
21+
# **Purpose**
1922

20-
🏅 Achievements – Highlights of my journey in this exciting domain
23+
This space exists to provide technically accurate, reproducible material for fellow security researchers and to maintain a transparent record of my own growth in offensive and defensive security. Everything here is hands-on, tested, and focused on real-world relevance.
2124

22-
## Why This Blog?
25+
Welcome aboard.
2326

24-
The cybersecurity world is vast, and learning never stops. By documenting my experiences, I hope to:
25-
26-
✅ Help others understand and solve challenges.
27-
✅ Contribute to the cybersecurity community.
28-
✅ Track my own progress and growth.
29-
30-
Stay tuned for upcoming posts, and feel free to connect or leave feedback! 🔥
31-
32-
Cheers,
33-
CYB3R-BO1
27+
~ *CYB3R-BO1*

_posts/2025-03-27-wolvctf_2025_writeup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: WolvCTF 2025 writeups
33
date: 2025-03-27 21:45:00 +0530
4-
categories: [CTF, WolvCTF]
4+
categories: [CTF, Others]
55
tags: [ctf, writeups, cybersecurity, forensics, reverse-engineering, pwn, cryptography] # TAG names should always be lowercase
66
description: This post consists of writeups of the challenges CYB3R_BO1 had solved in WolvCTF 2025.
77
---

_posts/2025-05-04-tsukuctf_2025_writeup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: TsukuCTF 2025 writeups
33
date: 2025-05-04 11:00:00 +0530
4-
categories: [CTF, TsukuCTF]
4+
categories: [CTF, Others]
55
tags: [ctf, writeups, cybersecurity, osint, pwn, cryptography] # TAG names should always be lowercase
66
description: This post consists of writeups of the challenges CYB3R_BO1 had solved in TsukuCTF 2025.
77
---

_posts/2025-07-23-Autopsy-tutorial-for-beginners.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Autopsy - Tutorial for N00bs
2+
title: Autopsy - Tutorial
33
date: 2025-07-23 12:30:00 +0530
44
categories: [Tutorial]
55
tags: [cybersecurity, forensics] # TAG names should always be lowercase

_posts/2025-09-08-imaginaryctf_2025_writeup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "ImaginaryCTF 2025 Writeup"
33
date: 2025-09-09 00:00:00 +0000
4-
categories: [ctf, writeups]
4+
categories: [CTF, Others]
55
tags: [ctf, writeups, cybersecurity, pwn, reverse-engineering]
66
excerpt: "A writeup for ImaginaryCTF 2025 challenges."
77
---

0 commit comments

Comments
 (0)