fixed indentation bug
This commit is contained in:
2
scan.py
2
scan.py
@@ -575,7 +575,7 @@ def is_hacked(filename):
|
|||||||
score.append(('MANY_LINES3', '%i lines' % line_num))
|
score.append(('MANY_LINES3', '%i lines' % line_num))
|
||||||
|
|
||||||
# Shell super bien caché, toutes les lignes ont la même longueur
|
# Shell super bien caché, toutes les lignes ont la même longueur
|
||||||
if len(first_lines) > 12 and line_num < 30 and first_lines[0] == '<?php' and \
|
if len(first_lines) > 12 and line_num < 30 and first_lines[0] == '<?php' and \
|
||||||
len(first_lines[1]) == len(first_lines[2]) == len(first_lines[3]) == len(first_lines[4]) == len(first_lines[5]) == len(first_lines[6]) == len(first_lines[7]) == len(first_lines[8]) and len(first_lines[3]) > 40 and first_lines[3][0] == ' ':
|
len(first_lines[1]) == len(first_lines[2]) == len(first_lines[3]) == len(first_lines[4]) == len(first_lines[5]) == len(first_lines[6]) == len(first_lines[7]) == len(first_lines[8]) and len(first_lines[3]) > 40 and first_lines[3][0] == ' ':
|
||||||
score.append(('PHP_OBFUSC_SHELL', ''))
|
score.append(('PHP_OBFUSC_SHELL', ''))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user