<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>RedBlueStrategy</title><description>RedBlueStrategy — notes on software engineering, system architecture and applied AI.</description><link>https://amyasnikov.com/</link><item><title>File Encryption with AES in OpenSSL</title><link>https://amyasnikov.com/posts/openssl-aes-cbc/</link><guid isPermaLink="true">https://amyasnikov.com/posts/openssl-aes-cbc/</guid><description>A step-by-step guide to encrypting and decrypting files with AES-256-CBC in OpenSSL: generating a key and IV, PKCS#7 padding, deriving parameters from a password with PBKDF2, and inspecting the Salted__ file format.</description><pubDate>Sun, 01 Mar 2026 00:00:00 GMT</pubDate></item><item><title>File Encryption with RSA in OpenSSL</title><link>https://amyasnikov.com/posts/openssl-rsa/</link><guid isPermaLink="true">https://amyasnikov.com/posts/openssl-rsa/</guid><description>Breaking down RSA keys in OpenSSL at the byte level: generating a key pair, parsing the ASN.1 structure of private and public keys, then encrypting and decrypting a file with pkeyutl.</description><pubDate>Sun, 01 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Creating a Digital Signature with RSA in OpenSSL</title><link>https://amyasnikov.com/posts/openssl-rsa-sign/</link><guid isPermaLink="true">https://amyasnikov.com/posts/openssl-rsa-sign/</guid><description>Creating an RSA digital signature in OpenSSL step by step: hashing a file with SHA-256, signing with the private key, verifying with the public key, and inspecting the recovered DigestInfo ASN.1 structure.</description><pubDate>Sun, 01 Mar 2026 00:00:00 GMT</pubDate></item><item><title>How Git Manages Changes</title><link>https://amyasnikov.com/posts/how-git-manages-changes/</link><guid isPermaLink="true">https://amyasnikov.com/posts/how-git-manages-changes/</guid><description>How Git stores data as content-addressed objects: reading refs and HEAD, computing object hashes, inspecting commits and trees, diffing blobs, tracking the index, and telling lightweight tags from annotated ones.</description><pubDate>Thu, 13 Nov 2025 00:00:00 GMT</pubDate></item><item><title>How to Run GitLab Runner on Synology NAS</title><link>https://amyasnikov.com/posts/how-to-run-gitlab-runner-on-synology-nas/</link><guid isPermaLink="true">https://amyasnikov.com/posts/how-to-run-gitlab-runner-on-synology-nas/</guid><description>Deploying a self-hosted GitLab Runner on a Synology DS423+ NAS with docker-compose: registering the runner, mounting its config into a container, and verifying that pipelines run locally without spending GitLab free-plan minutes.</description><pubDate>Sat, 08 Nov 2025 00:00:00 GMT</pubDate></item><item><title>How to View the Latest Database Schema Post-Migrations</title><link>https://amyasnikov.com/posts/how-to-get-database-structure-after-migrations/</link><guid isPermaLink="true">https://amyasnikov.com/posts/how-to-get-database-structure-after-migrations/</guid><description>A Go utility that spins up a clean PostgreSQL container with testcontainers, applies goose migrations for each service, and dumps the resulting schema with pg_dump to keep every service&apos;s SQL schema up to date.</description><pubDate>Sat, 04 Oct 2025 00:00:00 GMT</pubDate></item><item><title>HTTP over SSH in Go</title><link>https://amyasnikov.com/posts/http-over-ssh-golang/</link><guid isPermaLink="true">https://amyasnikov.com/posts/http-over-ssh-golang/</guid><description>How to send HTTP requests to a web server on a remote machine from a Go application through an SSH tunnel using a custom http.RoundTripper and socat, with traffic analysis via tcpdump and Wireshark.</description><pubDate>Tue, 22 Jul 2025 00:00:00 GMT</pubDate></item><item><title>Password Recovery for ZIP Archive Using Hashcat</title><link>https://amyasnikov.com/posts/password-recovery-to-zip-archive-via-hashcat/</link><guid isPermaLink="true">https://amyasnikov.com/posts/password-recovery-to-zip-archive-via-hashcat/</guid><description>Creating a password-protected ZIP archive, extracting its PKZIP hash with zip2john, then recovering the password with Hashcat using a dictionary and a mask attack.</description><pubDate>Tue, 17 Jun 2025 00:00:00 GMT</pubDate></item><item><title>How to Restore Data from a Backup in PostgreSQL</title><link>https://amyasnikov.com/posts/how-to-restore-postgresql/</link><guid isPermaLink="true">https://amyasnikov.com/posts/how-to-restore-postgresql/</guid><description>Creating a PostgreSQL backup with pg_dump in Docker and restoring it into a fresh local database with pg_restore, using a remote Neon database on Vercel as the source.</description><pubDate>Tue, 27 May 2025 00:00:00 GMT</pubDate></item><item><title>Julia Set Fractals — Graphics with Ebiten in Go</title><link>https://amyasnikov.com/posts/julia-set-ebiten/</link><guid isPermaLink="true">https://amyasnikov.com/posts/julia-set-ebiten/</guid><description>Rendering Julia set fractals in Go with the Ebiten 2D graphics library: computing point colors from iteration counts, navigating the image with the keyboard, and saving high-resolution snapshots.</description><pubDate>Sat, 10 May 2025 00:00:00 GMT</pubDate></item><item><title>How to Write Simple Shellcode</title><link>https://amyasnikov.com/posts/how-to-write-simple-shellcode/</link><guid isPermaLink="true">https://amyasnikov.com/posts/how-to-write-simple-shellcode/</guid><description>Writing a C program that reads shellcode from stdin and executes it with mmap, then building minimal x86-64 Assembly shellcode that prints a string and spawns a shell via execve.</description><pubDate>Sun, 06 Apr 2025 00:00:00 GMT</pubDate></item><item><title>Field Rules — volgaCTF 2025</title><link>https://amyasnikov.com/posts/ctf-volgactf-2025-field-rules/</link><guid isPermaLink="true">https://amyasnikov.com/posts/ctf-volgactf-2025-field-rules/</guid><description>Factoring a modulus built from small primes, brute-forcing the key residue modulo each prime, and combining the residues with the Chinese remainder theorem to recover the flag from repeated modular exponentiations.</description><pubDate>Sat, 05 Apr 2025 00:00:00 GMT</pubDate></item><item><title>Unpwnable Shop — PascalCTF 2025</title><link>https://amyasnikov.com/posts/ctf-pascalctf-2025-unpwnable-shop/</link><guid isPermaLink="true">https://amyasnikov.com/posts/ctf-pascalctf-2025-unpwnable-shop/</guid><description>Exploiting a 5-byte buffer overflow in an intentionally unpwnable shop: overwriting the username length, hijacking the return address with a win function, and getting a shell in Go and Bash.</description><pubDate>Tue, 01 Apr 2025 00:00:00 GMT</pubDate></item><item><title>DNS e Pancetta — PascalCTF 2025</title><link>https://amyasnikov.com/posts/ctf-pascalctf-2025-dns-e-pancetta/</link><guid isPermaLink="true">https://amyasnikov.com/posts/ctf-pascalctf-2025-dns-e-pancetta/</guid><description>Recovering a flag hidden in DNS queries: third-level domains encode chunks of hex that a small Go packet parser assembles back into text.</description><pubDate>Sun, 30 Mar 2025 00:00:00 GMT</pubDate></item><item><title>MindBlowing — PascalCTF 2025</title><link>https://amyasnikov.com/posts/ctf-pascalctf-2025-mind-blowing/</link><guid isPermaLink="true">https://amyasnikov.com/posts/ctf-pascalctf-2025-mind-blowing/</guid><description>Recovering a flag from a bitwise-AND number generator: extract 40-bit windows of the message with crafted seeds and combine them with OR in a Go solver.</description><pubDate>Fri, 28 Mar 2025 00:00:00 GMT</pubDate></item><item><title>My Favourite Number — PascalCTF 2025</title><link>https://amyasnikov.com/posts/ctf-pascalctf-2025-my-favourite-number/</link><guid isPermaLink="true">https://amyasnikov.com/posts/ctf-pascalctf-2025-my-favourite-number/</guid><description>How to guess Alice&apos;s favourite number without decrypting anything: re-encrypt candidate binary-search answers with Bob&apos;s public RSA key and match them against the ciphertexts in output.txt.</description><pubDate>Thu, 27 Mar 2025 00:00:00 GMT</pubDate></item><item><title>How to Intercept and Decrypt TLS Traffic from curl</title><link>https://amyasnikov.com/posts/how-to-intercept-and-decrypt-curl-tls-traffic/</link><guid isPermaLink="true">https://amyasnikov.com/posts/how-to-intercept-and-decrypt-curl-tls-traffic/</guid><description>Capturing HTTPS requests from curl with tcpdump and decrypting them in Wireshark using TLS session keys from SSLKEYLOGFILE — without changing the curl command itself.</description><pubDate>Wed, 26 Mar 2025 00:00:00 GMT</pubDate></item><item><title>Advent of Code 2024</title><link>https://amyasnikov.com/posts/advent-of-code-2024/</link><guid isPermaLink="true">https://amyasnikov.com/posts/advent-of-code-2024/</guid><description>A month of two daily tasks from December 1 to 25: why the second part of each day broke the first solution, which challenges needed hints, and what revisiting algorithms was like.</description><pubDate>Thu, 26 Dec 2024 00:00:00 GMT</pubDate></item><item><title>Web Server in Assembly</title><link>https://amyasnikov.com/posts/webserver-on-assembler/</link><guid isPermaLink="true">https://amyasnikov.com/posts/webserver-on-assembler/</guid><description>Building a simple concurrent HTTP server in x86-64 Assembly with Linux syscalls: socket, bind, listen, accept, fork, a key-value store on disk, and verification with curl and strace.</description><pubDate>Sun, 24 Nov 2024 00:00:00 GMT</pubDate></item><item><title>AES-CBC — Padding Oracle Attack</title><link>https://amyasnikov.com/posts/aes-cbc-padding-oracle-attack/</link><guid isPermaLink="true">https://amyasnikov.com/posts/aes-cbc-padding-oracle-attack/</guid><description>How to decrypt AES-CBC ciphertext without the key, and forge ciphertext that decrypts to chosen plaintext, by exploiting PKCS#7 padding-validation responses.</description><pubDate>Thu, 14 Nov 2024 00:00:00 GMT</pubDate></item><item><title>LeetCode — One-Year Challenge</title><link>https://amyasnikov.com/posts/leetcode-one-year-challenge/</link><guid isPermaLink="true">https://amyasnikov.com/posts/leetcode-one-year-challenge/</guid><description>A year of daily LeetCode problems: 707 solved tasks, the most useful topics and C++ optimizations, interview prep, and why CTFs come next.</description><pubDate>Mon, 04 Nov 2024 00:00:00 GMT</pubDate></item><item><title>Prometheus 2077 — Tinkoff CTF 2024</title><link>https://amyasnikov.com/posts/ctf-tinkoff-2024-prometheus-2077/</link><guid isPermaLink="true">https://amyasnikov.com/posts/ctf-tinkoff-2024-prometheus-2077/</guid><description>Extracting the flag from the Sacred table of a Tinkoff CTF 2024 web task via SQL injection in the password field, reading each character through the age field.</description><pubDate>Tue, 23 Apr 2024 00:00:00 GMT</pubDate></item><item><title>Galera — Tinkoff CTF 2024</title><link>https://amyasnikov.com/posts/ctf-tinkoff-2024-galera/</link><guid isPermaLink="true">https://amyasnikov.com/posts/ctf-tinkoff-2024-galera/</guid><description>Reversing an iOS app to reconstruct its REST API, then exploiting a race condition with one-time referral codes to earn enough points to buy freedom and capture the flag.</description><pubDate>Mon, 22 Apr 2024 00:00:00 GMT</pubDate></item><item><title>Wysi Prime — osu!gaming CTF 2024</title><link>https://amyasnikov.com/posts/ctf-osugaming-lol-2024-wysi-prime/</link><guid isPermaLink="true">https://amyasnikov.com/posts/ctf-osugaming-lol-2024-wysi-prime/</guid><description>Recovering RSA primes made only of the digits 2 and 7 with a breadth-first search, then decrypting the ciphertext in the crypto/wysi-prime challenge from osu!gaming CTF 2024.</description><pubDate>Fri, 12 Apr 2024 00:00:00 GMT</pubDate></item><item><title>Robotrickster — Tinkoff CTF 2024</title><link>https://amyasnikov.com/posts/ctf-tinkoff-2024-robotrickster/</link><guid isPermaLink="true">https://amyasnikov.com/posts/ctf-tinkoff-2024-robotrickster/</guid><description>Reversing an Android shell-game app from Tinkoff CTF 2024: decompiling it to find the API endpoints and XOR key, then writing a Go client to win the game and decrypt the flag.</description><pubDate>Mon, 08 Apr 2024 00:00:00 GMT</pubDate></item><item><title>Lucky Ticket — Tinkoff CTF 2024</title><link>https://amyasnikov.com/posts/ctf-tinkoff-2024-luckyticket/</link><guid isPermaLink="true">https://amyasnikov.com/posts/ctf-tinkoff-2024-luckyticket/</guid><description>Predicting millisecond-seeded ticket numbers to farm lucky tickets and reach 100% luck, then recovering the flag from the interview endpoint of Tinkoff CTF 2024.</description><pubDate>Fri, 05 Apr 2024 00:00:00 GMT</pubDate></item><item><title>ROSSAU — osu!gaming CTF 2024</title><link>https://amyasnikov.com/posts/ctf-osugaming-lol-2024-rossau/</link><guid isPermaLink="true">https://amyasnikov.com/posts/ctf-osugaming-lol-2024-rossau/</guid><description>Factoring a small RSA modulus with factordb, computing the private exponent, then looking up the player whose osu! user ID matches it to recover the flag.</description><pubDate>Fri, 29 Mar 2024 00:00:00 GMT</pubDate></item><item><title>Base727 — osu!gaming CTF 2024</title><link>https://amyasnikov.com/posts/ctf-osugaming-lol-2024-base727/</link><guid isPermaLink="true">https://amyasnikov.com/posts/ctf-osugaming-lol-2024-base727/</guid><description>Reversing a custom base-727 encoding by swapping the bases and the input/output format to recover the flag from a hex-encoded ciphertext.</description><pubDate>Thu, 28 Mar 2024 00:00:00 GMT</pubDate></item><item><title>No Dorchadas — osu!gaming CTF 2024</title><link>https://amyasnikov.com/posts/ctf-osugaming-lol-2024-no-dorchadas/</link><guid isPermaLink="true">https://amyasnikov.com/posts/ctf-osugaming-lol-2024-no-dorchadas/</guid><description>Forging a valid MD5 signature for an osu! beatmap that contains a forbidden dorchadas slider, by recovering the internal MD5 state from a known signature and extending it.</description><pubDate>Tue, 19 Mar 2024 00:00:00 GMT</pubDate></item><item><title>Alice Doesn&apos;t Know Algebra — Codeby.games</title><link>https://amyasnikov.com/posts/ctf-codeby-games-alice-doesnt-know-algebra/</link><guid isPermaLink="true">https://amyasnikov.com/posts/ctf-codeby-games-alice-doesnt-know-algebra/</guid><description>Recovering an RSA key from two ciphertexts encrypted with different public exponents using the extended Euclidean algorithm.</description><pubDate>Sat, 25 Nov 2023 00:00:00 GMT</pubDate></item></channel></rss>