Permalink
Browse files

Credit barrebas

  • Loading branch information...
superkojiman committed Sep 21, 2016
1 parent 551e982 commit e160838b06b69d1f19a94411bcbc2702bcf3dbca
Showing with 6 additions and 0 deletions.
  1. +2 −0 2016/csaw/coinslot.md
  2. +2 −0 2016/csaw/rock.md
  3. +2 −0 2016/csaw/sleeping-guard.md
View
@@ -1,6 +1,8 @@
coinslot
---
+### Solved by barrebas
+
The service that we need to connect to gives an amount in dollars, and then asks the appropriate amount of dollar bills and coins. I whipped up a python script that could solve it for me, and after ironing out the bugs, I ran it for a few minutes. The first iteration of the script was using floats, which killed the calculation once large enough values started appearing. I fixed it by converting to cents. I ran the script again, only to find that the script was hanging and not returning the flag. This was probably because it was looking for a string in the response that wasn't there. That's why the Ctrl-c trap was added ;)
```python
View
@@ -1,6 +1,8 @@
rock
---
+### Solved by barrebas
+
A reversing challenge! We're given a 64-bit ELF executable. When we enter 'AAAA', the program says
```
@@ -1,6 +1,8 @@
CSAW 2016 Sleeping Guard
---
+### Solved by barrebas
+
Upon connecting to the address that is supplied, we receive the following file:
```bash

0 comments on commit e160838

Please sign in to comment.