<commit_before>---
layout: post
title:  "MMACTF 2015 - Moneygame Writeup"
date:   2015-09-07 18:03:59
categories: CTF Writeup
---

## Recon

We are presented with a stock market game. We have to time the market just right in order to get 10x our initial cash pile. Psh.. easy peasy

{% highlight python %}
Week #1: 
You have $10000.00!
Stock #1: $100.00 (You have 0.)
Stock #2: $100.00 (You have 0.)
Stock #3: $100.00 (You have 0.)
Action (Buy/Sell/Rest) [Rest] : Buy
Which stock do you want to buy? (1-3) [1]: 1
How many stocks do you want to buy? (0-100) [0]: 100


Week #2: 
You have $0.00!
Stock #1: $103.16 (You have 100.)
Stock #2: $91.44 (You have 0.)
Stock #3: $92.64 (You have 0.)
Action (Buy/Sell/Rest) [Rest] : 
{% endhighlight %}<commit_msg>remove highlighting for example game<commit_after>---
layout: post
title:  "MMACTF 2015 - Moneygame Writeup"
date:   2015-09-07 18:03:59
categories: CTF Writeup
---

## Recon

We are presented with a stock market game. We have to time the market just right in order to get 10x our initial cash pile. Psh.. easy peasy

{% highlight %}
Week #1: 
You have $10000.00!
Stock #1: $100.00 (You have 0.)
Stock #2: $100.00 (You have 0.)
Stock #3: $100.00 (You have 0.)
Action (Buy/Sell/Rest) [Rest] : Buy
Which stock do you want to buy? (1-3) [1]: 1
How many stocks do you want to buy? (0-100) [0]: 100


Week #2: 
You have $0.00!
Stock #1: $103.16 (You have 100.)
Stock #2: $91.44 (You have 0.)
Stock #3: $92.64 (You have 0.)
Action (Buy/Sell/Rest) [Rest] : 
{% endhighlight %}
{'fraction_non_alphanumeric': 0.1498028909329829, 'fraction_numerical': 0.11300919842312747, 'mean_word_length': 3.3764367816091956, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3859310', 'n_tokens_mistral': 703, 'n_tokens_neox': 571, 'n_words': 243}