defadd(ba_length,ba_content,na_length,na_content): io.recvuntil("Now please tell me what you want to do :") io.sendline(str(1)) io.recvuntil("ba's length :") io.sendline(str(ba_length)) io.recvuntil("ba :") io.send(ba_content) io.recvuntil("na's length :") io.sendline(str(na_length)) io.recvuntil("na :") io.send(na_content)
deffree(index): io.recvuntil("Now please tell me what you want to do :") io.sendline(str(3)) io.recvuntil("Banana ID :") io.sendline(str(index))
defshow(index): io.recvuntil("Now please tell me what you want to do :") io.sendline(str(4)) io.recvuntil('Banana ID : > SCP project ID :') io.sendline(str(index))