Unverified Commit bea9bdef by Marcin Bury Committed by GitHub

Fix PEP8 issues (#678)

parent 4eefc7e7
...@@ -76,8 +76,8 @@ class Exploit(HTTPClient): ...@@ -76,8 +76,8 @@ class Exploit(HTTPClient):
def chain(lambdas, value): def chain(lambdas, value):
r_chain = None r_chain = None
for l in lambdas: for lambda_function in lambdas:
r_chain = value = l(value) r_chain = value = lambda_function(value)
return r_chain return r_chain
......
...@@ -135,8 +135,8 @@ class Exploit(TCPClient): ...@@ -135,8 +135,8 @@ class Exploit(TCPClient):
self.leak = self.bleed() self.leak = self.bleed()
if self.leak: if self.leak:
data = "" data = ""
for l in self.leak: for leak_byte in self.leak:
char = chr(l) char = chr(leak_byte)
if char in self.white_chars: if char in self.white_chars:
data += " " data += " "
elif char not in self.printable: elif char not in self.printable:
......
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