Thursday, February 11, 2016

Find hacker patterns

find -name "*.php"
grep . -nrlw --exclude=*.{php,jpg} -e 'eval'
grep . -nrlw --exclude=*.{js,htm,html,jpg} -e '_REQUEST'
grep . -nrlw --exclude=*.{js,htm,html,jpg} -e 'uuid'
grep . -nrlw --exclude=*.{js,htm,html,jpg} -e '$log_email'

Wednesday, February 3, 2016

Configure SVN external editor on Windows


Find and edit the file \users\\AppData\Roaming\Subversion\config
Find the line containing editor-cmd = 
Set your editor command