User Tools

Site Tools


wordpress_xmlrpc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wordpress_xmlrpc [2016/08/09 08:12] luke7858wordpress_xmlrpc [2024/05/23 07:26] (current) – external edit 127.0.0.1
Line 31: Line 31:
 It can be used with Perl, Java, Python, C, C++, PHP and many other programming languages. It can be used with Perl, Java, Python, C, C++, PHP and many other programming languages.
 \\ \\
-\\ 
-You can quickly check your log files to see if there has been any xmlrpc activity with the following command: 
-\\ 
-For apache: 
-<sxh bash> 
-while read vhost; do tail -n50 $vhost | grep xmlrpc >/dev/null && echo $vhost; done <<< "$(ls /var/log/httpd/*-access_log)" 
-</sxh> 
-<sxh ba 
-Nginx: 
-<sxh> 
-while read vhost; do tail -n50 $vhost | grep xmlrpc >/dev/null && echo $vhost; done <<< "$(ls /var/log/nginx/*-access_log)" 
-</sxh> 
 \\ \\
 Checking apache and nginx logs for xmlrpc Checking apache and nginx logs for xmlrpc
 \\ \\
 <sxh bash> <sxh bash>
-awk '/xmlrpc.php/ {REQ[$1" "$6" "$7" "$9]++}END{for (i in REQ) print REQ[i],i}' /var/log/virtualmin/*access*log | sort -n | tail -25+ awk '/xmlrpc.php/ {REQ[$1" "$6" "$7]++}END{for (i in REQ) print REQ[i],i}' /var/log/httpd/*access*log | sort -n | tail -25
 </sxh> </sxh>
 \\ \\
wordpress_xmlrpc.1470730330.txt.gz · Last modified: 2024/05/23 07:26 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki