Viel neues
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace phpseclib3\Net\SSH2;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
abstract class ChannelConnectionFailureReason
|
||||
{
|
||||
public const ADMINISTRATIVELY_PROHIBITED = 1;
|
||||
public const CONNECT_FAILED = 2;
|
||||
public const UNKNOWN_CHANNEL_TYPE = 3;
|
||||
public const RESOURCE_SHORTAGE = 4;
|
||||
}
|
||||
31
qa-tool/htdocs/oidc/phpseclib/Net/SSH2/DisconnectReason.php
Normal file
31
qa-tool/htdocs/oidc/phpseclib/Net/SSH2/DisconnectReason.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace phpseclib3\Net\SSH2;
|
||||
|
||||
use phpseclib3\Common\ConstantUtilityTrait;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
abstract class DisconnectReason
|
||||
{
|
||||
use ConstantUtilityTrait;
|
||||
|
||||
public const HOST_NOT_ALLOWED_TO_CONNECT = 1;
|
||||
public const PROTOCOL_ERROR = 2;
|
||||
public const KEY_EXCHANGE_FAILED = 3;
|
||||
public const RESERVED = 4;
|
||||
public const MAC_ERROR = 5;
|
||||
public const COMPRESSION_ERROR = 6;
|
||||
public const SERVICE_NOT_AVAILABLE = 7;
|
||||
public const PROTOCOL_VERSION_NOT_SUPPORTED = 8;
|
||||
public const HOST_KEY_NOT_VERIFIABLE = 9;
|
||||
public const CONNECTION_LOST = 10;
|
||||
public const BY_APPLICATION = 11;
|
||||
public const TOO_MANY_CONNECTIONS = 12;
|
||||
public const AUTH_CANCELLED_BY_USER = 13;
|
||||
public const NO_MORE_AUTH_METHODS_AVAILABLE = 14;
|
||||
public const ILLEGAL_USER_NAME = 15;
|
||||
}
|
||||
55
qa-tool/htdocs/oidc/phpseclib/Net/SSH2/MessageType.php
Normal file
55
qa-tool/htdocs/oidc/phpseclib/Net/SSH2/MessageType.php
Normal file
@@ -0,0 +1,55 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace phpseclib3\Net\SSH2;
|
||||
|
||||
use phpseclib3\Common\ConstantUtilityTrait;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
abstract class MessageType
|
||||
{
|
||||
use ConstantUtilityTrait;
|
||||
|
||||
public const DISCONNECT = 1;
|
||||
public const IGNORE = 2;
|
||||
public const UNIMPLEMENTED = 3;
|
||||
public const DEBUG = 4;
|
||||
public const SERVICE_REQUEST = 5;
|
||||
public const SERVICE_ACCEPT = 6;
|
||||
public const EXT_INFO = 7;
|
||||
public const NEWCOMPRESS = 8;
|
||||
|
||||
public const KEXINIT = 20;
|
||||
public const NEWKEYS = 21;
|
||||
|
||||
// KEXDH_INIT and KEXDH_REPLY are not defined RFC4250 but are referenced in RFC4253
|
||||
public const KEXDH_INIT = 30;
|
||||
public const KEXDH_REPLY = 31;
|
||||
|
||||
public const USERAUTH_REQUEST = 50;
|
||||
public const USERAUTH_FAILURE = 51;
|
||||
public const USERAUTH_SUCCESS = 52;
|
||||
public const USERAUTH_BANNER = 53;
|
||||
|
||||
public const USERAUTH_INFO_REQUEST = 60;
|
||||
public const USERAUTH_INFO_RESPONSE = 61;
|
||||
|
||||
public const GLOBAL_REQUEST = 80;
|
||||
public const REQUEST_SUCCESS = 81;
|
||||
public const REQUEST_FAILURE = 82;
|
||||
|
||||
public const CHANNEL_OPEN = 90;
|
||||
public const CHANNEL_OPEN_CONFIRMATION = 91;
|
||||
public const CHANNEL_OPEN_FAILURE = 92;
|
||||
public const CHANNEL_WINDOW_ADJUST = 93;
|
||||
public const CHANNEL_DATA = 94;
|
||||
public const CHANNEL_EXTENDED_DATA = 95;
|
||||
public const CHANNEL_EOF = 96;
|
||||
public const CHANNEL_CLOSE = 97;
|
||||
public const CHANNEL_REQUEST = 98;
|
||||
public const CHANNEL_SUCCESS = 99;
|
||||
public const CHANNEL_FAILURE = 100;
|
||||
}
|
||||
26
qa-tool/htdocs/oidc/phpseclib/Net/SSH2/MessageTypeExtra.php
Normal file
26
qa-tool/htdocs/oidc/phpseclib/Net/SSH2/MessageTypeExtra.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace phpseclib3\Net\SSH2;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
abstract class MessageTypeExtra
|
||||
{
|
||||
// RFC 4419 - diffie-hellman-group-exchange-sha{1,256}
|
||||
public const KEXDH_GEX_REQUEST_OLD = 30;
|
||||
public const KEXDH_GEX_GROUP = 31;
|
||||
public const KEXDH_GEX_INIT = 32;
|
||||
public const KEXDH_GEX_REPLY = 33;
|
||||
public const KEXDH_GEX_REQUEST = 34;
|
||||
|
||||
// RFC 5656 - Elliptic Curves (for curve25519-sha256@libssh.org)
|
||||
public const KEX_ECDH_INIT = 30;
|
||||
public const KEX_ECDH_REPLY = 31;
|
||||
|
||||
public const USERAUTH_PASSWD_CHANGEREQ = 60;
|
||||
|
||||
public const USERAUTH_PK_OK = 60;
|
||||
}
|
||||
13
qa-tool/htdocs/oidc/phpseclib/Net/SSH2/TerminalMode.php
Normal file
13
qa-tool/htdocs/oidc/phpseclib/Net/SSH2/TerminalMode.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace phpseclib3\Net\SSH2;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
abstract class TerminalMode
|
||||
{
|
||||
public const TTY_OP_END = 0;
|
||||
}
|
||||
Reference in New Issue
Block a user