This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import dnslib | |
import fcntl | |
import os | |
import sys | |
from bcc import BPF | |
BPF_APP = r''' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
from struct import unpack | |
from bcc import BPF | |
from socket import if_indextoname | |
C_BPF_KPROBE = """ | |
#include <net/sock.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CMS@joomla@joomla\!@*@(Set-Cookie: [a-z0-9]{32}=.*); | |
CMS@joomla@joomla\!@*@(Set-Cookie: .*=[a-z0-9]{26,32}); | |
CMS@heartcore@heartcore@*@(Set-Cookie:.*=[A-Z0-9]{32});.* | |
CMS@heartcore@heartcore@*@(<meta name=["']author["'] content=["']{2}).* | |
CMS@wordpress@wordpress@*@(X-Pingback):.*xmlrpc.php[\r\n] | |
CMS@wordpress@wordpress@*@(<body class=["']home ).* | |
CMS@joomla@[email protected]@(/isis/) | |
CMS@joomla@[email protected]@(/isis/favicon.ico) | |
CMS@joomla@[email protected]@(/isis/login.php) | |
CMS@joomla@[email protected]@(/isis/component.php) |