Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /usr/share/makedumpfile/eppic_scripts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/makedumpfile/eppic_scripts/unix_sk_buff_3_10_to_4_8.c
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;
}

Spamworldpro Mini