- {{ .Title | markdownify }} -
- - - - {{ if .Params.tags }} - - {{ end }} - - {{ partial "cover.html" . }} - -{{ .Description | markdownify }}
- {{ else }} - {{ .Summary }} - {{ end }} -diff --git a/.github/workflows/hugo.yaml b/.github/workflows/hugo.yaml index 178cbd8..cba9c68 100644 --- a/.github/workflows/hugo.yaml +++ b/.github/workflows/hugo.yaml @@ -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: | diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..751553b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.bak diff --git a/; b/; new file mode 100644 index 0000000..8f844de --- /dev/null +++ b/; @@ -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 = [""] + 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 = "" + # favicon16x16 = "" + # favicon32x32 = "" + # apple_touch_icon = "" + # safari_pinned_tab = "" + +[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 diff --git a/config.toml b/config.toml deleted file mode 100644 index 82829dc..0000000 --- a/config.toml +++ /dev/null @@ -1,30 +0,0 @@ -baseURL = 'http://qt1b.github.io/' -languageCode = 'en-us' -title = "qt1b's personal page" -theme = ["PaperMod", "gokarna","hello-friend-ng","terminal"] # "terminal" #"gokarna" - -[menus] - [[menus.main]] - name = 'CTF Writeups' - pageRef = '/writeups/asis/2024/detic' - weight = 100 - [[menus.main]] - name = 'misc' - pageRef = '/writeups/pwn' - parent = 'CTF Writeups' - weight = 3 - [[menus.main]] - name = 'misc' - pageRef = '/writeups/rev' - parent = 'CTF Writeups' - weight = 2 - [[menus.main]] - name = 'misc' - pageRef = '/writeups/misc' - parent = 'CTF Writeups' - weight = 1 - - -# used to center / redimension images in specific cases -[markup.goldmark.renderer] -unsafe = true diff --git a/content/_index.fr.md b/content/_index.fr.md new file mode 100644 index 0000000..8bae098 --- /dev/null +++ b/content/_index.fr.md @@ -0,0 +1,6 @@ +--- +title: qt1b's blog page +--- + +Welcome to my personal page ! + diff --git a/content/_index.ja.md b/content/_index.ja.md new file mode 100644 index 0000000..8bae098 --- /dev/null +++ b/content/_index.ja.md @@ -0,0 +1,6 @@ +--- +title: qt1b's blog page +--- + +Welcome to my personal page ! + diff --git a/content/_index.ko.md b/content/_index.ko.md new file mode 100644 index 0000000..8bae098 --- /dev/null +++ b/content/_index.ko.md @@ -0,0 +1,6 @@ +--- +title: qt1b's blog page +--- + +Welcome to my personal page ! + diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..a534e12 --- /dev/null +++ b/content/_index.md @@ -0,0 +1,3 @@ +--- +title: qt1b's blog page +--- diff --git a/content/archives.fr.md b/content/archives.fr.md new file mode 100644 index 0000000..f0ffd3e --- /dev/null +++ b/content/archives.fr.md @@ -0,0 +1,7 @@ +--- +title: "Archive" +layout: "archives" +# url: "/archives" +summary: "archives" +--- + diff --git a/content/archives.ja.md b/content/archives.ja.md new file mode 100644 index 0000000..f0ffd3e --- /dev/null +++ b/content/archives.ja.md @@ -0,0 +1,7 @@ +--- +title: "Archive" +layout: "archives" +# url: "/archives" +summary: "archives" +--- + diff --git a/content/archives.ko.md b/content/archives.ko.md new file mode 100644 index 0000000..f0ffd3e --- /dev/null +++ b/content/archives.ko.md @@ -0,0 +1,7 @@ +--- +title: "Archive" +layout: "archives" +# url: "/archives" +summary: "archives" +--- + diff --git a/content/archives.md b/content/archives.md new file mode 100644 index 0000000..c8b295f --- /dev/null +++ b/content/archives.md @@ -0,0 +1,7 @@ +--- +title: "Archive" +layout: "archives" +# url: "/archives" +summary: "archives" +--- +arch diff --git a/content/search.md b/content/search.md new file mode 100644 index 0000000..4d0dfdf --- /dev/null +++ b/content/search.md @@ -0,0 +1,7 @@ +--- +title: "Search" +placeholder: Search demo site with full text fuzzy search ... +layout: "search" +--- + + diff --git a/content/test/doumo.ja.md b/content/test/doumo.ja.md new file mode 100644 index 0000000..f71d2d0 --- /dev/null +++ b/content/test/doumo.ja.md @@ -0,0 +1,11 @@ ++++ +title = "どうも" +date = 2024-10-03T11:45:15+02:00 ++++ + + +どうも + +どうも、これはあくまでただのテストで、なんの意味も、なんの意思も含んでおりません。 + +納得で来るようにお願いします。 diff --git a/content/test/test.ko.md b/content/test/test.ko.md new file mode 100644 index 0000000..914ac82 --- /dev/null +++ b/content/test/test.ko.md @@ -0,0 +1,7 @@ +--- +title: "Test" +date: 2024-10-03T11:45:15+02:00 +draft: false +--- + +eeeee diff --git a/content/writeups/README.md b/content/writeups/README.md deleted file mode 100644 index b43a037..0000000 --- a/content/writeups/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# writeups -Here I post writeups about some of the CTF I flagged. -Most of the work is done in the pwn, reverse and misc categories. diff --git a/content/writeups/_index.md b/content/writeups/_index.md new file mode 100644 index 0000000..3270130 --- /dev/null +++ b/content/writeups/_index.md @@ -0,0 +1,11 @@ ++++ +title = "CTF writeups" +date = 2024-10-02 +draft = false +# tags = ["ctf","writeups"] ++++ + +here is a list of... idk + + + diff --git a/content/writeups/asis/2024/custom.css b/content/writeups/asis/2024/custom.css deleted file mode 100644 index ae10da0..0000000 --- a/content/writeups/asis/2024/custom.css +++ /dev/null @@ -1,4 +0,0 @@ -img { - max-width: 10%; - max-height: 10%; -} diff --git a/content/writeups/misc/_index.md b/content/writeups/misc/_index.md new file mode 100644 index 0000000..60bd4e7 --- /dev/null +++ b/content/writeups/misc/_index.md @@ -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 : diff --git a/content/writeups/misc/asis2024-detic.md b/content/writeups/misc/asis2024-detic.md index 347a4ab..11b45b4 100644 --- a/content/writeups/misc/asis2024-detic.md +++ b/content/writeups/misc/asis2024-detic.md @@ -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 @@ -13,7 +13,6 @@ 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, | @@ -21,7 +20,6 @@ When we connect to the instance, we get the following message: | 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: ``` @@ -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 diff --git a/content/writeups/pwn/_index.md b/content/writeups/pwn/_index.md new file mode 100644 index 0000000..95825fb --- /dev/null +++ b/content/writeups/pwn/_index.md @@ -0,0 +1,5 @@ +--- +title: "Pwn" +date: 2024-10-03T14:32:56+02:00 +draft: false +--- diff --git a/content/writeups/rev/_index.md b/content/writeups/rev/_index.md new file mode 100644 index 0000000..0ca6945 --- /dev/null +++ b/content/writeups/rev/_index.md @@ -0,0 +1,6 @@ +--- +title: "Rev" +date: 2024-10-03T14:33:40+02:00 +draft: false +--- + diff --git a/hugo.toml b/hugo.toml new file mode 100644 index 0000000..d53a8b7 --- /dev/null +++ b/hugo.toml @@ -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.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.fr] +disabled = true +languageCode = 'fr-FR' +languageDirection = 'ltr' +languageName = 'français' +title = "blog de qt1b" +weight = 2 +[languages.fr.params] +# subtitle = 'Referenz, Tutorials und Erklärungen' +[languages.ja] + disabled = true + languageCode = 'ja-JP' + languageDirection = 'ltr' + languageName = '日本語' + title = 'qt1bのブロッグ' + weight = 3 +[languages.ja.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 = [""] + 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 = "" + # favicon16x16 = "" + # favicon32x32 = "" + # apple_touch_icon = "" + # safari_pinned_tab = "" + +[outputs] +home = [ "HTML", "RSS", "JSON" ] + + +[[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' + url = 'search' + weight = 4 + [[languages.ja.menus.main]] + name = 'aakaibu' + pageRef = 'archives' + url = 'archives' + weight = 1 + + +# used to center / redimension images in specific cases +[markup.goldmark.renderer] +unsafe = true diff --git a/layouts.bak.d/404.html b/layouts.bak.d/404.html deleted file mode 100644 index e680954..0000000 --- a/layouts.bak.d/404.html +++ /dev/null @@ -1,10 +0,0 @@ -{{ define "main" }} -
{{ .Description | markdownify }}
- {{ else }} - {{ .Summary }} - {{ end }} -{{ .Description | markdownify }}
- {{ else }} - {{ .Summary }} - {{ end }} -{{ .Description | markdownify }}
- {{ else }} - {{ .Summary }} - {{ end }} -