Skip to content

Instantly share code, notes, and snippets.

@hugokernel
hugokernel / scan.py
Last active October 3, 2017 23:41
Python scanner for first line eval() based infection on php script
'''
Python scanner for first line eval() based infection on php script (ex: Wordpress infection)
Information: http://somewebgeek.com/2014/wordpress-remote-code-execution-base64_decode/
hugokernel, 09/2014
Usage:
python scan.py directory
'''
import sys