Skip to content

Commit

Permalink
edit top page, header, footer and added new contents
Browse files Browse the repository at this point in the history
  • Loading branch information
hideckies committed May 17, 2024
1 parent 60d7ab0 commit d4f180c
Show file tree
Hide file tree
Showing 13 changed files with 364 additions and 74 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,5 @@ deno task serve

If you find this site helpful, please consider supporting my ongoing efforts through a donation.

<a href="https://www.buymeacoffee.com/hdks" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 42px !important;" ></a>
<a href='https://ko-fi.com/R5R0S649A' target='_blank'><img height='42' style='border:0px;height:42px;' src='https://storage.ko-fi.com/cdn/kofi1.png?v=3' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>
3 changes: 2 additions & 1 deletion _config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ site
'slate': '#1e293b',
'slate-dark': '#0f172a',
'slate-light': '#334155',
'white': '#dadada',
'white': '#ffffff',
'white-light': '#dadada',
'white-dark': '#b9b9b9',
'yellow': '#854d0e',
'yellow-dark': '#422006',
Expand Down
113 changes: 74 additions & 39 deletions src/_components/footer.vto
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<footer class="mt-12 w-full p-8 bg-navy-light">
<footer class="mt-12 w-full px-8 py-16 bg-navy-light">
<div
class="
md:mx-auto w-full md:w-2/3
Expand All @@ -7,44 +7,17 @@
"
>

<div class="w-full flex flex-col gap-y-2">
<h3 class="text-sm opacity-60">SOCIALS</h3>
<div class="w-full flex flex-col lg:flex-row items-start lg:items-center gap-y-2 lg:gap-3">
<a
href="{{ site.github.url }}"
target="_blank"
rel="noopener noreferrer"
class="hover:brightness-200"
>
{{ site.github.name }}
</a>
<a
href="{{ site.twitter.url }}"
target="_blank"
rel="noopener noreferrer"
class="hover:brightness-200"
>
{{ site.twitter.name }}
</a>
<a
href="{{ site.kofi.url }}"
target="_blank"
rel="noopener noreferrer"
class="hover:brightness-200"
>
Support Me
</a>
</div>
</div>

{{# PAGES #}}
<div class="w-full flex flex-col gap-y-2">
<h3 class="text-sm opacity-60">PAGES</h3>
<div class="w-full flex flex-col lg:flex-row items-start lg:items-center gap-y-2 lg:gap-3">
<a href="/disclaimer" class="hover:brightness-200">Disclaimer</a>
<a href="/privacy-policy" class="hover:brightness-200">Privacy Policy</a>
</div>
</div>
{{# /PAGES #}}

{{# OTHER TOOLS #}}
<div class="w-full flex flex-col gap-y-2">
<h3 class="text-sm opacity-60">OTHER TOOLS</h3>
<div class="w-full flex flex-col lg:flex-row lg:flex-wrap items-start lg:items-center gap-y-2 lg:gap-3">
Expand All @@ -64,16 +37,78 @@
>
{{ site.hermit.name }}
</a>
<a
href="{{ site.fuzzagotchi.url }}"
target="_blank"
rel="noopener noreferrer"
class="hover:brightness-200"
>
{{ site.fuzzagotchi.name }}
</a>
</div>
</div>
{{# /OTHER TOOLS #}}

{{# SOCIAL & DONATE #}}
<div class="mt-12 md:mt-0 w-full flex items-center justify-center gap-x-4">
{{# GitHub link #}}
<a
href="{{ site.github.url }}"
target="_blank"
rel="noopener noreferrer"
alt="{{ site.github.name }}"
>
<svg
xmlns="http://www.w3.org/2000/svg"
width="24" height="24" viewBox="0 0 24 24"
class="w-7 h-7 fill-white"
>
<path
d="
M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207
11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729
1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304
3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381
1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399
3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242
2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823
1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"
/>
</svg>
</a>
{{# X link #}}
<a
href="{{ site.twitter.url }}"
target="_blank"
rel="noopener noreferrer"
alt="{{ site.twitter.name }}"
>
<img
src="/assets/img/x.png" alt="{{ site.twitter.name }}"
width="22" height="22"
class="w-6 h-6"
/>
</a>
{{# BuyMeCoffee link #}}
<a
href="{{ site.buymecoffee.url }}"
target="_blank"
rel="noopener noreferrer"
alt="{{ site.buymecoffee.name }}"
>
<img
src="/assets/img/buymecoffee.png" alt="{{ site.buymecoffee.name }}"
class="w-8 h-8"
/>
</a>
{{# Ko-fi link #}}
<a
href="{{ site.kofi.url }}"
target="_blank"
rel="noopener noreferrer"
alt="{{ site.kofi.name }}"
>
<img
src="/assets/img/kofi_cropped.png" alt="{{ site.kofi.name }}"
class="w-10 h-10"
/>
</a>
</div>
{{# /SOCIAL & DONATE #}}

</div>


</footer>
27 changes: 13 additions & 14 deletions src/_components/header.vto
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,19 @@
{{# Links #}}
<div class="hidden sm:flex w-full h-full items-center justify-center gap-x-3">

{{# Security Links link #}}
<a
href="{{ site.security_links.url }}"
target="_blank"
rel="noopener noreferrer"
alt="{{ site.security_links.name }}"
>
<img
src="/assets/img/security-links.png" alt="{{ site.security_links.name }}"
class="w-8 h-8"
/>
</a>

{{# GitHub link #}}
<a
href="{{ site.github.url }}"
Expand Down Expand Up @@ -58,20 +71,6 @@
/>
</a>

{{# Ko-fi link #}}
<a
href="{{ site.kofi.url }}"
target="_blank"
rel="noopener noreferrer"
alt="{{ site.kofi.name }}"
>
<img
src="/assets/img/kofi_cropped.png" alt="{{ site.kofi.name }}"
width="22" height="22"
class="w-10 h-10"
/>
</a>

</div>
</div>
</header>
Expand Down
21 changes: 10 additions & 11 deletions src/_components/navigation.vto
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<nav class="nav-links hidden">
<div class="w-full flex flex-col gap-y-4">
<div>
<h3 class="my-4 text-base text-white opacity-60">SOCIAL</h3>
<h3 class="my-4 text-base text-white opacity-60">SOCIAL & DONATE</h3>
<div class="w-full flex flex-col gap-y-1">
<a
href="{{ site.github.url }}"
Expand All @@ -19,14 +19,21 @@
>
{{ site.twitter.name }}
</a>
<a
href="{{ site.buymecoffee.url }}"
target="_blank"
rel="noopener noreferrer"
class="text-lg"
>
{{ site.buymecoffee.name }}
</a>
<a
href="{{ site.kofi.url }}"
target="_blank"
rel="noopener noreferrer"
class="text-lg"
>
{{# {{ site.kofi.name }} #}}
Support Me
{{ site.kofi.name }}
</a>
</div>
</div>
Expand Down Expand Up @@ -62,14 +69,6 @@
>
{{ site.hermit.name }}
</a>
<a
href="{{ site.fuzzagotchi.url }}"
target="_blank"
rel="noopener noreferrer"
class="text-lg"
>
{{ site.fuzzagotchi.name }}
</a>
</div>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions src/_data/site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ github:
twitter:
name: Twitter
url: https://twitter.com/hideckies
buymecoffee:
name: Buy Me a Coffee
url: https://buymeacoffee.com/hdks
kofi:
name: Ko-fi
url: https://ko-fi.com/hideckies
Expand All @@ -18,7 +21,4 @@ hermit:
name: Hermit C2
url: https://github.com/hideckies/hermit
desc: A post-exploitation, command and control framework written in Rust.
fuzzagotchi:
name: Fuzzagotchi
url: https://github.com/hideckies/fuzzagotchi
desc: Automatic web fuzzer.

Binary file added src/assets/img/buymecoffee.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/img/security-links.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
69 changes: 66 additions & 3 deletions src/exploit/reverse-engineering/cheatsheet/windbg-cheatsheet.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
title: WinDbg Cheat Sheet
description:
description: WinDbg is a Windows debugger distributed by Microsoft. It's a very powerful debugger, but its commands are unique, so this page has summarized it here so we can easily refer to it if we forget.
tags:
- Reverse Engineering
refs:
- https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/getting-started-with-windbg
date: 2024-05-08
date: 2024-05-17
draft: false
---

Expand Down Expand Up @@ -62,10 +62,20 @@ If got the error when loading symbols, try the following to verbose output:

<br />

## Break

```bash
# Break on Access
ba w 4 /w "mymodule!globalVariable == 4" mymodule!globalVariable
```

<br />

## Breakpoints

```bash
# Set breakpoints
bp <address>
bu notepad!wWinMain
bu ntdll!NtCreateProcess
bu ntdll!ZwWriteFile
Expand Down Expand Up @@ -141,7 +151,9 @@ Select **View → Disassembly** on the menu.

<br />

## dt (Display Type)
## Display

### dt (Display Type)

Display fields and values.

Expand All @@ -162,6 +174,57 @@ dt _LDR_DATA_TABLE_ENTRY
dt _LDR_DATA_TABLE_ENTRY 0x123
```

### ds (Display Symbols)

```sh
# Display symbols (dword values)
dds 00007ffa`27c52920 + 0x30 L1
# Display symbols (qword values)
dqs @rbp - 0x50 L1
# Display symbols (pointer-sized values)
dps 00007ffa`27c52920 + 0x30 L1
```

<br />

## Virtual Memory Protection Information

```bash
!vprot <address>
```

<br />

## Unassemble

```bash
# Unassemble
u
u <address>

# Unassemble backwards
ub
ub <address>
```

<br />

## Set Exceptions

```bash
# Enable Break: Immediately break when the exception occurs.
sxe -c "r eax" av

# Disable Break: Doesn't break for a first-chance exception.
sxd -c "r eax" av

# Notify: A message is displayed when the exception occurs instead of break.
sxn -c "r eax" av

# Ignore: Doesn't break and no message when the exception occurs.
sxi -c "r eax" av
```

<br />

## ? (Evaluate Expression)
Expand Down
Loading

0 comments on commit d4f180c

Please sign in to comment.