mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-26 16:50:35 +03:00
minor update
This commit is contained in:
parent
068ff92dc4
commit
b604057e54
|
@ -491,6 +491,7 @@ class des(_baseDes):
|
||||||
def __des_crypt(self, block, crypt_type):
|
def __des_crypt(self, block, crypt_type):
|
||||||
"""Crypt the block of data through DES bit-manipulation"""
|
"""Crypt the block of data through DES bit-manipulation"""
|
||||||
block = self.__permutate(des.__ip, block)
|
block = self.__permutate(des.__ip, block)
|
||||||
|
Bn = [0] * 32
|
||||||
self.L = block[:32]
|
self.L = block[:32]
|
||||||
self.R = block[32:]
|
self.R = block[32:]
|
||||||
|
|
||||||
|
@ -525,7 +526,6 @@ class des(_baseDes):
|
||||||
|
|
||||||
# Permutate B[1] to B[8] using the S-Boxes
|
# Permutate B[1] to B[8] using the S-Boxes
|
||||||
j = 0
|
j = 0
|
||||||
Bn = [0] * 32
|
|
||||||
pos = 0
|
pos = 0
|
||||||
while j < 8:
|
while j < 8:
|
||||||
# Work out the offsets
|
# Work out the offsets
|
||||||
|
|
Loading…
Reference in New Issue
Block a user