defcreate(size, content): io.sendlineafter("Your choice:", "2") io.sendlineafter("Please enter the length of item name:", str(size)) io.sendlineafter("Please enter the name of item:", content) # sleep(1) #b *0x4009B7 defedit(index, size, content): io.sendlineafter("Your choice:", "3") io.sendlineafter("Please enter the index of item:", str(index)) io.sendlineafter("Please enter the length of item name:", str(size)) io.sendafter("Please enter the new name of the item:", content) # sleep(1) #b *0x400B23
defdrop(index): io.sendlineafter("Your choice:", "4") io.sendlineafter("Please enter the index of item:", str(index)) # sleep(1) #b *0x400C4D
defcreate(size, content): io.sendlineafter("Your choice:", "2") io.sendlineafter("Please enter the length of item name:", str(size)) io.sendlineafter("Please enter the name of item:", content) # sleep(1)
defedit(index, size, content): io.sendlineafter("Your choice:", "3") io.sendlineafter("Please enter the index of item:", str(index)) io.sendlineafter("Please enter the length of item name:", str(size)) io.sendafter("Please enter the new name of the item:", content) # sleep(1) #b *0x400B23
defdrop(index): io.sendlineafter("Your choice:", "4") io.sendlineafter("Please enter the index of item:", str(index)) # sleep(1) #b *0x400C4D