« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 84 for passwd (0.002 sec.)
PASSWD 拡張オペレーションのヘルパ 13291
« ldap_exop ldap_exop_refresh » PHP Manual LDAP 関数 PASSWD 拡張オペレーションのヘルパ 検索 ldap_exop_passwd (PHP 7 >= 7.2.0, PHP 8) ldap_exop_passwd — PASSWD 拡張オペレーションのヘルパ 説明 function ldap_exop_passwd ( LDAP\Connection $ldap ... string $old_password = "" , #[ \SensitiveParameter ] string $new_password = "" , array &$controls = null ): string | bool PASSWD 拡張オペレーションを実行します。 パラメータ ldap ldap_connect() が返す LDAP\Connection クラスのインスタンス。 user パスワー ... e になりました。 これより前のバージョンでは、デフォルト値が [] でした。 7.3.0 controls のサポートが追加されました。 例 例1 PASSWD 拡張オペレーション <?php $ds = ldap_connect ( "localhost" ); // assuming the LDAP server is on this host if ( $ds ) { // b ... ( $ds , "cn=root, o=My Company, c=US" , "secret" ); if (! $bind ) { echo "Unable to bind to LDAP server" ; exit; } // use PASSWD EXOP to change the user password for a generated one $genpw = ldap_exop_passwd ( $ds , "cn=root, o=My Company, c=US" , "se ...
https://man.mtool.work/php/8.3/function.ldap-exop-passwd.html
PASSWD 拡張オペレーションのヘルパ 13196
« ldap_exop ldap_exop_refresh » PHP Manual LDAP 関数 PASSWD 拡張オペレーションのヘルパ 検索 ldap_exop_passwd (PHP 7 >= 7.2.0, PHP 8) ldap_exop_passwd — PASSWD 拡張オペレーションのヘルパ 説明 function ldap_exop_passwd ( LDAP\Connection $ldap ... string $old_password = "" , #[ \SensitiveParameter ] string $new_password = "" , array &$controls = null ): string | bool PASSWD 拡張オペレーションを実行します。 パラメータ ldap ldap_connect() が返す LDAP\Connection クラスのインスタンス。 user パスワー ... e になりました。 これより前のバージョンでは、デフォルト値が [] でした。 7.3.0 controls のサポートが追加されました。 例 例1 PASSWD 拡張オペレーション <?php $ds = ldap_connect ( "localhost" ); // assuming the LDAP server is on this host if ( $ds ) { // b ... ( $ds , "cn=root, o=My Company, c=US" , "secret" ); if (! $bind ) { echo "Unable to bind to LDAP server" ; exit; } // use PASSWD EXOP to change the user password for a generated one $genpw = ldap_exop_passwd ( $ds , "cn=root, o=My Company, c=US" , "se ...
https://man.mtool.work/php/8.3/function.ldap-exop-passwd.html
Null バイト関連の問題 8657
« ファイルシステムのセキュリティ データベースのセキュリティ » PHP Manual ファイルシステムのセキュリティ Null バイト関連の問題 検索 Null バイト関連の問題 PHP はファイルシステム関連の操作に C 言語の関数を使用しているので、 null バイトの処理を ... 弱性を含むコード例を示します。 例1 null バイトに対して脆弱なスクリプト <?php $file = $_GET [ 'file' ]; // ここで "../../etc/passwd\0" が渡されたとします if ( file_exists ( '/home/wwwrun/' . $file . '.php' )) { // file_exists は true を返します。これは、 ... ファイル /home/wwwrun/../../etc/passwd が存在するからです include '/home/wwwrun/' . $file . '.php' ; // ファイル /etc/passwd がインクルードされてしまいます } ?> ... ude/main.php' ; } ?> 関連キーワード: file バイト php null home wwwrun include 関連 問題 ファイルシステム Null セキュリティ passwd case 操作 言語 exists 検証 main Search ...
https://man.mtool.work/php/8.3/security.filesystem.nullbytes.html
Null バイト関連の問題 8562
« ファイルシステムのセキュリティ データベースのセキュリティ » PHP Manual ファイルシステムのセキュリティ Null バイト関連の問題 検索 Null バイト関連の問題 PHP はファイルシステム関連の操作に C 言語の関数を使用しているので、 null バイトの処理を ... 弱性を含むコード例を示します。 例1 null バイトに対して脆弱なスクリプト <?php $file = $_GET [ 'file' ]; // ここで "../../etc/passwd\0" が渡されたとします if ( file_exists ( '/home/wwwrun/' . $file . '.php' )) { // file_exists は true を返します。これは、 ... ファイル /home/wwwrun/../../etc/passwd が存在するからです include '/home/wwwrun/' . $file . '.php' ; // ファイル /etc/passwd がインクルードされてしまいます } ?> ... include '/home/wwwrun/include/main.php' ; } ?> 関連キーワード: バイト home wwwrun 関連 問題 ファイルシステム セキュリティ passwd case 操作 言語 exists 検証 main データベース 予期 終端 脆弱性 コード 脆弱 スクリプト インクルード 汚染 改良 可能性 ...
https://man.mtool.work/php/8.3/security.filesystem.nullbytes.html
指定されたパス文字列の実際のパスを解決する 8183
« ssh2_sftp_readlink ssh2_sftp_rename » PHP Manual SSH2 関数 指定されたパス文字列の実際のパスを解決する 検索 ssh2_sftp_realpath (PECL ssh2 >= 0.9.0) ssh2_sftp_realpath — 指定されたパス文字列の実際のパスを解決する 説明 function ssh2_sftp_rea ... ' ); $sftp = ssh2_sftp ( $connection ); $realpath = ssh2_sftp_realpath ( $sftp , '/home/username/../../../..//./usr/../etc/passwd' ); /* $realpath は次の通り: '/etc/passwd' */ ?> 参考 realpath() - 正規化された絶対パス名を返す ssh2_sftp_symlink() - シン ... ーゲットを返す 関連キーワード: sftp ssh パス realpath 実際 解決 filename connection readlink string false password username passwd リンク Search rename function resource リモート ...
https://man.mtool.work/php/8.3/function.ssh2-sftp-realpath.html
指定されたパス文字列の実際のパスを解決する 8183
« ssh2_sftp_readlink ssh2_sftp_rename » PHP Manual SSH2 関数 指定されたパス文字列の実際のパスを解決する 検索 ssh2_sftp_realpath (PECL ssh2 >= 0.9.0) ssh2_sftp_realpath — 指定されたパス文字列の実際のパスを解決する 説明 function ssh2_sftp_rea ... ' ); $sftp = ssh2_sftp ( $connection ); $realpath = ssh2_sftp_realpath ( $sftp , '/home/username/../../../..//./usr/../etc/passwd' ); /* $realpath は次の通り: '/etc/passwd' */ ?> 参考 realpath() - 正規化された絶対パス名を返す ssh2_sftp_symlink() - シン ... シンボリックリンクのターゲットを返す 関連キーワード: sftp realpath 実際 解決 filename connection readlink password username passwd rename resource リモート ファイルシステム オープン リソース connect shell example auth home 参考 正規化 絶対パス symlink ...
https://man.mtool.work/php/8.3/function.ssh2-sftp-realpath.html
指定した名前のユーザーに関する情報を返す 8088
« posix_getppid posix_getpwuid » PHP Manual POSIX 関数 指定した名前のユーザーに関する情報を返す 検索 posix_getpwnam (PHP 4, PHP 5, PHP 7, PHP 8) posix_getpwnam — 指定した名前のユーザーに関する情報を返す 説明 function posix_getpwnam ( string ... ります。 この値はこの関数をコールした際に使用したパラメータ username と同じとする必要があり、 このため冗長な定義となります。 passwd 要素passwd には暗号化されたユーザーのパスワードが含まれます。 シャドウパスワードを使用しているシステムでは、アスタリスクが ... posix_getpwnam ( "tom" ); print_r ( $userinfo ); ?> 上の例の出力は、 たとえば以下のようになります。 Array ( [name] => tom [passwd] => x [uid] => 10000 [gid] => 42 [gecos] => "tom,,," [dir] => "/home/tom" [shell] => "/bin/bash" ) 参考 posix_getpwuid() - ... 指定 ID のユーザーに関する情報を返す POSIX man ページ GETPWNAM(3) 関連キーワード: 要素 getpwnam tom username 配列 name passwd グループ フィールド shell getpwuid false パラメータ ユーザー名 場合 実際 パスワード uid gid gecos ...
https://man.mtool.work/php/8.3/function.posix-getpwnam.html
指定 ID のユーザーに関する情報を返す 8088
« posix_getpwnam posix_getrlimit » PHP Manual POSIX 関数 指定 ID のユーザーに関する情報を返す 検索 posix_getpwuid (PHP 4, PHP 5, PHP 7, PHP 8) posix_getpwuid — 指定 ID のユーザーに関する情報を返す 説明 function posix_getpwuid ( int $user_id ... 要素 name はユーザー名を有しています。これは、通常、 実際の完全な名前ではなく16文字未満のユーザーの"ハンドル名"となります。 passwd 要素passwd には暗号化されたユーザーのパスワードが含まれます。 シャドウパスワードを使用しているシステムでは、アスタリスクが ... posix_getpwuid ( 10000 ); print_r ( $userinfo ); ?> 上の例の出力は、 たとえば以下のようになります。 Array ( [name] => tom [passwd] => x [uid] => 10000 [gid] => 42 [gecos] => "tom,,," [dir] => "/home/tom" [shell] => "/bin/bash" ) 参考 posix_getpwnam() - ... 指定した名前のユーザーに関する情報を返す POSIX man ページ GETPWNAM(3) 関連キーワード: 要素 getpwuid user id 配列 name passwd グループ フィールド shell tom getpwnam false パラメータ 実際 パスワード uid gid gecos フルネーム ...
https://man.mtool.work/php/8.3/function.posix-getpwuid.html
指定した名前のユーザーに関する情報を返す 8088
« posix_getppid posix_getpwuid » PHP Manual POSIX 関数 指定した名前のユーザーに関する情報を返す 検索 posix_getpwnam (PHP 4, PHP 5, PHP 7, PHP 8) posix_getpwnam — 指定した名前のユーザーに関する情報を返す 説明 function posix_getpwnam ( string ... ります。 この値はこの関数をコールした際に使用したパラメータ username と同じとする必要があり、 このため冗長な定義となります。 passwd 要素passwd には暗号化されたユーザーのパスワードが含まれます。 シャドウパスワードを使用しているシステムでは、アスタリスクが ... posix_getpwnam ( "tom" ); print_r ( $userinfo ); ?> 上の例の出力は、 たとえば以下のようになります。 Array ( [name] => tom [passwd] => x [uid] => 10000 [gid] => 42 [gecos] => "tom,,," [dir] => "/home/tom" [shell] => "/bin/bash" ) 参考 posix_getpwuid() - ... 指定 ID のユーザーに関する情報を返す POSIX man ページ GETPWNAM(3) 関連キーワード: getpwnam username passwd グループ shell getpwuid ユーザー名 実際 パスワード gecos フルネーム 電話番号 絶対パス userinfo getppid 英数字 成功 通常 未 ...
https://man.mtool.work/php/8.3/function.posix-getpwnam.html
指定 ID のユーザーに関する情報を返す 8088
« posix_getpwnam posix_getrlimit » PHP Manual POSIX 関数 指定 ID のユーザーに関する情報を返す 検索 posix_getpwuid (PHP 4, PHP 5, PHP 7, PHP 8) posix_getpwuid — 指定 ID のユーザーに関する情報を返す 説明 function posix_getpwuid ( int $user_id ... 要素 name はユーザー名を有しています。これは、通常、 実際の完全な名前ではなく16文字未満のユーザーの"ハンドル名"となります。 passwd 要素passwd には暗号化されたユーザーのパスワードが含まれます。 シャドウパスワードを使用しているシステムでは、アスタリスクが ... posix_getpwuid ( 10000 ); print_r ( $userinfo ); ?> 上の例の出力は、 たとえば以下のようになります。 Array ( [name] => tom [passwd] => x [uid] => 10000 [gid] => 42 [gecos] => "tom,,," [dir] => "/home/tom" [shell] => "/bin/bash" ) 参考 posix_getpwnam() - ... 指定した名前のユーザーに関する情報を返す POSIX man ページ GETPWNAM(3) 関連キーワード: getpwuid user passwd グループ shell getpwnam 実際 パスワード gecos フルネーム 電話番号 絶対パス userinfo getrlimit 連想 ユーザー名 通常 未満 ハ ...
https://man.mtool.work/php/8.3/function.posix-getpwuid.html
PREV 1 2 3 4 5 6 7 8 9 NEXT