AnonSec Shell
Server IP : 92.204.138.22  /  Your IP : 3.135.184.255
Web Server : Apache
System : Linux ns1009439.ip-92-204-138.us 4.18.0-553.8.1.el8_10.x86_64 #1 SMP Tue Jul 2 07:26:33 EDT 2024 x86_64
User : internationaljou ( 1019)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/internationaljou/public_html/admin/js/BROKY_ADMIN/alfasymlink/root/usr/share/makedumpfile/eppic_scripts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/internationaljou/public_html/admin/js/BROKY_ADMIN/alfasymlink/root/usr/share/makedumpfile/eppic_scripts/vhost_scsi_buffers_3_10_to_4_8.c
string
vhost_opt()
{
	    return "l";
}

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

static void
vhost_showusage()
{
	    printf("usage : vhost %s", vhost_usage());
}

string
vhost_help()
{
	    return "Help";
}

void
vhost_scsi(struct vhost_scsi *vs)
{
	if (vs == NULL)
		return;

	for (i = 0; i < 128; i++) {
		struct vhost_virtqueue *vq = (struct vhost_virtqueue *)vs->vqs[i].vq;

		for (j = 0; j < 1024; j++) {

			if (vq->iov[j].iov_len) {
				memset((char *)vq->iov[j].iov_base, 'L', vq->iov[j].iov_len);
				memset((char *)&(vq->iov[j].iov_len), 'L', 0x8);
			}
		}
	}
}

int
vhost()
{
	struct list_head *head, *next;
	struct task_struct *tsk;

	tsk = &init_task;

	head = (struct list_head *) &(tsk->tasks);
	next = (struct list_head *) tsk->tasks.next;

	while (next != head)
	{
		int i;
		struct task_struct *task, *off = 0;

		task = (struct task_struct *)((unsigned long)next - ((unsigned long)&(off->tasks)));

		if (task->files && task->files->fdt) {
			for (i = 0; i < task->files->fdt->max_fds; i++) {
				if (task->files->fdt->fd[i] && task->files->fdt->fd[i]->f_op
					&& task->files->fdt->fd[i]->f_op->open == &vhost_scsi_open)
					vhost_scsi((struct vhost_scsi *)task->files->fdt->fd[i]->private_data);
			}
		}


		next = (struct list_head *)task->tasks.next;
	}

	return 1;
}

Anon7 - 2022
AnonSec Team