This repository contains writeups for various CTFs I've participated in.
dvd848 / ctfs Goto Github PK
View Code? Open in Web Editor NEWWriteups for various CTFs
Writeups for various CTFs
I think there is an issue in your solution for 1_wanna_b3_a_r0ck5tar
In the Poetic Number Literals for Rockstar, a hyphen -
is counted as another letter.
Therefore a six-string
should be 1 10(mod10) = 10
rather than 136
Testing with
A guitar is a six-string
Say A guitar
on Rockstar Online demonstrates this.
Similarly - a billboard-burning razzmatazz
should be 170
rather than 1970
Thanks for posting your workings - really helped me understand Rockstar better!
In the script of finding the 16-bit key, it should not 'break', cause there may be other keys which also can shift to correct PNG pre-16bytes. I've tried 21 keys, and finally found the answer.
inspect > sources > wasm
I'm playing around with Ghidra and I'm wondering where the strings are?
Your writeup mentions there's a string "Congrats! Your flag is:" but I've grepped and searched and I can't find where that is in the decompiled code.
Thanks for clues!
Hey there, I was working on the flag shop question and I found your writeup for that question. I tried 3333333 for the amount which worked successfully. But when I tried the number 2386093 and 2386094, which gave a negative total cost as expected but the account balance was still negative. I wasn't sure it is because of the program itself, or because of some hidden rule for the extreme cases.
I got 2386093 by dividing 2^31 by 900 since 2^31 is the negative max for 32-bit int.
However, 2386095 works perfectly.
Thanks a lot.
Hi there,
This question may be a bit silly, but it does bother me.
I was doing the problem called ' 1_wanna_b3_a_r0ck5tar '. I have confusion regarding '-'(hyphen) under the poetic number literals part. Based on your solution, correct me if I misunderstood. '-' is kind like separation sign so that 'six-string' is '3' and '6' which although adds up to 10, with '-' we can get 3 and 6 instead of 0. This makes sense to me when it applies to the Music=1970.
However, when I converted the txt to the py using the same package, I got results below.
In which, 'a six-string' = 10, 'a billboard-burning razzmatazz' = 170. Based on the first half definition, six-string sounds right, but the later one doesn't make sense to me. And I do not fully understand the meaning of '13 letters > 3'.
I had tried different combinations, results are attached below.
Thank you in advance.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.