Showing 219 of 389 total issues
Avoid deeply nested control flow statements. Open
Open
for k in range(originalsize-start):
stringOut += chr(plaintext[k])
else:
Avoid deeply nested control flow statements. Open
Open
if len(output)-1 < i:
plaintext[i] = 0 ^ ciphertext[i]
elif len(ciphertext)-1 < i:
plaintext[i] = output[i] ^ 0
elif len(output)-1 < i and len(ciphertext) < i:
Avoid deeply nested control flow statements. Open
Open
if len(output)-1 < i:
plaintext[i] = 0 ^ ciphertext[i]
elif len(ciphertext)-1 < i:
plaintext[i] = output[i] ^ 0
elif len(output)-1 < i and len(ciphertext) < i:
Avoid deeply nested control flow statements. Open
Open
if len(plaintext)-1 < i:
ciphertext[i] = 0 ^ output[i]
elif len(output)-1 < i:
ciphertext[i] = plaintext[i] ^ 0
elif len(plaintext)-1 < i and len(output) < i:
Avoid deeply nested control flow statements. Open
Open
if len(plaintext)-1 < i:
ciphertext[i] = 0 ^ output[i]
elif len(output)-1 < i:
ciphertext[i] = plaintext[i] ^ 0
elif len(plaintext)-1 < i and len(output) < i:
Avoid deeply nested control flow statements. Open
Open
for k in range(originalsize-start):
stringOut += chr(plaintext[k])
else:
Avoid deeply nested control flow statements. Open
Open
if len(output)-1 < i:
plaintext[i] = 0 ^ ciphertext[i]
elif len(ciphertext)-1 < i:
plaintext[i] = output[i] ^ 0
elif len(output)-1 < i and len(ciphertext) < i:
Avoid deeply nested control flow statements. Open
Open
if firstRound:
plaintext[i] = IV[i] ^ output[i]
else:
plaintext[i] = iput[i] ^ output[i]
firstRound = False
Avoid deeply nested control flow statements. Open
Open
if len(plaintext)-1 < i:
ciphertext[i] = 0 ^ output[i]
elif len(output)-1 < i:
ciphertext[i] = plaintext[i] ^ 0
elif len(plaintext)-1 < i and len(output) < i:
Avoid deeply nested control flow statements. Open
Open
if firstRound:
iput[i] = plaintext[i] ^ IV[i]
else:
iput[i] = plaintext[i] ^ ciphertext[i]
# print 'IP@%s:%s' % (j, iput)
Avoid deeply nested control flow statements. Open
Open
if len(output)-1 < i:
plaintext[i] = 0 ^ ciphertext[i]
elif len(ciphertext)-1 < i:
plaintext[i] = output[i] ^ 0
elif len(output)-1 < i and len(ciphertext) < i:
Function encrypt
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def encrypt(self, stringIn, mode, key, size, IV):
Function stage2
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function stage2(page, base, iframe, xml, documentarea) {
Function XSLTObject
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function XSLTObject(page, childrenaddr, nameaddr, elementaddr, xml) {
Function encrypt
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def encrypt(self, stringIn, mode, key, size, IV):
Function RCE
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function RCE(memobj, node, structfn, callstub, fakevtable) {
Function stage3
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function stage3 (memobj, webcoretext, node, addr, page) {
Function stage4
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function stage4(memobj, rce, libc, libwebcore, addr) {
Function xslt_exploit
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function xslt_exploit(iframe, xml, base, documentarea, pagenum) {
Function stage4
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function stage4(memobj, rce, libc, libwebcore, addr) {