Skip to content

Commit 5589693

Browse files
committed
IOStates/LeakBasedCoreGenerator: recvrepeat(0.1) after leaking
Signed-off-by: Marco Wang <m.aesophor@gmail.com>
1 parent 22b21d4 commit 5589693

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Modules/IOStates/LeakBasedCoreGenerator.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,10 @@ void IOStateInfoVisitor::operator()(const OutputStateInfo &stateInfo) {
162162
"log.info('leaked elf_base: {}'.format(hex(elf_base)))",
163163
});
164164
}
165+
166+
// We still need to receive whatever that comes after
167+
// the canary or the address.
168+
exploit.writeline("proc.recvrepeat(0.1)");
165169
}
166170

167171
void IOStateInfoVisitor::operator()(const SleepStateInfo &stateInfo) {

0 commit comments

Comments
 (0)