[pwnable.kr] input
Wargame/pwnable.kr
Mom? how can I pass my input to a computer program?ssh input2@pwnable.kr -p2222 (pw:guest)AttachmentStage 1: argv/* input.c */// argv if(argc != 100) return 0; if(strcmp(argv['A'],"\x00")) return 0; if(strcmp(argv['B'],"\x20\x0a\x0d")) return 0; printf("Stage 1 clear!\n");# ex.pyfrom pwn import *# stage 1argv = ["" for i in range(100)]argv[0] = "/home/input2/input"argv[0x41] = "\x00"..