---
layout: post
title:  "Vortex Level 0"
date:   2015-09-30 22:58
categories: vortex wargame web overthewire
author: Natri
---

## VORTEX 00

```python
import socket
import struct

HOST = 'votex.labs.overthewire.org'
PORT = 5842

s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((HOST,PORT))
d =0
for x in xrange(0,4,1):
	data = s.recv(4)
	d+= struct.unpack("<I", data)[0]

print d
d = struct.pack("<I",(d & 0xFFFFFFFF))
print d
s.send(d)
response = s.recv(1000)
print "Recieved: %s" % response

s.close()
```

Would like to rewrite this using pwntools package

Revert "Revert "Adding solution for vortex00""
Revert "Revert "Adding solution for vortex00""
