emposha / Shell-Detector

Shell Detector – is a application that helps you find and identify php/cgi(perl)/asp/aspx shells. Shell Detector has a “web shells” signature database that helps to identify “web shell” up to 99%.
http://shelldetector.com/
403 stars 149 forks source link

Fix for IndexError when shell is detected #9

Closed travisbgreen closed 9 years ago

travisbgreen commented 9 years ago

was getting: File "shelldetect.py", line 199, in fingerprint if _match_shell[3] == 1: IndexError: list index out of range

So modified the regex and match object returns a bit to fix.