<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Posts on Tyler's Blog</title><link>https://blog.zars.me/posts/</link><description>Recent content in Posts on Tyler's Blog</description><generator>Hugo</generator><language>en-us</language><copyright>© Athul</copyright><lastBuildDate>Sun, 29 Mar 2026 02:43:32 -0400</lastBuildDate><atom:link href="https://blog.zars.me/posts/index.xml" rel="self" type="application/rss+xml"/><item><title>Getting timers working on ARM Cortex-M4F</title><link>https://blog.zars.me/posts/embedded/timer/</link><pubDate>Sun, 29 Mar 2026 02:43:32 -0400</pubDate><guid>https://blog.zars.me/posts/embedded/timer/</guid><description>In the learn how to write an RTOS project I&amp;rsquo;ve been chipping away at in the evenings, I reached a crossroads&amp;hellip; I need to implement timers. Join me on the trail of figuring out there&amp;rsquo;s a whole lot more to a timer than just counting down!
Understanding the timer peripheral Diving into the datasheet for the chip under programming, the &amp;ldquo;General-Purpose Timers&amp;rdquo; (Chapter 13) seems like the perfect place to start.</description></item><item><title>hitb-gsec-2017 babyqemu</title><link>https://blog.zars.me/posts/hitb-gsec-2017/</link><pubDate>Sat, 27 Apr 2024 12:13:32 +0530</pubDate><guid>https://blog.zars.me/posts/hitb-gsec-2017/</guid><description>This was an old challenge, but one of my friends was teaching to it and I knew nothing about QEMU and physical hardware. I went into it know it was a QEMU escape so I won&amp;rsquo;t be covering the mindset of finding that out but I&amp;rsquo;ll break down the indepth meaning behind what the exploit does and some of the QEMU internals that make this problem solvable.
The Problem The provided resources for the challenge allude to it being a QEMU challenge:</description></item><item><title>Kali x86 VNC Headless Setup</title><link>https://blog.zars.me/posts/kali-headless-setup/</link><pubDate>Mon, 20 Nov 2023 12:13:32 +0530</pubDate><guid>https://blog.zars.me/posts/kali-headless-setup/</guid><description>Overview I wanted to be able to use an old Intel NUC for a headless Kali instance. I came into a lot of problems with Kali&amp;rsquo;s defualt TightVNCServer being a gray (grey?) screen and found the solution below to work perfectly. I enable autologin for headless operation to run my userspace application launching VNC but with the option to also SSH in assuming that doesn&amp;rsquo;t work. This solution will make the defualt desktop on our fake display adapter available over VNC.</description></item><item><title>Hacking Together An Elgato Key Light Air Siri Shortcut</title><link>https://blog.zars.me/posts/elgato-key-light/</link><pubDate>Wed, 02 Aug 2023 12:13:32 +0530</pubDate><guid>https://blog.zars.me/posts/elgato-key-light/</guid><description>Overview The Elgato Key Light Air has a hidden unprotected HTTP API running on the device at all times. This API lives behind port 9123 and allows for information GETting and PUTting. This allows anyone to get the current configuration of the light and update those values. The original source for the finding of this API can be found here.
The JSON used for the GET/POST request looks like this:</description></item><item><title>pwnable blackjack</title><link>https://blog.zars.me/posts/pwnable/blackjack/</link><pubDate>Mon, 10 Jul 2023 12:13:32 +0530</pubDate><guid>https://blog.zars.me/posts/pwnable/blackjack/</guid><description>Source The source provided in the game can be found here: Link
Analysis I noticed the main gameplay block was quite interesting in the way it handled the users bet:
if(p&amp;lt;=21) //If player total is less than 21, ask to hit or stay { printf(&amp;#34;\n\nWould You Like to Hit or Stay?&amp;#34;); scanf(&amp;#34;%c&amp;#34;, &amp;amp;choice3); //... if((choice3==&amp;#39;H&amp;#39;) || (choice3==&amp;#39;h&amp;#39;)) // If Hit, continues { //... if(dealer_total==21) //Is dealer total is 21, loss { printf(&amp;#34;\nDealer Has the Better Hand.</description></item><item><title>pwnable cmd1</title><link>https://blog.zars.me/posts/pwnable/cmd1/</link><pubDate>Mon, 10 Jul 2023 12:13:32 +0530</pubDate><guid>https://blog.zars.me/posts/pwnable/cmd1/</guid><description>Starting to solve the pwnable.kr series of problems!
Provided Source #include &amp;lt;stdio.h&amp;gt; #include &amp;lt;string.h&amp;gt; int filter(char* cmd){ int r=0; r += strstr(cmd, &amp;#34;flag&amp;#34;)!=0; r += strstr(cmd, &amp;#34;sh&amp;#34;)!=0; r += strstr(cmd, &amp;#34;tmp&amp;#34;)!=0; return r; } int main(int argc, char* argv[], char** envp){ putenv(&amp;#34;PATH=/thankyouverymuch&amp;#34;); if(filter(argv[1])) return 0; system( argv[1] ); return 0; } Breaking this down, we can see three main parts:
Reset the $PATH to only include one entry Filter the input to no include any strings Run system() Solving The $PATH holds the main directories for where binaries are located, allowing for users to just run something short like pwd instead of /bin/pwd.</description></item><item><title>nahamctf 2023</title><link>https://blog.zars.me/posts/nahamctf2023/</link><pubDate>Sat, 17 Jun 2023 12:13:32 +0530</pubDate><guid>https://blog.zars.me/posts/nahamctf2023/</guid><description>I keep having busy weekends and I wish I had a touch more time to grind out the challenges I had left for this CTF. Awesome challenges by the authors! Thanks for the fun CTF nahamsec team!
Glasses 50 points - Warmups - 955 Solves - easy Author: @JohnHammond#6971 Everything is blurry, I think I need glasses! We can&amp;rsquo;t inspect element with a mouseclick. No worries, just use the keyboard shortcut (or on Mac the menu still pops).</description></item><item><title>byuctf2023</title><link>https://blog.zars.me/posts/byuctf2023/</link><pubDate>Sun, 28 May 2023 12:13:32 +0530</pubDate><guid>https://blog.zars.me/posts/byuctf2023/</guid><description>I didn&amp;rsquo;t complete this while it was running due to travelling but went back after and tried to get some of these done, cool challenges tho.
leet1 Just make 1337 nc byuctf.xyz 40000 Attachment: leet1.py We are provided with a file that checks if our input is equal to 1337. However, it has two checks:
re.search(r'\d', inp) eval(inp) != 1337 The first check is for any numbers included, those will immeditely fail.</description></item><item><title>deadsecCTF 2023</title><link>https://blog.zars.me/posts/deadsecctf-2023/</link><pubDate>Mon, 22 May 2023 12:13:32 +0530</pubDate><guid>https://blog.zars.me/posts/deadsecctf-2023/</guid><description>Dont&amp;rsquo; hack my website My Attempt echo &amp;amp; head both work with no spaces, id, whoami
Running df will show us
Filesystem 1K-blocks Used Available Use% Mounted on overlay 98831908 6164312 92651212 7% / /dev/sda1 98831908 6164312 92651212 7% /flag.txt none 4096 0 4096 0% /tmp none 4096 0 4096 0% /run Anything containing flag.txt won&amp;rsquo;t work.
head${IFS}&amp;amp;&amp;amp;${IFS}pwd /app head${IFS}&amp;amp;&amp;amp;${IFS}a=fl&amp;amp;&amp;amp;${IFS}b=ag&amp;amp;&amp;amp;${IFS}c=.t&amp;amp;&amp;amp;${IFS}d=xt a=fl${IFS}b=ag${IFS}c=.t${IFS}d=xt${IFS}&amp;amp;&amp;amp;${IFS}echo${IFS}$a$b$c$d fl b=ag c=.t d=xt a=fl${IFS}ag${IFS}.t${IFS}xt${IFS}&amp;amp;&amp;amp;${IFS}echo${IFS}$a$b$c$d fl ag .t xt Somehow strip out the whitespace?</description></item><item><title>HeroCTF V5</title><link>https://blog.zars.me/posts/heroctfv5/</link><pubDate>Mon, 15 May 2023 12:13:32 +0530</pubDate><guid>https://blog.zars.me/posts/heroctfv5/</guid><description>Overview HeroCTF was my first solo team attempt at CTF&amp;rsquo;ing. It was a blast and huge props to the authors of the challenges. I had fun solving all the ones I did and had plenty of time to experiment with the ones I couldn&amp;rsquo;t. The CTF was hosted here: link. I&amp;rsquo;ll break down my solves below in no particular order.
dev.corp 1/4 The famous company dev.corp was hack last week.. They don&amp;#39;t understand because they have followed the security standards to avoid this kind of situation.</description></item><item><title>Rack Temperature to InfluxDB Via Raspberry Pi</title><link>https://blog.zars.me/posts/temperature-to-influxdb/</link><pubDate>Sat, 18 Mar 2023 12:13:32 +0530</pubDate><guid>https://blog.zars.me/posts/temperature-to-influxdb/</guid><description>The Tech Let&amp;rsquo;s build out our little form factor advanced thermometer.
The BMP280 This little sensor is fantastic for measuring a host of information and all of it can be relayed over the I2C interface to the other piece of the puzzle. The main data points are temperature (with ±1.0°C accuracy), barometric pressure (±1 hPa absolute accuracy), and altitude (±1 meter accuracy). The main ones that are pretty neat here are temperature and barometric pressure; altitude comes built into the BMP280 by default but since we aren&amp;rsquo;t going to be moving this sensor much it&amp;rsquo;s not really something that we will need to keep tabs on.</description></item><item><title>irisCTF babyseek</title><link>https://blog.zars.me/posts/irisctf-babyseek/</link><pubDate>Wed, 01 Feb 2023 12:13:32 +0530</pubDate><guid>https://blog.zars.me/posts/irisctf-babyseek/</guid><description>The Challenge I&amp;rsquo;ll let you seek around my file as far as you want, but you can&amp;rsquo;t go anywhere since it&amp;rsquo;s /dev/null.
Author: sera
seek.zip
nc seek.chal.irisc.tf 10004
The Provided ZIP chal Provided binary chal.c Source which binary comes from Makefile Provided compilation flags Dockerfile Dockerfile running on the server Protections [*] &amp;#39;/root/workspace/vr_pres2/seek/chal&amp;#39; Arch: amd64-64-little RELRO: No RELRO Stack: No canary found NX: NX enabled PIE: PIE enabled Welp, if we can overflow and overwrite the GOT, seems like we&amp;rsquo;re in the home stretch.</description></item><item><title>irisCTF ret2libm</title><link>https://blog.zars.me/posts/irisctf-ret2libm/</link><pubDate>Wed, 01 Feb 2023 12:13:32 +0530</pubDate><guid>https://blog.zars.me/posts/irisctf-ret2libm/</guid><description>The Challenge I need to make a pwn? Let&amp;rsquo;s go with that standard warmup rop thing&amp;hellip; what was it&amp;hellip; ret2libm?
Author: sera
ret2libm.zip / Dockerfile
The Provided ZIP chal Provided binary chal.c Source which binary comes from libc-2.27.so Provided libc version libm-2.27.so Provided libm version Makefile Provided compilation flags What is libm? #include &amp;lt;math.h&amp;gt; libm is the standard math library for C. Where does libm live? $ ldd chal linux-vdso.so.1 (0x00007fffd53f5000) libm.</description></item><item><title>Telegram Bot for GitHub Actions</title><link>https://blog.zars.me/posts/invalid-old/tg-gh/</link><pubDate>Wed, 01 Apr 2020 00:00:00 +0000</pubDate><guid>https://blog.zars.me/posts/invalid-old/tg-gh/</guid><description>Telegram Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed. It is free to use and extensively hackable. It also has a good bot support system. The API is also easy to implement and has many wrappers for building bots with the API.
GitHub Actions GitHub Actions is a CI/CD runtime for your GitHub repository. You can run almost anything from scripts to docker containers.</description></item><item><title>Primer: When You Have Too Much to Do</title><link>https://blog.zars.me/posts/invalid-old/post-1/</link><pubDate>Wed, 01 Apr 2020 02:01:58 +0530</pubDate><guid>https://blog.zars.me/posts/invalid-old/post-1/</guid><description>You have a to-do list that scrolls on for days. You are managing multiple projects, getting lots of email and messages on different messaging systems, managing finances and personal health habits and so much more.
It all keeps piling up, and it can feel overwhelming.
How do you keep up with it all? How do you find focus and peace and get stuff accomplished when you have too much on your plate?</description></item><item><title>Getting Started with Traveling Ultralight</title><link>https://blog.zars.me/posts/invalid-old/post-4/</link><pubDate>Wed, 18 Mar 2020 12:13:35 +0530</pubDate><guid>https://blog.zars.me/posts/invalid-old/post-4/</guid><description>I’m on a trip at the moment, and a friend who generously let me sleep on his couch looked at my small travel backpack and commented on how little I travel with: “That’s impressive,” he said.
I was a little surprised, because though I’ve gotten that comment before, it’s become normal for me to travel with just a small bag (10 lbs. or less, usually), and I have friends who travel with even less.</description></item><item><title>How to test dark mode?</title><link>https://blog.zars.me/posts/invalid-old/post-7/</link><pubDate>Sun, 18 Mar 2018 12:13:38 +0530</pubDate><guid>https://blog.zars.me/posts/invalid-old/post-7/</guid><description>Here is how you can setup dark mode for Ink and test on various OS like iOS, Android, macOS and Windows 10.</description></item><item><title>Typography</title><link>https://blog.zars.me/posts/invalid-old/post-5/</link><pubDate>Sun, 18 Mar 2018 12:13:38 +0530</pubDate><guid>https://blog.zars.me/posts/invalid-old/post-5/</guid><description>Lid est laborum et dolorum fuga. Et harum quidem rerum facilis est et expeditasi distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihilse impedit quo minus id quod amets untra dolor amet sad. Sed ut perspser iciatis unde omnis iste natus error sit voluptatem accusantium doloremque laste. Dolores sadips ipsums sits.
Heading 1 Lid est laborum et dolorum fuga. Et harum quidem rerum facilis est et expeditasi distinctio.</description></item><item><title>How I Learned to Stop Procrastinating, &amp; Love Letting Go</title><link>https://blog.zars.me/posts/invalid-old/post-3/</link><pubDate>Sun, 18 Mar 2018 12:13:32 +0530</pubDate><guid>https://blog.zars.me/posts/invalid-old/post-3/</guid><description>The end of procrastination is the art of letting go.
I’ve been a lifelong procrastinator, at least until recent years. I would put things off until deadline, because I knew I could come through. I came through on tests after cramming last minute, I turned articles in at the deadline after waiting until the last hour, I got things done.
Until I didn’t. It turns out procrastinating caused me to miss deadlines, over and over.</description></item><item><title>Fearlessness: How to Stop Running from Space</title><link>https://blog.zars.me/posts/invalid-old/post-2/</link><pubDate>Sun, 18 Mar 2018 12:13:30 +0530</pubDate><guid>https://blog.zars.me/posts/invalid-old/post-2/</guid><description>We spend our days filling in every available space, cramming in more tasks, responding to messages, checking social media and online sites, watching videos.
We are afraid of empty space in our lives.
The result is often a continual busyness, constant distraction and avoidance, lack of focus, lack of satisfaction with our lives.
We run from silence. We run from the spaces between tasks and appointments. We run from solitude and stillness.</description></item></channel></rss>