wordpress_xmlrpc
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wordpress_xmlrpc [2016/04/29 13:34] – luke7858 | wordpress_xmlrpc [2024/05/23 07:26] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 35: | Line 35: | ||
\\ | \\ | ||
<sxh bash> | <sxh bash> | ||
- | awk '/ | + | awk '/ |
- | </ | + | |
- | or to check every log file on the device: | + | |
- | <sxh bash> | + | |
- | LOGS=$(lsof -ln | awk '$4 ~ /[0-9]w/ && $5 ~ /REG/ {FILE[$NF]++}END{for (i in FILE) print i}'); awk '/ | + | |
</ | </ | ||
\\ | \\ | ||
Line 45: | Line 41: | ||
<sxh bash> | <sxh bash> | ||
To prevent xmlrpc attacks add the following to a .htaccess | To prevent xmlrpc attacks add the following to a .htaccess | ||
- | <sxh bash> | ||
<Files " | <Files " | ||
Order Allow,Deny | Order Allow,Deny | ||
Line 55: | Line 50: | ||
**__Apache .htaccess: | **__Apache .htaccess: | ||
<sxh bash> | <sxh bash> | ||
- | <files xmlrpc.php=""> | + | <Files "xmlrpc.php"> |
Order Deny,Allow | Order Deny,Allow | ||
Deny from all | Deny from all |
wordpress_xmlrpc.1461936893.txt.gz · Last modified: 2024/05/23 07:26 (external edit)