Skip to content

Commit

Permalink
new structure with PaperMod
Browse files Browse the repository at this point in the history
  • Loading branch information
qt1b committed Oct 3, 2024
1 parent c815c1a commit 76f427c
Show file tree
Hide file tree
Showing 51 changed files with 425 additions and 698 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
build:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.134.2
HUGO_VERSION: 0.121.2 # latest at time of writing : 0.134.2
steps:
- name: Install Hugo CLI
run: |
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.bak
158 changes: 158 additions & 0 deletions ;
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
baseURL = 'http://qt1b.github.io/'
languageCode = 'en-us'
title = "qt1b's personal page"
theme = "PaperMod" #"terminal"
paginate = 0x10


defaultContentLanguage = 'en'
defaultContentLanguageInSubdir = false
[languages]
[languages.en]
disabled = false
languageCode = 'en-US'
languageDirection = 'ltr'
languageName = 'english'
title = "qt1b's blog"
weight = 1
[languages.en.params]
subtitle = 'Reference, Tutorials, and Explanations'
[languages.ja]
disabled = false
languageCode = 'ja-JP'
languageDirection = 'ltr'
languageName = '日本語'
title = 'qt1bのブロッグ'
weight = 2
[languages.ja.params]
# subtitle = 'Referenz, Tutorials und Erklärungen'
[languages.fr]
disabled = true
languageCode = 'fr-FR'
languageDirection = 'ltr'
languageName = 'français'
title = "blog de qt1b"
weight = 3
[languages.fr.params]
# subtitle = 'Referenz, Tutorials und Erklärungen'
[languages.ko]
disabled = true
languageCode = 'ko-KR'
languageDirection = 'ltr'
languageName = '한국어'
title = "blog de qt1b"
weight = 4
[languages.ko.params]
# subtitle = 'Referenz, Tutorials und Erklärungen'




[params]
# env = production # to enable google analytics, opengraph, twitter-cards and schema.
title = "qt1b's blog"
description = "description"
keywords = ["Developpement","CTF","Blog","Portfolio"]
author = "qt1b"
# author: ["Me", "You"] # multiple authors
# images = ["<link or path of image for opengraph, twitter-cards>"]
DateFormat = "January 2, 2006"
ShowShareButtons = false
ShowReadingTime = true
disableSpecial1stPost = true
disableHLJS = true
displayFullLangName = true
ShowPostNavLinks = true
ShowBreadCrumbs = true
ShowCodeCopyButtons = true
ShowRssButtonInSectionTermList = true
ShowFullTextinRSS = true
ShowToc = true
TocOpen = false
ShowAllPagesInArchive = true
ShowPageNums = true
[params.profileMode]
enabled = false
title = "PaperMod"
imageUrl = "#"
imageTitle = "my image"

[[params.profileMode.buttons]]
name = "Archives"
url = "archives"

[[params.profileMode.buttons]]
name = "Tags"
url = "tags"
[params.homeInfoParams]
#Title = "Hi there wave"
Content = ""
[params.editPost]
URL = "https://github.com/qt1b/qt1b.github.io/tree/content"
Text = "Suggest Changes" # edit text
appendFilePath = true # to append file path to Edit link

[taxonomies]
category = "categories"
tags = "tags"
series = "series"

[params.assets]
disableHLJS = true # enable js snippets
[params.fuseOpts]
isCaseSensitive = false
shouldSort = true
location = 0
distance = 1_000
threshold = 0.4
minMatchCharLength = 0
keys = [ "title", "permalink", "summary", "content" ]


[[params.socialIcons]]
name = "github"
url = "https://github.com/qt1b"

[assets]
disableHLJS = true # to disable highlight.js
disableFingerprinting = true
# favicon = "<link / abs url>"
# favicon16x16 = "<link / abs url>"
# favicon32x32 = "<link / abs url>"
# apple_touch_icon = "<link / abs url>"
# safari_pinned_tab = "<link / abs url>"

[outputs]
home = [ "HTML", "RSS", "JSON" ]


[menus]
[[menus.main]]
identifier = 'tags'
name = 'tags'
pageRef = '/tags/'
weight = 2
[[menus.main]]
identifier = 'archives'
name = 'archives'
pageRef = '/archives/'
weight = 3
[[menus.main]]
identifier = 'writeups'
name = 'writeups'
pageRef = '/writeups/'
weight = 5
[[menus.main]]
identifier = 'search'
name = 'search'
pageRef = '/search/'
weight = 4
[[languages.ja.menus.main]]
name = 'aakaibu'
pageRef = '/archives/'
weight = 1


# used to center / redimension images in specific cases
[markup.goldmark.renderer]
unsafe = true
30 changes: 0 additions & 30 deletions config.toml

This file was deleted.

6 changes: 6 additions & 0 deletions content/_index.fr.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: qt1b's blog page
---

Welcome to my personal page !

6 changes: 6 additions & 0 deletions content/_index.ja.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: qt1b's blog page
---

Welcome to my personal page !

6 changes: 6 additions & 0 deletions content/_index.ko.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: qt1b's blog page
---

Welcome to my personal page !

3 changes: 3 additions & 0 deletions content/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: qt1b's blog page
---
7 changes: 7 additions & 0 deletions content/archives.fr.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Archive"
layout: "archives"
# url: "/archives"
summary: "archives"
---

7 changes: 7 additions & 0 deletions content/archives.ja.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Archive"
layout: "archives"
# url: "/archives"
summary: "archives"
---

7 changes: 7 additions & 0 deletions content/archives.ko.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Archive"
layout: "archives"
# url: "/archives"
summary: "archives"
---

7 changes: 7 additions & 0 deletions content/archives.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Archive"
layout: "archives"
# url: "/archives"
summary: "archives"
---
arch
7 changes: 7 additions & 0 deletions content/search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Search"
placeholder: Search demo site with full text fuzzy search ...
layout: "search"
---


11 changes: 11 additions & 0 deletions content/test/doumo.ja.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
+++
title = "どうも"
date = 2024-10-03T11:45:15+02:00
+++


どうも

どうも、これはあくまでただのテストで、なんの意味も、なんの意思も含んでおりません。

納得で来るようにお願いします。
7 changes: 7 additions & 0 deletions content/test/test.ko.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Test"
date: 2024-10-03T11:45:15+02:00
draft: false
---

eeeee
3 changes: 0 additions & 3 deletions content/writeups/README.md

This file was deleted.

11 changes: 11 additions & 0 deletions content/writeups/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
+++
title = "CTF writeups"
date = 2024-10-02
draft = false
# tags = ["ctf","writeups"]
+++

here is a list of... idk



4 changes: 0 additions & 4 deletions content/writeups/asis/2024/custom.css

This file was deleted.

8 changes: 8 additions & 0 deletions content/writeups/misc/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
title: "Misc"
date: 2024-10-03T12:14:25+02:00
draft: false
---
The misc category in ctf contains all sorts of challenges, from general knowledge of tools to competitive programming-like problems.

Here are my writeups in this category :
8 changes: 3 additions & 5 deletions content/writeups/misc/asis2024-detic.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
+++
title = "Asis 2024 - misc / detic"
date = 2022-08-07T12:32:23+09:30
date = 2024-09-22T12:32:23+09:30
tags = ['ctf','misc','asis','2024']
draft = false
toc = false # don't make a table of contents
toc = true
+++
- name : detic
- category : misc
Expand All @@ -13,15 +13,13 @@ The goal of this challenge is to find a point on Earth that is equidistant from

When we connect to the instance, we get the following message:
```
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Hi, as a `ASIS` driver, you should be in a position where you are |
| exactly the same distance from three passengers in Iran. We will |
| calculate this distance with an accuracy of ten meters. For this, |
| assume that the earth is completely spherical and its radius is |
| exactly 6371 km. Hence, in each step you should find the precise |
| langitude and altitue and send to server separeted with comma. |
| Are you ready? please send [Y]es or [N]o. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
```
By answering `Y`, we are given 3 coordinates as longitude and latitude:
```
Expand Down Expand Up @@ -111,7 +109,7 @@ The first calculation is now done, and validated by the instance !
By repeating these steps, the flag is obtained.


Solver script :
## Solver script

```py
from pwn import remote
Expand Down
5 changes: 5 additions & 0 deletions content/writeups/pwn/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: "Pwn"
date: 2024-10-03T14:32:56+02:00
draft: false
---
6 changes: 6 additions & 0 deletions content/writeups/rev/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "Rev"
date: 2024-10-03T14:33:40+02:00
draft: false
---

Loading

0 comments on commit 76f427c

Please sign in to comment.