Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 655bd79

Browse files
committed
some renaming
1 parent 838762f commit 655bd79

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/techniques/blind/inference.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,13 +144,13 @@ def tryHint(idx):
144144

145145
return None
146146

147-
def getChar(idx, charTbl=asciiTbl, sequentialOrder=True):
147+
def getChar(idx, charTbl=asciiTbl, continuousOrder=True):
148148
result = tryHint(idx)
149149

150150
if result:
151151
return result
152152

153-
if not sequentialOrder:
153+
if not continuousOrder:
154154
originalTbl = list(charTbl)
155155

156156
if len(charTbl) == 1:
@@ -201,7 +201,7 @@ def getChar(idx, charTbl=asciiTbl, sequentialOrder=True):
201201
charTbl = xrange(charTbl[0], charTbl[position])
202202

203203
if len(charTbl) == 1:
204-
if sequentialOrder:
204+
if continuousOrder:
205205
if maxValue == 1:
206206
return None
207207
elif minValue == maxChar:

0 commit comments

Comments
 (0)