NineSec Team Shell
Server IP : 184.107.3.203  /  Your IP : 216.73.216.51
Web Server : Apache
System : Linux dedicated2.avenfashion.com.ph 4.18.0-553.40.1.el8_10.x86_64 #1 SMP Mon Feb 10 12:11:18 EST 2025 x86_64
User : adminteladeoro ( 1015)
PHP Version : 8.2.28
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/share/makedumpfile/eppic_scripts/

[  Home  ][  C0mmand  ][  Upload File  ]

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;
}

NineSec Team - 2022