---
# System prepended metadata

title: 2019/12/03

---

# 2019/12/03
* 完成 ta.foxo.tw 的 pwntools，並附上程式碼
```pwn
from pwn import *
r= remote("140.134.25.138",20000)
for i in range (0,100):
	data = r.recvline().split()
	result = 0;
	if(data[1]=="+"):
		result = int(data[0])+int(data[2])
	elif(data[1]=="-"):
		result = int(data[0])-int(data[2])
	elif(data[1]=="*"):
		result = int(data[0])*int(data[2])
	r.sendline(str(result))
print r.recvline()
```