AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/wp-content/plugins/jetpack/modules/sso/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /var/www/html/wp-content/plugins/jetpack/modules//sso/jetpack-sso-admin-create-user.js
document.addEventListener( 'DOMContentLoaded', function () {
	const sendUserNotificationCheckbox = document.getElementById( 'send_user_notification' );
	const userExternalContractorCheckbox = document.getElementById( 'user_external_contractor' );
	const inviteUserWpcomCheckbox = document.getElementById( 'invite_user_wpcom' );
	const customEmailMessageBlock = document.getElementById( 'custom_email_message_block' );

	if ( inviteUserWpcomCheckbox && sendUserNotificationCheckbox && customEmailMessageBlock ) {
		// Toggle Send User Notification checkbox enabled/disabled based on Invite User checkbox
		// Enable External Contractor checkbox if Invite User checkbox is checked
		// Show/hide the external email message field.
		inviteUserWpcomCheckbox.addEventListener( 'change', function () {
			sendUserNotificationCheckbox.disabled = inviteUserWpcomCheckbox.checked;
			if ( inviteUserWpcomCheckbox.checked ) {
				sendUserNotificationCheckbox.checked = false;
				if ( userExternalContractorCheckbox ) {
					userExternalContractorCheckbox.disabled = false;
				}
				customEmailMessageBlock.style.display = 'table';
			} else {
				if ( userExternalContractorCheckbox ) {
					userExternalContractorCheckbox.disabled = true;
					userExternalContractorCheckbox.checked = false;
				}
				customEmailMessageBlock.style.display = 'none';
			}
		} );

		// On load, disable Send User Notification checkbox
		// and show the custom email message if Invite User checkbox is checked
		if ( inviteUserWpcomCheckbox.checked ) {
			sendUserNotificationCheckbox.disabled = true;
			sendUserNotificationCheckbox.checked = false;
			customEmailMessageBlock.style.display = 'table';
		}

		// On load, disable External Contractor checkbox
		// and hide the custom email message if Invite User checkbox is unchecked
		if ( ! inviteUserWpcomCheckbox.checked ) {
			if ( userExternalContractorCheckbox ) {
				userExternalContractorCheckbox.disabled = true;
			}
			customEmailMessageBlock.style.display = 'none';
		}
	}
} );

Anon7 - 2022
AnonSec Team