new patterns & bugfix
This commit is contained in:
4
scan.py
4
scan.py
@@ -502,8 +502,8 @@ def is_hacked(filename):
|
||||
score.append(('SET_ERRORREPORTING_0', ''))
|
||||
if 'ignore_user_abort(' in l or 'ignore_user_abort (' in l:
|
||||
score.append(('SET_IGNOREUSERABORT_0', ''))
|
||||
if 'memory_limit","-1"' in l or 'memory_limit",-1' in l:
|
||||
score.append(('SET_MEMORYLIMIT_0', ''))
|
||||
# if 'memory_limit","-1"' in l or 'memory_limit",-1' in l:
|
||||
# score.append(('SET_MEMORYLIMIT_0', ''))
|
||||
if ('system(' in l or 'system (' in l or 'shell_exec(' in l or 'shell_exec (' in l or 'passthru(' in l) and not 'filesystem' in l.lower():
|
||||
score.append(('EXEC_SHELL', ''))
|
||||
if 'PCT4BA6ODSE_' in l or 'eval($s21($s22))' in l or '$qV="stop_"' in l:
|
||||
|
||||
Reference in New Issue
Block a user