403Webshell
Server IP : 162.0.217.223  /  Your IP : 216.73.216.168
Web Server : LiteSpeed
System : Linux premium269.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : mypckeys ( 1539)
PHP Version : 8.1.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/mypckeys/backup/msckey.com/wp-content/plugins/airlift/admin/components/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/mypckeys/backup/msckey.com/wp-content/plugins/airlift/admin/components/show-secret-key.php
<section id="show-secret-key">
	<div class="show-secret-key-container">
		<h4 class="text-left">
			<span>Installation Key</span>
		</h4>
		<div id="secret-key-content">
			<div>
				Use this key on your AifLift dashboard to get started.
			</div><br/>
			<div style="display: flex; gap: 8px; align-items: center;">
				<input type="password" id="secret-key" name="secret_key" value="<?php echo esc_attr( $this->bvinfo->getDefaultSecret() ); ?>" class="widefat" style="flex: 1;" readonly>
				<button type="button" id="view-key" class="button">View Key</button>
				<button type="button" id="copy-key" class="button" onclick="copyToClipboard()">Copy Key</button>
			</div>
		</div>
	</div>
</section>
<script>
	function copyToClipboard() {
		var copyText = document.getElementById("secret-key");
		copyText.type = 'text';
		navigator.clipboard.writeText("<?php echo esc_attr( $this->bvinfo->getDefaultSecret() ); ?>");
		copyText.type = 'password';
		var copyButton = document.getElementById("copy-key");
		copyButton.textContent = 'Copied!';
		document.getElementById('view-key').textContent = 'View Key';
		var copyButton = document.getElementById("copy-key");
		copyButton.textContent = 'Copied!';
		setTimeout(() => copyButton.textContent = 'Copy Key', 2000);
	}
	document.getElementById('view-key').addEventListener('click', function() {
		var keyField = document.getElementById("secret-key");
		if (keyField.type === "password") {
			keyField.type = "text";
			this.textContent = 'Hide Key';
		} else {
			keyField.type = "password";
			this.textContent = 'View Key';
		}
	});
</script>

Youez - 2016 - github.com/yon3zu
LinuXploit