Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/ift/vendor/consolidation/site-process/src/Util/

Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Upload File :
Current File : /var/www/html/ift/vendor/consolidation/site-process/src/Util/Tty.php

<?php
namespace Consolidation\SiteProcess\Util;

use Symfony\Component\Process\Process;

/**
 * Wrapper for universal support of TTY-related functionality across versions of
 * Symfony Process.
 */
class Tty
{
    /**
     * In Symfony Process 4+, this is simply a wrapper for Process::isTtySupported().
     * In lower versions, it mimics the same functionality.
     */
    public static function isTtySupported()
    {
        // Start off by checking STDIN with `posix_isatty`, as that appears to be more reliable
        if (function_exists('posix_isatty')) {
            return posix_isatty(STDIN);
        }
        if (method_exists('\Symfony\Component\Process\Process', 'isTtySupported')) {
            return Process::isTtySupported();
        }
        return (bool) @proc_open('echo 1 >/dev/null', array(array('file', '/dev/tty', 'r'), array('file', '/dev/tty', 'w'), array('file', '/dev/tty', 'w')), $pipes);
    }
}

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped) Email: contact@elmoujehidin.net