Hritik's Blog
  • Menu ▾
    • Writeups
    • Github
    • RSS
    • Cheatsheets
    • About
    • Contact
    • LinkedIn
  • Writeups
  • Github
  • RSS
    • Show more ▾
      • Cheatsheets
      • About
      • Contact
      • LinkedIn

Open ports on local ipv6 devices to the internet

2025-09-23
I remember the days when I used to play with metasploit reverse_tcp but would never be able to get a connection while on the internet. It worked, but always on the local network.

Rescue me always

2025-09-14
My latest arch update broke system boot and plugging in a pen drive is too much work, so I installed grml on my local hard disk partition. Post also explores how live boot works.

Rasp Pi Serial Console

2025-08-29
While working on photos. I plugged in rasp pi to ethernet but it didn’t come up in any network scan. Simplest is to get an HDMI monitor and see what’s going on, but alas! Rasp pi changed their HDMI from mini to micro, and I only have a mini adapter from pi zero.

Photos

2025-08-28
I want to store photos. GDrive is ok but expensive. iCloud is more of a sync service and could be pain later on (as apple is).

Add to your system prompt

2025-05-04
metaai system prompt

localhost might resolve to many things

2025-02-10
I was scratching my head for quite sometime about why I was able to do ; psql -U neo -h localhost -d postgres -p 5432 psql (14.13 (Homebrew)) Type "help" for help. postgres=#without any password but the following kept failing

Type conversion in go

2025-01-19
Type conversion in go looks a lot like function calls (in python too but here it confused me). Following looks like Bind returns the result of OptionFunc function call. This function accepts a function as an argument, this is not a very uncommon approach.

Loading and probing of USB device drivers

2021-05-17
The Linux USB driver expects a probe function which is called when a matching device is plugged in. When a device is plugged into the USB bus that matches the device ID pattern that your driver registered with the USB core, the probe function is called.

Booting the Linux kernel inside QEMU with custom initramfs

2020-12-18
Shivering in this cold winter one would certainly stumble upon the question that the Linux Kernel, which operates most of your operating system, is just a huge C program. Shouldn’t it, then, be possible to compile and run it as you do to all your C programs ?

Grayhat -> Secarmy CTF :: The Unintended Way

2020-11-02
Once upon a time, a CTF was held. There were many ways to solve it, though none knew that one was The Unintended Way. Although, it does sound pretty unconventional and sad that in a CTF where you explore all the paths and explore wild possibilities, one of them was tagged as unintended and thus, invalid.
Older posts →
© 2025 Powered by Hugo :: Theme made by panr