| Server IP : 23.254.227.96 / Your IP : 216.73.216.21 Web Server : Apache/2.4.62 (Unix) OpenSSL/1.1.1k System : Linux hwsrv-1277026.hostwindsdns.com 4.18.0-477.13.1.el8_8.x86_64 #1 SMP Tue May 30 14:53:41 EDT 2023 x86_64 User : viralblo ( 1001) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/makedumpfile/eppic_scripts/ |
Upload File : |
string
sunix_opt()
{
return "l";
}
string
sunix_usage()
{
return "\n";
}
static void
sunix_showusage()
{
printf("usage : sunix %s", sunix_usage());
}
string
sunix_help()
{
return "Help";
}
int
sunix()
{
int i;
int size;
struct hlist_head **tab;
struct sock_common *off = 0;
tab = &unix_socket_table;
for (i = 0; i < 256; i++) {
struct hlist_node *pos;
struct hlist_node *node;
struct hlist_head *tmp;
tmp = (struct hlist_head *)(tab + i);
pos = tmp->first;
while (pos) {
struct sock *sk;
struct sk_buff *next;
struct sk_buff_head *head;
sk = (struct sock *)((unsigned long)pos - (unsigned long)&(off->skc_dontcopy_begin));
head = (struct sk_buff_head *)&(sk->sk_receive_queue);
next = (struct sk_buff *)sk->sk_receive_queue.next;
while (next != head)
{
struct sk_buff *buff = (struct sk_buff *)next;
if (buff->data_len) {
memset((char *)buff->data, 'L', buff->data_len);
memset((char *)&(buff->data_len), 'L', 0x4);
}
next = buff->next;
}
head = (struct sk_buff_head *)&(sk->sk_write_queue);
next = (struct sk_buff *)sk->sk_write_queue.next;
while (next != head)
{
struct sk_buff *buff = (struct sk_buff *)next;
if (buff->data_len) {
memset((char *)buff->data, 'L', buff->data_len);
memset((char *)&(buff->data_len), 'L', 0x4);
}
next = buff->next;
}
node = (struct hlist_node *)((unsigned long)sk + (unsigned long)&(off->skc_dontcopy_begin));
pos = node->next;
}
}
return 1;
}