- ïŒ.åºæ
- ïŒ.ã€ã³ã¹ããŒã«æ¹æ³
- ïŒ.䜿çšæ¹æ³
- ïŒ.PHPMUSSELã®æ¡åŒµ
- ïŒ.ã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ïŒèšå®ãªãã·ã§ã³ïŒ
- ïŒ.ã·ã°ããã£ïŒçœ²åïŒãã©ãŒããã
- ïŒ.é©åæ§åé¡
- ïŒïŒ.ãããã質åïŒïŒŠïŒ¡ïŒ±ïŒ
- ïŒïŒ.æ³åŸæ å ±
翻蚳ã«ã€ããŠã®æ³šæïŒãšã©ãŒãçºçããå ŽåïŒäŸãã°ãâ翻蚳ã®éã®äžäžèŽãâã¿ã€ããã¹ãâççïŒãâREADMEã®è±èªçãåæ¬ãšæš©åšã®ããŒãžã§ã³ã§ãããšèããããŸããâ誀ããèŠã€ããå Žåã¯ãâããããä¿®æ£ããã«ãååãæè¿ãããã ãããâ
phpMusselïŒããŒã»ãšã€ãã»ããŒã»ããã¹ã«ïŒããå©çšé ããâããããšãããããŸããâphpMusselã¯ãâClamAV ãã¯ãããšããã·ã°ããã£ãå©çšããŠãâã·ã¹ãã ã«ã¢ããããŒãããããã¡ã€ã«ã察象ããŠãâããã€åã®ãŠã£ã«ã¹ããã«ãŠã§ã¢çãæ€åºãããããã¶ã€ã³ãããPHPã¹ã¯ãªããã§ãã
PHPMUSSELèäœæš©ïŒïŒïŒïŒãšïŒ§ïŒ®ïŒµäžè¬å ¬è¡ã©ã€ã»ã³ã¹v2ãè¶ ããæš©å©ã«ã€ããŠïŒâCaleb M (Maikuolan)èã
æ¬ã¹ã¯ãªããã¯ããªãŒãŠã§ã¢ã§ããâããªãŒãœãããŠã§ã¢è²¡å£çºè¡ã®ïŒ§ïŒ®ïŒµäžè¬å ¬è¡ã©ã€ã»ã³ã¹ã»ããŒãžã§ã³ïŒïŒãŸãã¯ãã以éã®ããŒãžã§ã³ïŒã«åŸããâåé åžãªãã³ã«å å·¥ãå¯èœã§ããâé åžã®ç®çã¯ãâ圹ã«ç«ã€ããšãé¡ã£ãŠã®ãã®ã§ãããâãä¿èšŒã¯ãªããâãŸãååæ§ãç¹å®ã®ç®çã«é©åããã®ã瀺åãããã®ã§ããããŸããããâãLICENSE.txtãã«ãããGNU General Public LicenseãïŒäžè¬ã©ã€ã»ã³ã¹ïŒãåç §ããŠäžãããâ以äžã®URLãããé²èŠ§ã§ããŸãïŒ
äœæã®ã€ã³ã¹ãã¬ãŒã·ã§ã³ãšæ¬ã¹ã¯ãªãããå©çšããã·ã°ããã£ã«ã€ããŠClamAVã«æè¬ã®æãè¡šããããšæããŸããâãã®ïŒã€ããªããã°ãâæ¬ã¹ã¯ãªããã¯ååšãããªãããâãããã¯æ¥µããŠéãããå©çšäŸ¡å€ãããããªããšèšã£ãŠããã§ãããã
æ¬ãããžã§ã¯ããã¡ã€ã«ã®ãã¹ãå ã§ããGitHubãšBitbucketãâphpMusselãå©çšããã·ã°ããã£ã®æäŸå ã§ããïŒâPhishTankãâNLNetLabsãâMalware.Expert ä»ãâæ¬ãããžã§ã¯ããæ¯æŽããŠäžãã£ãå šãŠã®æ¹ã ã«æè¬ã®æãè¡šããããšæããŸãã
phpMussel v3ãã€ã³ã¹ããŒã«ããã«ã¯ãComposerã䜿çšããããšããå§ãããŸãã
䟿å®äžãå€ãã¡ã€ã³ã®phpMusselãªããžããªãä»ããŠãæãäžè¬çã«å¿ èŠãšãããphpMusseläŸåé¢ä¿ãã€ã³ã¹ããŒã«ã§ããŸãã
composer require phpmussel/phpmussel
ãŸãã¯ãå®è£ æã«å¿ èŠãªäŸåé¢ä¿ãåå¥ã«éžæããããšãã§ããŸããâç¹å®ã®äŸåé¢ä¿ã®ã¿ãå¿ èŠãšãããã¹ãŠãå¿ èŠãšããªãå¯èœæ§ã¯ååã«ãããŸãã
phpMusselã§äœããè¡ãã«ã¯ãphpMusselã³ã¢ã»ã³ãŒãããŒã¹ãå¿ èŠã§ãïŒ
composer require phpmussel/core
phpMusselã®ããã³ããšã³ã管çæ©èœãæäŸããŸãïŒ
composer require phpmussel/frontend
ãŠã§ããµã€ãã®èªåãã¡ã€ã«ã»ã¢ããããŒãã»ã¹ãã£ã³ãæäŸããŸãïŒ
composer require phpmussel/web
phpMusselãã€ã³ã¿ã©ã¯ãã£ããªïŒ£ïŒ¬ïŒ©ã¢ãŒãã»ã¢ããªã±ãŒã·ã§ã³ãšããŠå©çšããæ©èœãæäŸããŸãïŒ
composer require phpmussel/cli
phpMusselãšPHPMailerã®éã®ããªããžãæäŸã«ãphpMusselãPHPMailerã䜿çšããŠäºèŠçŽ èªèšŒããããã¯ããããã¡ã€ã«ã»ã¢ããããŒãã«é¢ããã¡ãŒã«éç¥ãè¡ããããã«ããŸãããªã©ïŒ
composer require phpmussel/phpmailer
phpMusselãäœããæ€åºã§ããããã«ããã«ã¯ãã·ã°ããã£ãã€ã³ã¹ããŒã«ããå¿ èŠããããŸããâãã®ããã®ç¹å®ã®ããã±ãŒãžã¯ãããŸãããâã·ã°ããã£ãã€ã³ã¹ããŒã«ããã«ã¯ããã®ããã¥ã¡ã³ãã®æ¬¡ã®ã»ã¯ã·ã§ã³ãåç §ããŠãã ããã
ãããã¯ãComposerã䜿çšããããªãå Žåã¯ãããããããã±ãŒãžæžã¿ã®ïŒºïŒ©ïŒ°ãããŠã³ããŒãã§ããŸãã
https://github.com/phpMussel/Examples
ãããããããã±ãŒãžåãããã«ã¯ãåè¿°ã®äŸåé¢ä¿ã®ãã¹ãŠãšãæšæºã®phpMusselã·ã°ããã£ã»ãã¡ã€ã«ããã¹ãŠå«ãŸããŠããŸããâãŸããå®è£ ã§phpMusselã䜿çšããæ¹æ³ã®äŸãããã€ãå«ãŸããŠããŸãã
ç¹å®ã®è åšãæ€åºããããã«ã¯ãphpMusselã«ãã£ãŠã·ã°ããã£ãå¿ èŠã§ããâã·ã°ããã£ãã€ã³ã¹ããŒã«ããäž»ãªæ¹æ³ã¯ïŒã€ãããŸãã
- ãSigToolãã䜿çšããŠã·ã°ããã£ãçæããæåã§ã€ã³ã¹ããŒã«ããŸãã
- ãphpMussel/SignaturesããŸãã¯ãphpMussel/Examplesãããã·ã°ããã£ãããŠã³ããŒãããæåã§ã€ã³ã¹ããŒã«ããŸãã
2.1.0 ãSigToolãã䜿çšããŠã·ã°ããã£ãçæããæåã§ã€ã³ã¹ããŒã«ããŸãã
åç §ïŒSigToolããã¥ã¡ã³ããŒã·ã§ã³ã
ãŸã泚æããŠãã ããïŒSigToolã¯ãClamAVããã®ã·ã°ããã£ã®ã¿ãåŠçããŸããâphpMusselã®ãã¹ããµã³ãã«ã®æ€åºã«å¿ èŠãªã·ã°ããã£ãphpMusselçšã«ç¹å¥ã«èšè¿°ãããããªã©ãå«ãä»ã®ãœãŒã¹ããã·ã°ããã£ãååŸããã«ã¯ããã®ã¡ãœããã«ãããã§èª¬æããä»ã®ã¡ãœããã®ãããããè¿œå ããå¿ èŠããããŸãã
2.1.1 ãphpMussel/SignaturesããŸãã¯ãphpMussel/Examplesãããã·ã°ããã£ãããŠã³ããŒãããæåã§ã€ã³ã¹ããŒã«ããŸãã
ãŸããphpMussel/Signaturesã«è¡ããâãªããžããªã«ã¯ãâããŸããŸãªïŒ§ïŒºå§çž®ã·ã°ããã£ã»ãã¡ã€ã«ãå«ãŸããŠããŸããâããããã€ã³ã¹ããŒã«ããã«ã¯ãâå¿ èŠãªãã¡ã€ã«ãããŠã³ããŒãããŠè§£åããâããããã€ã³ã¹ããŒã«ã®ã·ã°ããã£ã»ãã£ã¬ã¯ããªã«ã³ããŒããŸãã
ãããã¯ãphpMussel/Examplesããææ°ã®ïŒºïŒ©ïŒ°ãããŠã³ããŒãããŸããâ次ã«ããã®ã¢ãŒã«ã€ãããã€ã³ã¹ããŒã«ã«ã·ã°ããã£ãã³ããŒãšããŒã¹ãããšãã§ããŸãã
phpMusselãã€ã³ã¹ããŒã«ããããèšå®ã§ããããã«ã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ã»ãã¡ã€ã«ãå¿
èŠã§ããâphpMusselã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ã»ãã¡ã€ã«ã¯ããã¡ã€ã«ãŸãã¯ïŒ¹ïŒïŒ¬ãã¡ã€ã«ãšããŠãã©ãŒãããã§ããŸããâãµã³ãã«ïŒºïŒ©ïŒ°ããäœæ¥ããŠããå Žåã¯ããã§ã«äºã€ã®ãµã³ãã«ã®ã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ã»ãã¡ã€ã«ã䜿çšã§ããŸãïŒphpmussel.ini
ãšphpmussel.yml
ïŒãâå¿
èŠã«å¿ããŠããããããéžæã§ããŸããâãµã³ãã«ïŒºïŒ©ïŒ°ã䜿çšããŠããªãå Žåã¯ãæ°ãããã¡ã€ã«ãäœæããå¿
èŠããããŸãã
phpMusselã®ããã©ã«ãã»ã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ã«æºè¶³ããŠããŠãäœãå€æŽããããªãå Žåã¯ãã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ã»ãã¡ã€ã«ãšããŠç©ºã®ãã¡ã€ã«ã䜿çšã§ããŸããâå€æŽãããã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ã®å€ãèšå®ããã ãã§ããâãã以å€ã¯ãã¹ãŠããã©ã«ãã䜿çšããŸãã
phpMusselããã³ããšã³ãã䜿çšããå Žåã¯ãããã³ããšã³ãã»ã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ã»ããŒãžãããã¹ãŠãèšå®ã§ããŸããâãã ããv3以éãããã³ããšã³ãã®ãã°ã€ã³æ å ±ã¯ã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ã»ãã¡ã€ã«ã«ä¿åãããŸããâãã®ãããããã³ããšã³ãã«ãã°ã€ã³ããã«ã¯ãã¢ã«ãŠã³ããèšå®ããå¿ èŠããããŸããâ次ã«ãããã䜿çšããŠãã°ã€ã³ãããã®ä»ãã¹ãŠãèšå®ã§ããŸãã
以äžã®æç²ã§ã¯ããŠãŒã¶ãŒåãadminããšãã¹ã¯ãŒããpasswordãã䜿çšããŠãããã³ããšã³ãã«æ°ããã¢ã«ãŠã³ããè¿œå ããŸãã
ãã¡ã€ã«ã®å ŽåïŒ
[user.admin]
password='$2y$10$FPF5Im9MELEvF5AYuuRMSO.QKoYVpsiu1YU9aDClgrU57XtLof/dK'
permissions='1'
ïŒïŒ¬ãã¡ã€ã«ã®å ŽåïŒ
user.admin:
password: "$2y$10$FPF5Im9MELEvF5AYuuRMSO.QKoYVpsiu1YU9aDClgrU57XtLof/dK"
permissions: 1
ã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ã«ã¯ä»»æã®ååãä»ããããšãã§ããŸãïŒæ¡åŒµåãç¶æããéããphpMusselã¯ã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ã»ãã¡ã€ã«ã䜿çšãããã©ãŒããããèªèã§ããããã«ããããïŒãâã©ãã«ã§ãä¿åã§ããŸããâããŒããŒãã€ã³ã¹ã¿ã³ã¹åãããšãã«ãã¹ãæå®ããããšã«ãããphpMusselã«ã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ã»ãã¡ã€ã«ã®å ŽæãäŒããããšãã§ããŸããâãã¹ãæå®ãããŠããªãå ŽåãphpMusselã¯ãvendorããã£ã¬ã¯ããªã®èŠªã®äžã§ãã¹ãèŠã€ããããšããŸãã
Apacheãªã©ã®ç°å¢ã§ã¯ãã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ã®åã«ããããé 眮ããŠãããé衚瀺ã«ãããããªãã¯ã»ã¢ã¯ã»ã¹ãçŠæ¢ããããšãã§ããŸãã
phpMusselã§äœ¿çšã§ããããŸããŸãªã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ã»ãã£ã¬ã¯ãã£ãã®è©³çŽ°ã«ã€ããŠã¯ããã®ããã¥ã¡ã³ãã®ã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ã»ã»ã¯ã·ã§ã³ãåç §ããŠãã ããã
phpMusselã®äœ¿çšæ¹æ³ã«é¢ä¿ãªããã»ãšãã©ãã¹ãŠã®å®è£ ã«ã¯ãå°ãªããšã次ã®ãããªãã®ãå«ãŸããŸãïŒ
<?php
$Loader = new \phpMussel\Core\Loader();
$Scanner = new \phpMussel\Core\Scanner($Loader);
ããŒããŒãLoaderãã¯ãphpMusselã䜿çšããããã®åºæ¬çãªå¿ èŠæ§ã®æºåãæ åœããŸããâã¹ãã£ããŒãScannerãã¯ããã¹ãŠã®äžæ žçãªã¹ãã£ã³æ©èœãæ åœããŸãã
ããŒããŒã®ã³ã³ã¹ãã©ã¯ã¿ãŒã¯äºã€ã®ãã©ã¡ãŒã¿ãŒãåãå ¥ããŸãïŒãã¹ãŠãªãã·ã§ã³ã§ãïŒã
public function __construct(
string $ConfigurationPath = '',
string $CachePath = '',
string $QuarantinePath = '',
string $SignaturesPath = '',
string $VendorPath = ''
)
ãã©ã¡ãŒã¿ïŒã¯ãã³ã³ãã£ã°ã¬ãŒã·ã§ã³ã»ãã¡ã€ã«ãžã®å®å šãªãã¹ã§ããâçç¥ããå ŽåãphpMusselã¯ãvendorããã£ã¬ã¯ããªã®èŠªã®äžãphpmussel.iniããŸãã¯ãphpmussel.ymlããšããååã®ã³ã³ãã£ã°ã¬ãŒã·ã§ã³ã»ãã¡ã€ã«ãæ¢ããŸãã
ãã©ã¡ãŒã¿ïŒã¯ãphpMusselããã£ãã·ã¥ãšäžæãã¡ã€ã«ã®ä¿åã«äœ¿çšããããšãèš±å¯ãããã£ã¬ã¯ããªãžã®ãã¹ã§ããâçç¥ããå ŽåãphpMusselã¯ãvendorããã£ã¬ã¯ããªã®èŠªã®äžãphpmussel-cacheããšããååã®ã䜿çšããæ°ãããã£ã¬ã¯ããªãäœæããããšããŸããâãã®ãã¹ãèªåã§æå®ããå Žåã¯ã空ãã£ã¬ã¯ããªãéžæããããšããå§ãããŸãïŒæå®ãããã£ã¬ã¯ããªã«ããä»ã®ããŒã¿ãäžèŠã«å€±ãããã®ãé²ãããã§ãïŒã
ãã©ã¡ãŒã¿ïŒã¯ãphpMusselãæ€ç«ã«äœ¿çšããããšãèš±å¯ãããã£ã¬ã¯ããªãžã®ãã¹ã§ããâçç¥ããå ŽåãphpMusselã¯ãvendorããã£ã¬ã¯ããªã®èŠªã®äžãphpmussel-quarantineããšããååã®ã䜿çšããæ°ãããã£ã¬ã¯ããªãäœæããããšããŸããâãã®ãã¹ãèªåã§æå®ããå Žåã¯ã空ãã£ã¬ã¯ããªãéžæããããšããå§ãããŸãïŒæå®ãããã£ã¬ã¯ããªã«ããä»ã®ããŒã¿ãäžèŠã«å€±ãããã®ãé²ãããã§ãïŒãâæ€ç«ã«äœ¿çšãããã£ã¬ã¯ããªãžã®ãããªãã¯ã¢ã¯ã»ã¹ãçŠæ¢ããããšã匷ããå§ãããŸãã
ãã©ã¡ãŒã¿ïŒã¯ãphpMusselã·ã°ããã£ã»ãã¡ã€ã«ãå«ããã£ã¬ã¯ããªãžã®ãã¹ã§ããâçç¥ããå ŽåãphpMusselã¯ãvendorããã£ã¬ã¯ããªã®èŠªã®äžãphpmussel-signaturesããšããååã®ãã£ã¬ã¯ããªã§ã·ã°ããã£ã»ãã¡ã€ã«ãæ¢ããŸãã
ãã©ã¡ãŒã¿ïŒã¯ããvendorããã£ã¬ã¯ããªãžã®ãã¹ã§ããâããã¯ä»ã®ãã®ãæãã¹ãã§ã¯ãããŸãããâçç¥ããå ŽåãphpMusselã¯ãã®ãã£ã¬ã¯ããªãèªåçã«èŠã€ããããšããŸããâãã®ãã©ã¡ãŒã¿ãŒã¯ãéåžžã®Composerãããžã§ã¯ããšå¿ ãããåãæ§é ã§ã¯ãªãå¯èœæ§ãããå®è£ ãšã®çµ±åã容æã«ããããã«æäŸãããŠããŸãã
ã¹ãã£ããŒã®ã³ã³ã¹ãã©ã¯ã¿ãŒã¯ïŒã€ã®ãã©ã¡ãŒã¿ãŒã®ã¿ãåãå ¥ããŸãïŒãããå¿ é ã§ãïŒïŒã€ã³ã¹ã¿ã³ã¹åãããããŒããŒãªããžã§ã¯ããâåç §æž¡ãããããããããŒããŒã¯å€æ°ã«ã€ã³ã¹ã¿ã³ã¹åããå¿ èŠããããŸãïŒããŒããŒãã¹ãã£ããŒã®ãã©ã¡ãŒã¿ãŒã«çŽæ¥ã€ã³ã¹ã¿ã³ã¹åããããšã¯ãphpMusselã䜿çšããæ£ããæ¹æ³ã§ã¯ãããŸããïŒã
public function __construct(\phpMussel\Core\Loader &$Loader)
ã¢ããããŒãã»ãã³ãã©ãã€ã³ã¹ã¿ã³ã¹åããã«ã¯ïŒ
$Web = new \phpMussel\Web\Web($Loader, $Scanner);
ãã¡ã€ã«ã®ã¢ããããŒããã¹ãã£ã³ããã«ã¯ïŒ
$Web->scan();
å¿ èŠã«å¿ããŠãphpMusselã¯ãªãã·ã§ã³ã§ãäœãåé¡ãçºçããå Žåã«ã¢ããããŒãã®ååã修埩ããããšãã§ããŸãïŒ
$Web->demojibakefier();
å®å šãªäŸãšããŠïŒ
<?php
// Path to vendor directory.
$Vendor = __DIR__ . DIRECTORY_SEPARATOR . 'vendor';
// Composer's autoloader.
require $Vendor . DIRECTORY_SEPARATOR . 'autoload.php';
$Loader = new \phpMussel\Core\Loader();
$Scanner = new \phpMussel\Core\Scanner($Loader);
$Web = new \phpMussel\Web\Web($Loader, $Scanner);
$Loader->Events->addHandler('sendMail', new \phpMussel\PHPMailer\Linker($Loader));
// Scans file uploads (execution terminates here if the scan finds anything).
$Web->scan();
// Fixes possible corrupted file upload names (Warning: modifies the content of $_FILES).
$Web->demojibakefier();
// Cleanup.
unset($Web, $Scanner, $Loader);
?><html>
<form enctype="multipart/form-data" name="upload" action="" method="post">
<div class="spanner">
<input type="file" name="upload_test[]" value="" />
<input type="submit" value="OK" />
</div>
</form>
</html>
ãã¡ã€ã«ascii_standard_testfile.txt
ãã¢ããããŒãããããšããŠããŸãïŒããã¯ãphpMusselã®ãã¹ãã®ã¿ãç®çãšããŠæäŸãããŠããç¡å®³ãªãµã³ãã«ã§ãïŒïŒ
ãã³ãã©ãŒãã€ã³ã¹ã¿ã³ã¹åããã«ã¯ïŒ
$CLI = new \phpMussel\CLI\CLI($Loader, $Scanner);
å®å šãªäŸãšããŠïŒ
<?php
// Path to vendor directory.
$Vendor = __DIR__ . DIRECTORY_SEPARATOR . 'vendor';
// Composer's autoloader.
require $Vendor . DIRECTORY_SEPARATOR . 'autoload.php';
$Loader = new \phpMussel\Core\Loader();
$Scanner = new \phpMussel\Core\Scanner($Loader);
$CLI = new \phpMussel\CLI\CLI($Loader, $Scanner);
unset($CLI, $Scanner, $Loader);
ã¹ã¯ãªãŒã³ã·ã§ããïŒ
ããã³ããšã³ããã€ã³ã¹ã¿ã³ã¹åããã«ã¯ïŒ
$FrontEnd = new \phpMussel\FrontEnd\FrontEnd($Loader, $Scanner);
å®å šãªäŸãšããŠïŒ
<?php
// Path to vendor directory.
$Vendor = __DIR__ . DIRECTORY_SEPARATOR . 'vendor';
// Composer's autoloader.
require $Vendor . DIRECTORY_SEPARATOR . 'autoload.php';
$Loader = new \phpMussel\Core\Loader();
$Scanner = new \phpMussel\Core\Scanner($Loader);
$FrontEnd = new \phpMussel\FrontEnd\FrontEnd($Loader, $Scanner);
$Web = new \phpMussel\Web\Web($Loader, $Scanner);
$Loader->Events->addHandler('sendMail', new \phpMussel\PHPMailer\Linker($Loader));
// Scans file uploads (execution terminates here if the scan finds anything).
$Web->scan();
// Fixes possible corrupted file upload names (Warning: modifies the content of $_FILES).
$Web->demojibakefier();
// Load the front-end.
$FrontEnd->view();
// Cleanup.
unset($Web, $FrontEnd, $Scanner, $Loader);
ã¹ã¯ãªãŒã³ã·ã§ããïŒ
å¿ èŠã«å¿ããŠãä»ã®ããã°ã©ã ãã¹ã¯ãªããå ã«phpMusselã¹ãã£ããŒïŒ¡ïŒ°ïŒ©ãå®è£ ããããšãã§ããŸãã
å®å šãªäŸãšããŠïŒ
// Path to vendor directory.
$Vendor = __DIR__ . DIRECTORY_SEPARATOR . 'vendor';
// Composer's autoloader.
require $Vendor . DIRECTORY_SEPARATOR . 'autoload.php';
// Location of the test files.
$Samples = sprintf($Vendor . '%1$sphpmussel%1$score%1$stests%1$s_support%1$ssamples', DIRECTORY_SEPARATOR);
$Loader = new \phpMussel\Core\Loader();
$Scanner = new \phpMussel\Core\Scanner($Loader);
$Loader->Events->addHandler('sendMail', new \phpMussel\PHPMailer\Linker($Loader));
// Execute the scan.
$Results = $Scanner->scan($Samples);
// Cleanup.
unset($Scanner, $Loader);
var_dump($Results);
ãã®äŸãã泚æãã¹ãéèŠãªéšåã¯ãscan()
ã¡ãœããã§ãã scan()
ã¡ãœããã¯äºã€ã®ãã©ã¡ãŒã¿ãŒãåãå
¥ããŸãã
public function scan(mixed $Files, int $Format = 0): mixed
æåã®ãã©ã¡ãŒã¿ãŒã¯æååãŸãã¯é åã§ãã¹ãã£ããŒã«ã¹ãã£ã³å¯Ÿè±¡ãæ瀺ããŸããâç¹å®ã®ãã¡ã€ã«ãŸãã¯ãã£ã¬ã¯ããªã瀺ãæååããŸãã¯è€æ°ã®ãã¡ã€ã«/ãã£ã¬ã¯ããªãæå®ããããã®ãã®ãããªæååã®é åã§ãã
æååã®å Žåã¯ãããŒã¿ãèŠã€ããå Žæãæãå¿ èŠããããŸããâé åã®å Žåãé åããŒã¯ã¹ãã£ã³ããã¢ã€ãã ã®å ã®ååã瀺ããå€ã¯ããŒã¿ãèŠã€ããå Žæãæãå¿ èŠããããŸãã
äºçªç®ã®ãã©ã¡ãŒã¿ãŒã¯æŽæ°ã§ãã¹ãã£ããŒã«ã¹ãã£ã³çµæãè¿ãæ¹æ³ãæ瀺ããŸãã
æŽæ°ãšããŠã¹ãã£ã³ãããåã¢ã€ãã ã®ã¹ãã£ã³çµæãé åãšããŠè¿ãã«ã¯ãã1ããæå®ããŸãã
ãããã®æŽæ°ã«ã¯æ¬¡ã®æå³ããããŸãã
çµæ | 説æ |
---|---|
-5 | ä»ã®çç±ã§ã¹ãã£ã³ãå®äºããŸããã§ããã |
-4 | æå·åã®ãããããŒã¿ãã¹ãã£ã³ã§ããŸããã§ããã |
-3 | phpMusselã·ã°ããã£ã»ãã¡ã€ã«ã§åé¡ãçºçããããšã瀺ããŸãã |
â-2 | ã¹ãã£ã³äžã«ç ŽæããŒã¿ãæ€åºããããã¹ãã£ã³å€±æã |
-1 | ãã¹ãã£ã³ã«å¿ èŠãªæ¡åŒµåãããã¯ã¢ããªã³ããªãããã«ã¹ãã£ã³å€±æã |
0 | ã¹ãã£ã³ã®å¯Ÿè±¡ãååšããªãããšã |
â1 | 察象ã®ã¹ãã£ã³ãå®äºããã€åé¡ããªãããšã |
â2 | 察象ã®ã¹ãã£ã³ãå®äºããã€åé¡ãæ€åºããããšãæå³ããŸãã |
ã¹ãã£ã³çµæãããŒã«å€ãšããŠè¿ãã«ã¯ãã2ããæå®ããŸãã
çµæ | 説æ |
---|---|
true |
åé¡ãæ€åºãããŸããïŒã¹ãã£ã³ã»ã¿ãŒã²ãããäžè¯/å±éºã§ãïŒã |
false |
åé¡ã¯æ€åºãããŸããã§ããïŒã¹ãã£ã³ã»ã¿ãŒã²ããã¯ããããåé¡ãããŸããïŒã |
人éãèªããããã¹ããšããŠã¹ãã£ã³ãããåã¢ã€ãã ã®ã¹ãã£ã³çµæãé åãšããŠè¿ãã«ã¯ãã3ããæå®ããŸãã
åºåäŸïŒ
array(3) {
["dcacac499064454218823fbabff7e09b5b011c0c877ee6f215f35bffb195b6e9:654:ascii_standard_testfile.txt"]=>
string(73) "Detected phpMussel-Testfile.ASCII.Standard (ascii_standard_testfile.txt)!"
["c845b950f38399ae7fe4b3107cab5b46ac7c3e184dddfec97d4d164c00cb584a:491:coex_testfile.rtf"]=>
string(53) "Detected phpMussel-Testfile.CoEx (coex_testfile.rtf)!"
["d45d5d9df433aefeacaece6162b835e6474d6fcb707d24971322ec429707c58f:185:encrypted.zip"]=>
string(77) "Detected encrypted archive; Encrypted archives not permitted (encrypted.zip)!"
}
ã¹ãã£ã³çµæã人éãèªããããã¹ãã®æååãšããŠè¿ãã«ã¯ãã4ããæå®ããŸãïŒããã¯ã3ãã«äŒŒãŠããŸãããå ç ŽãããŠããŸãïŒã
åºåäŸïŒ
Detected phpMussel-Testfile.ASCII.Standard (ascii_standard_testfile.txt)! Detected phpMussel-Testfile.CoEx (coex_testfile.rtf)! Detected encrypted archive; Encrypted archives not permitted (encrypted.zip)!
æžåŒä»ãããã¹ããšããŠè¿ãã«ã¯ãä»ã®å€ãæå®ããŸãïŒi.e., the scan results seen when using CLIïŒã
åºåäŸïŒ
ãŸãèŠãŠãã ããïŒ ãã¡ã€ã«ã®ã¹ãã£ã³æã«ç¹å®ã®è©³çŽ°æ å ±ã«ã¢ã¯ã»ã¹ããã«ã¯ã©ãããã°ããã§ããïŒ
ïŒïŒŠïŒ¡ãäºèŠçŽ èªèšŒããæå¹ã«ããããšã§ãããã³ããšã³ããããå®å šã«ããããšãã§ããŸããâïŒïŒŠïŒ¡ã䜿çšããã¢ã«ãŠã³ãã«ãã°ã€ã³ãããšããã®ã¢ã«ãŠã³ãã«é¢é£ä»ããããé»åã¡ãŒã«ã»ã¢ãã¬ã¹ã«é»åã¡ãŒã«ãéä¿¡ãããŸããâãã®ïŒ¥ã¡ãŒã«ã«ã¯ãïŒïŒŠïŒ¡ã³ãŒãããå«ãŸããŠããŸããâãã®ã¢ã«ãŠã³ãã䜿çšããŠãã°ã€ã³ã§ããããã«ããŠãŒã¶ãŒã¯ãã®ïŒïŒŠïŒ¡ã³ãŒããšãŠãŒã¶ãŒåãšãã¹ã¯ãŒããå ¥åããå¿ èŠããããŸããâã€ãŸããã¢ã«ãŠã³ãã®ãã¹ã¯ãŒãã§ã¯ãããã«ãŒãæœåšçãªæ»æè ããã®ã¢ã«ãŠã³ãã«ãã°ã€ã³ããã®ã«ååã§ã¯ãããŸãããâã»ãã·ã§ã³ã«é¢é£ä»ããããïŒïŒŠïŒ¡ã³ãŒããåä¿¡ããŠå©çšããã«ã¯ããã®ã¢ã«ãŠã³ãã«é¢é£ä»ããããé»åã¡ãŒã«ã¢ãã¬ã¹ã«ã¢ã¯ã»ã¹ããå¿ èŠããããŸãã
PHPMailerãã€ã³ã¹ããŒã«ããããphpMusselã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ã»ããŒãžãŸãã¯ã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ã»ãã¡ã€ã«ã䜿çšããŠãPHPMailerã®ã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ã»ãã£ã¬ã¯ãã£ããèšå®ããå¿
èŠããããŸããâãããã®ã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ã»ãã£ã¬ã¯ãã£ãã®è©³çŽ°ã«ã€ããŠã¯ããã®ããã¥ã¡ã³ãã®ã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ã»ã»ã¯ã·ã§ã³ã«èšèŒãããŠããŸããâPHPMailerã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ã»ãã£ã¬ã¯ãã£ããèšå®ããããenable_two_factor
ãtrue
ã«èšå®ããŸããâïŒïŒŠïŒ¡ãæå¹ã«ãããŠããã
次ã«ãphpMusselããã®ã¢ã«ãŠã³ãã§ãã°ã€ã³ããéã«ïŒïŒŠïŒ¡ã³ãŒããéä¿¡ããå Žæãç¥ãããã«ãé»åã¡ãŒã«ã»ã¢ãã¬ã¹ãã¢ã«ãŠã³ãã«é¢é£ä»ããå¿
èŠããããŸããâãããè¡ãã«ã¯ãé»åã¡ãŒã«ã»ã¢ãã¬ã¹ãã¢ã«ãŠã³ãã®ãŠãŒã¶ãŒåãšããŠäœ¿çšããïŒäŸãã°ã[email protected]
ïŒããé»åã¡ãŒã«ã»ã¢ãã¬ã¹ãéåžžã©ããé»åã¡ãŒã«ãéä¿¡ããå Žåãšåãæ¹æ³ã§ãŠãŒã¶ãŒåã®äžéšãšããŠå«ããŸãïŒäŸãã°ãFoo Bar <[email protected]>
ïŒã
phpMusselã¯æ¡åŒµæ§ãèæ ®ããŠèšèšãããŠããŸããâphpMusselçµç¹ã®ä»»æã®ãªããžããªãžã®ãã«ã»ãªã¯ãšã¹ããããã³äžè¬çãªè²¢ç®ã¯ãã€ã§ãæè¿ããŸããâå¿ èŠã«å¿ããŠãç¬èªã®ããŒãºã«åãããŠphpMusselãå€æŽãŸãã¯æ¡åŒµããããšãã§ããŸãâïŒäŸãã°ãç¹å®ã®å®è£ ã«åºæã®ãã®ãå ¬éã§ããªããã®ããŸãã¯ç¬èªã®ãªããžããªã«é©ãããã®ãããå Žåããã©ã°ã€ã³ããŸãã¯phpMusselãå¿ èŠãšããæ°ããComposerããã±ãŒãžããªã©ïŒã
ïœïŒä»¥éããã¹ãŠã®phpMusselæ©èœã¯ã¯ã©ã¹ãšããŠååšããŸããâã€ãŸãããæäŸãããªããžã§ã¯ãç¶æ¿ã¡ã«ããºã ããphpMusselãæ¡åŒµããããã®ç°¡åã§é©åãªæ¹æ³ã§ããå ŽåããããŸãã
phpMusselã¯ãæ¡åŒµæ§ã®ããã®ç¬èªã®ã¡ã«ããºã ãæäŸããŸããâïœïŒããåã¯ãæšå¥šãããã¡ã«ããºã ã¯phpMusselã®çµ±åãã©ã°ã€ã³ã»ã·ã¹ãã ã§ãããâïœïŒä»¥éãæšå¥šãããã¡ã«ããºã ã¯ã€ãã³ãã»ãªãŒã±ã¹ãã¬ãŒã¿ãŒã§ãã
phpMusselãæ¡åŒµããæ°ãããã©ã°ã€ã³ãäœæããããã®ãã€ã©ãŒãã¬ãŒãã»ã³ãŒãã¯ããã€ã©ãŒãã¬ãŒãã»ãªããžããªã§å ¬éãããŠããŸããâãŸããçŸåšãµããŒããããŠãããã¹ãŠã®ã€ãã³ãã®ãªã¹ããšããã€ã©ãŒãã¬ãŒãã»ã³ãŒãã®äœ¿çšæ¹æ³ã«é¢ãã詳现ãªæé ãå«ãŸããŠããŸãã
ïœïŒãã€ã©ãŒãã¬ãŒãã»ã³ãŒãã®æ§é ã¯ãããŸããŸãªphpMussel v3ãªããžããªã®æ§é ãšåãã§ããâããã¯å¶ç¶ã§ã¯ãããŸãããâå¯èœãªéããæ¡åŒµæ§ã®ç®çã§ïœïŒãã€ã©ãŒãã¬ãŒãã»ã³ãŒããå©çšããphpMussel v3èªäœãšåæ§ã®èšèšååãå©çšããããšããå§ãããŸããâæ°ããæ¡åŒµæ©èœãŸãã¯ãã©ã°ã€ã³ãå ¬éããããšãéžæããå ŽåãComposerãµããŒããçµ±åã§ããŸããâããããã°ãphpMussel v3èªäœãšãŸã£ããåãæ¹æ³ã§æ¡åŒµæ©èœããã©ã°ã€ã³ãå©çšã§ããããã«ãªããŸããä»ã®ComposeräŸåé¢ä¿ãšäžç·ã«ãããå¿ èŠãšããå®è£ æã«å¿ èŠãªã€ãã³ãã»ãã³ãã©ãŒãé©çšããã ãã§ãâïŒãã¡ããããããªã±ãŒã·ã§ã³ã«æ瀺ãå«ããããšãå¿ããªãã§ãã ãããâããããããšã§ãååšããå¯èœæ§ã®ããå¿ èŠãªã€ãã³ãã»ãã³ãã©ãŒãããããªã±ãŒã·ã§ã³ã®æ£ããã€ã³ã¹ããŒã«ãšå©çšã«å¿ èŠãšãªãå¯èœæ§ã®ãããã®ä»ã®æ å ±ãä»ã®äººãç¥ãããšãã§ããŸãïŒã
以äžã¯ãphpMusselãåãå ¥ããã³ã³ãã£ã°ã¬ãŒã·ã§ã³ã»ãã£ã¬ã¯ãã£ãã®ãªã¹ãã§ãããªãã³ã«ãã®ç®çãšæ©èœã®ãªã¹ãã§ãã
ã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ (v3)
ââââcore
â scan_log [string]
â scan_log_serialized [string]
â error_log [string]
â truncate [string]
â log_rotation_limit [int]
â log_rotation_action [string]
â timezone [string]
â time_offset [int]
â time_format [string]
â ipaddr [string]
â delete_on_sight [bool]
â lang [string]
â lang_override [bool]
â scan_cache_expiry [int]
â maintenance_mode [bool]
â statistics [bool]
â hide_version [bool]
â disabled_channels [string]
â default_timeout [int]
ââââsignatures
â active [string]
â fail_silently [bool]
â fail_extensions_silently [bool]
â detect_adware [bool]
â detect_joke_hoax [bool]
â detect_pua_pup [bool]
â detect_packer_packed [bool]
â detect_shell [bool]
â detect_deface [bool]
â detect_encryption [bool]
â heuristic_threshold [int]
ââââfiles
â filesize_limit [string]
â filesize_response [bool]
â filetype_whitelist [string]
â filetype_blacklist [string]
â filetype_greylist [string]
â check_archives [bool]
â filesize_archives [bool]
â filetype_archives [bool]
â max_recursion [int]
â block_encrypted_archives [bool]
â max_files_in_archives [int]
â chameleon_from_php [bool]
â can_contain_php_file_extensions [string]
â chameleon_from_exe [bool]
â chameleon_to_archive [bool]
â chameleon_to_doc [bool]
â chameleon_to_img [bool]
â chameleon_to_pdf [bool]
â archive_file_extensions [string]
â block_control_characters [bool]
â corrupted_exe [bool]
â decode_threshold [string]
â scannable_threshold [string]
â allow_leading_trailing_dots [bool]
â block_macros [bool]
â only_allow_images [bool]
ââââquarantine
â quarantine_key [string]
â quarantine_max_filesize [string]
â quarantine_max_usage [string]
â quarantine_max_files [int]
ââââvirustotal
â vt_public_api_key [string]
â vt_suspicion_level [int]
â vt_weighting [int]
â vt_quota_rate [int]
â vt_quota_time [int]
ââââurlscanner
â google_api_key [string]
â maximum_api_lookups [int]
â maximum_api_lookups_response [bool]
â cache_time [int]
ââââlegal
â pseudonymise_ip_addresses [bool]
â privacy_policy [string]
ââââsupplementary_cache_options
â prefix [string]
â enable_apcu [bool]
â enable_memcached [bool]
â enable_redis [bool]
â enable_pdo [bool]
â memcached_host [string]
â memcached_port [int]
â redis_host [string]
â redis_port [int]
â redis_timeout [float]
â pdo_dsn [string]
â pdo_username [string]
â pdo_password [string]
ââââfrontend
â frontend_log [string]
â max_login_attempts [int]
â numbers [string]
â default_algo [string]
â theme [string]
â magnification [float]
ââââweb
â uploads_log [string]
â forbid_on_block [bool]
â unsupported_media_type_header [bool]
â max_uploads [int]
â ignore_upload_errors [bool]
â theme [string]
â magnification [float]
ââââphpmailer
event_log [string]
enable_two_factor [bool]
enable_notifications [string]
skip_auth_process [bool]
host [string]
port [int]
smtp_secure [string]
smtp_auth [bool]
username [string]
password [string]
set_from_address [string]
set_from_name [string]
add_reply_to_address [string]
add_reply_to_name [string]
å šè¬çãªèšå®ïŒä»ã®ã«ããŽãªã«å±ããªãã®èšå®ïŒã
- å šã¹ãã£ãã³ã°çµæãèšé²ãããã¡ã€ã«ã®ãã¡ã€ã«åãâãã¡ã€ã«åæå®ããããâç¡å¹ã«ãããå Žåã¯ç©ºçœã®ãŸãŸã«ããŠäžããã
- å šã¹ãã£ãã³ã°çµæãèšé²ãããã¡ã€ã«ã®ãã¡ã€ã«åïŒã·ãªã¢ã«å圢åŒãå©çšïŒãâãã¡ã€ã«åæå®ããããâç¡å¹ã«ãããå Žåã¯ç©ºçœã®ãŸãŸã«ããŠäžããã
- æ€åºãããèŽåœçã§ãªããšã©ãŒãèšé²ããããã®ãã¡ã€ã«ãâãã¡ã€ã«åæå®ããããâç¡å¹ã«ãããå Žåã¯ç©ºçœã®ãŸãŸã«ããŠäžããã
- ãã°ã»ãã¡ã€ã«ãäžå®ã®ãµã€ãºã«éãããåãè©°ããŸããïŒâå€ã¯ãâãã°ã»ãã¡ã€ã«ãåãæšãŠãããåã«å€§ãããªãå¯èœæ§ããã//ïŒïŒ¢//åäœã®æ倧ãµã€ãºã§ããâããã©ã«ãå€ã®ïŒïŒ«ïŒ¢ã¯åãæšãŠãç¡å¹ã«ããŸã ïŒãã°ã»ãã¡ã€ã«ã¯ç¡æéã«æ¡åŒµã§ããŸãïŒãâ泚ïŒåã ã®ãã°ã»ãã¡ã€ã«ã«é©çšãããŸããâãã°ã»ãã¡ã€ã«ã®ãµã€ãºã¯äžæ¬ããŠèæ ®ãããŸããã
- ãã°ã»ããŒããŒã·ã§ã³ã¯ãäžåºŠã«ååšããå¿ èŠããããã°ã»ãã¡ã€ã«ã®æ°ãå¶éããŸããâæ°ãããã°ã»ãã¡ã€ã«ãäœæããããšããã°ã»ãã¡ã€ã«ã®ç·æ°ãæå®ãããå¶éãè¶ ãããšãæå®ãããã¢ã¯ã·ã§ã³ãå®è¡ãããŸããâããã§åžæã®å¶éãæå®ããããšãã§ããŸããâå€ã0ãã¯ããã°ã»ããŒããŒã·ã§ã³ãç¡å¹ã«ããŸãã
- ãã°ã»ããŒããŒã·ã§ã³ã¯ãäžåºŠã«ååšããå¿ èŠããããã°ã»ãã¡ã€ã«ã®æ°ãå¶éããŸããâæ°ãããã°ã»ãã¡ã€ã«ãäœæããããšããã°ã»ãã¡ã€ã«ã®ç·æ°ãæå®ãããå¶éãè¶ ãããšãæå®ãããã¢ã¯ã·ã§ã³ãå®è¡ãããŸããâããã§åžæã®ã¢ã¯ã·ã§ã³ãæå®ã§ããŸãã ãDeleteã = æãå€ããã°ã»ãã¡ã€ã«ãåé€ããŠãå¶éãè¶ éããªãããã«ããŸãã ãArchiveã = æåã«ã¢ãŒã«ã€ãããŠãããæãå€ããã°ã»ãã¡ã€ã«ãåé€ããŠãå¶éãè¶ éããªãããã«ããŸãã
log_rotation_action
ââDelete ("Delete")
ââArchive ("Archive")
- 䜿çšããã¿ã€ã ãŸãŒã³ãæå®ããŸãâïŒäŸãã°ããAfrica/CairoãããAmerica/New_YorkãããAsia/TokyoãããAustralia/PerthãããEurope/BerlinãããPacific/GuamããççïŒãâãSYSTEMããæå®ãããšãããããèªåçã«åŠçããŸãã
timezone
ââSYSTEM ("ã·ã¹ãã ã®ããã©ã«ãã¿ã€ã ãŸãŒã³ã䜿çšããŸãã")
ââUTC ("UTC")
âââŠãã®ä»
- ã¿ã€ã ãŸãŒã³ã»ãªãã»ããïŒåïŒã
- phpMusselã§äœ¿çšãããæ¥ä»è¡šèšåœ¢åŒãâè¿œå ã®ãªãã·ã§ã³ããªã¯ãšã¹ãã«å¿ããŠè¿œå ãããå ŽåããããŸãã
time_format
ââ{Day}, {dd} {Mon} {yyyy} {hh}:{ii}:{ss} {tz} ("{Day}, {dd} {Mon} {yyyy} {hh}:{ii}:{ss} {tz}")
ââ{Day}, {dd} {Mon} {yyyy} {hh}:{ii}:{ss} ("{Day}, {dd} {Mon} {yyyy} {hh}:{ii}:{ss}")
ââ{Day}, {dd} {Mon} {yyyy} ("{Day}, {dd} {Mon} {yyyy}")
ââ{yyyy}.{mm}.{dd} {hh}:{ii}:{ss} {tz} ("{yyyy}.{mm}.{dd} {hh}:{ii}:{ss} {tz}")
ââ{yyyy}.{mm}.{dd} {hh}:{ii}:{ss} ("{yyyy}.{mm}.{dd} {hh}:{ii}:{ss}")
ââ{yyyy}.{mm}.{dd} ("{yyyy}.{mm}.{dd}")
ââ{yyyy}-{mm}-{dd} {hh}:{ii}:{ss} {tz} ("{yyyy}-{mm}-{dd} {hh}:{ii}:{ss} {tz}")
ââ{yyyy}-{mm}-{dd} {hh}:{ii}:{ss} ("{yyyy}-{mm}-{dd} {hh}:{ii}:{ss}")
ââ{yyyy}-{mm}-{dd} ("{yyyy}-{mm}-{dd}")
ââ{yyyy}/{mm}/{dd} {hh}:{ii}:{ss} {tz} ("{yyyy}/{mm}/{dd} {hh}:{ii}:{ss} {tz}")
ââ{yyyy}/{mm}/{dd} {hh}:{ii}:{ss} ("{yyyy}/{mm}/{dd} {hh}:{ii}:{ss}")
ââ{yyyy}/{mm}/{dd} ("{yyyy}/{mm}/{dd}")
ââ{dd}.{mm}.{yyyy} {hh}:{ii}:{ss} {tz} ("{dd}.{mm}.{yyyy} {hh}:{ii}:{ss} {tz}")
ââ{dd}.{mm}.{yyyy} {hh}:{ii}:{ss} ("{dd}.{mm}.{yyyy} {hh}:{ii}:{ss}")
ââ{dd}.{mm}.{yyyy} ("{dd}.{mm}.{yyyy}")
ââ{dd}-{mm}-{yyyy} {hh}:{ii}:{ss} {tz} ("{dd}-{mm}-{yyyy} {hh}:{ii}:{ss} {tz}")
ââ{dd}-{mm}-{yyyy} {hh}:{ii}:{ss} ("{dd}-{mm}-{yyyy} {hh}:{ii}:{ss}")
ââ{dd}-{mm}-{yyyy} ("{dd}-{mm}-{yyyy}")
ââ{dd}/{mm}/{yyyy} {hh}:{ii}:{ss} {tz} ("{dd}/{mm}/{yyyy} {hh}:{ii}:{ss} {tz}")
ââ{dd}/{mm}/{yyyy} {hh}:{ii}:{ss} ("{dd}/{mm}/{yyyy} {hh}:{ii}:{ss}")
ââ{dd}/{mm}/{yyyy} ("{dd}/{mm}/{yyyy}")
ââ{mm}.{dd}.{yyyy} {hh}:{ii}:{ss} {tz} ("{mm}.{dd}.{yyyy} {hh}:{ii}:{ss} {tz}")
ââ{mm}.{dd}.{yyyy} {hh}:{ii}:{ss} ("{mm}.{dd}.{yyyy} {hh}:{ii}:{ss}")
ââ{mm}.{dd}.{yyyy} ("{mm}.{dd}.{yyyy}")
ââ{mm}-{dd}-{yyyy} {hh}:{ii}:{ss} {tz} ("{mm}-{dd}-{yyyy} {hh}:{ii}:{ss} {tz}")
ââ{mm}-{dd}-{yyyy} {hh}:{ii}:{ss} ("{mm}-{dd}-{yyyy} {hh}:{ii}:{ss}")
ââ{mm}-{dd}-{yyyy} ("{mm}-{dd}-{yyyy}")
ââ{mm}/{dd}/{yyyy} {hh}:{ii}:{ss} {tz} ("{mm}/{dd}/{yyyy} {hh}:{ii}:{ss} {tz}")
ââ{mm}/{dd}/{yyyy} {hh}:{ii}:{ss} ("{mm}/{dd}/{yyyy} {hh}:{ii}:{ss}")
ââ{mm}/{dd}/{yyyy} ("{mm}/{dd}/{yyyy}")
ââ{yy}.{mm}.{dd} {hh}:{ii}:{ss} {tz} ("{yy}.{mm}.{dd} {hh}:{ii}:{ss} {tz}")
ââ{yy}.{mm}.{dd} {hh}:{ii}:{ss} ("{yy}.{mm}.{dd} {hh}:{ii}:{ss}")
ââ{yy}.{mm}.{dd} ("{yy}.{mm}.{dd}")
ââ{yy}-{mm}-{dd} {hh}:{ii}:{ss} {tz} ("{yy}-{mm}-{dd} {hh}:{ii}:{ss} {tz}")
ââ{yy}-{mm}-{dd} {hh}:{ii}:{ss} ("{yy}-{mm}-{dd} {hh}:{ii}:{ss}")
ââ{yy}-{mm}-{dd} ("{yy}-{mm}-{dd}")
ââ{yy}/{mm}/{dd} {hh}:{ii}:{ss} {tz} ("{yy}/{mm}/{dd} {hh}:{ii}:{ss} {tz}")
ââ{yy}/{mm}/{dd} {hh}:{ii}:{ss} ("{yy}/{mm}/{dd} {hh}:{ii}:{ss}")
ââ{yy}/{mm}/{dd} ("{yy}/{mm}/{dd}")
ââ{dd}.{mm}.{yy} {hh}:{ii}:{ss} {tz} ("{dd}.{mm}.{yy} {hh}:{ii}:{ss} {tz}")
ââ{dd}.{mm}.{yy} {hh}:{ii}:{ss} ("{dd}.{mm}.{yy} {hh}:{ii}:{ss}")
ââ{dd}.{mm}.{yy} ("{dd}.{mm}.{yy}")
ââ{dd}-{mm}-{yy} {hh}:{ii}:{ss} {tz} ("{dd}-{mm}-{yy} {hh}:{ii}:{ss} {tz}")
ââ{dd}-{mm}-{yy} {hh}:{ii}:{ss} ("{dd}-{mm}-{yy} {hh}:{ii}:{ss}")
ââ{dd}-{mm}-{yy} ("{dd}-{mm}-{yy}")
ââ{dd}/{mm}/{yy} {hh}:{ii}:{ss} {tz} ("{dd}/{mm}/{yy} {hh}:{ii}:{ss} {tz}")
ââ{dd}/{mm}/{yy} {hh}:{ii}:{ss} ("{dd}/{mm}/{yy} {hh}:{ii}:{ss}")
ââ{dd}/{mm}/{yy} ("{dd}/{mm}/{yy}")
ââ{mm}.{dd}.{yy} {hh}:{ii}:{ss} {tz} ("{mm}.{dd}.{yy} {hh}:{ii}:{ss} {tz}")
ââ{mm}.{dd}.{yy} {hh}:{ii}:{ss} ("{mm}.{dd}.{yy} {hh}:{ii}:{ss}")
ââ{mm}.{dd}.{yy} ("{mm}.{dd}.{yy}")
ââ{mm}-{dd}-{yy} {hh}:{ii}:{ss} {tz} ("{mm}-{dd}-{yy} {hh}:{ii}:{ss} {tz}")
ââ{mm}-{dd}-{yy} {hh}:{ii}:{ss} ("{mm}-{dd}-{yy} {hh}:{ii}:{ss}")
ââ{mm}-{dd}-{yy} ("{mm}-{dd}-{yy}")
ââ{mm}/{dd}/{yy} {hh}:{ii}:{ss} {tz} ("{mm}/{dd}/{yy} {hh}:{ii}:{ss} {tz}")
ââ{mm}/{dd}/{yy} {hh}:{ii}:{ss} ("{mm}/{dd}/{yy} {hh}:{ii}:{ss}")
ââ{mm}/{dd}/{yy} ("{mm}/{dd}/{yy}")
ââ{yyyy}幎{m}æ{d}æ¥ {hh}æ{ii}å{ss}ç§ ("{yyyy}幎{m}æ{d}æ¥ {hh}æ{ii}å{ss}ç§")
ââ{yyyy}幎{m}æ{d}æ¥ {hh}:{ii}:{ss} {tz} ("{yyyy}幎{m}æ{d}æ¥ {hh}:{ii}:{ss} {tz}")
ââ{yyyy}幎{m}æ{d}æ¥ ("{yyyy}幎{m}æ{d}æ¥")
ââ{yy}幎{m}æ{d}æ¥ {hh}æ{ii}å{ss}ç§ ("{yy}幎{m}æ{d}æ¥ {hh}æ{ii}å{ss}ç§")
ââ{yy}幎{m}æ{d}æ¥ {hh}:{ii}:{ss} {tz} ("{yy}幎{m}æ{d}æ¥ {hh}:{ii}:{ss} {tz}")
ââ{yy}幎{m}æ{d}æ¥ ("{yy}幎{m}æ{d}æ¥")
ââ{yyyy}ë
{m}ì {d}ìŒ {hh}ì {ii}ë¶ {ss}ìŽ ("{yyyy}ë
{m}ì {d}ìŒ {hh}ì {ii}ë¶ {ss}ìŽ")
ââ{yyyy}ë
{m}ì {d}ìŒ {hh}:{ii}:{ss} {tz} ("{yyyy}ë
{m}ì {d}ìŒ {hh}:{ii}:{ss} {tz}")
ââ{yyyy}ë
{m}ì {d}ìŒ ("{yyyy}ë
{m}ì {d}ìŒ")
ââ{yy}ë
{m}ì {d}ìŒ {hh}ì {ii}ë¶ {ss}ìŽ ("{yy}ë
{m}ì {d}ìŒ {hh}ì {ii}ë¶ {ss}ìŽ")
ââ{yy}ë
{m}ì {d}ìŒ {hh}:{ii}:{ss} {tz} ("{yy}ë
{m}ì {d}ìŒ {hh}:{ii}:{ss} {tz}")
ââ{yy}ë
{m}ì {d}ìŒ ("{yy}ë
{m}ì {d}ìŒ")
ââ{yyyy}-{mm}-{dd}T{hh}:{ii}:{ss}{t:z} ("{yyyy}-{mm}-{dd}T{hh}:{ii}:{ss}{t:z}")
ââ{d}. {m}. {yyyy} ("{d}. {m}. {yyyy}")
âââŠãã®ä»
- æ¥ç¶ãªã¯ãšã¹ãã®ïŒ©ïŒ°ã¢ãã¬ã¹ãã©ãã§èŠã€ããã¹ããã«ã€ããŠïŒCloudflareã®ãããªãµãŒãã¹ã«å¯ŸããŠæå¹ïŒãâDefaultïŒããã©ã«ãèšå®ïŒ = REMOTE_ADDRãâ泚æïŒããªããäœãããŠããã®ããâåãããªãéããâãããå€æŽããªãã§ãã ããã"config_core_lang: "phpMusselã®ããã©ã«ãèšèªãèšå®ããŸãã
ipaddr
ââHTTP_INCAP_CLIENT_IP ("HTTP_INCAP_CLIENT_IP (Incapsula)")
ââHTTP_CF_CONNECTING_IP ("HTTP_CF_CONNECTING_IP (Cloudflare)")
ââCF-Connecting-IP ("CF-Connecting-IP (Cloudflare)")
ââHTTP_X_FORWARDED_FOR ("HTTP_X_FORWARDED_FOR (Cloudbric)")
ââX-Forwarded-For ("X-Forwarded-For (Squid)")
ââREMOTE_ADDR ("REMOTE_ADDR (Default)")
âââŠãã®ä»
åç §ããŠãã ããïŒ
- ãã®ãã£ã¬ã¯ãã£ããæå¹ã«ãããšãâæ€ç¥åºæºïŒã·ã°ããã£ã§ãäœã§ãïŒã«ãã£ãã¢ããããŒããã¡ã€ã«ã¯çŽã¡ã«åé€ãããŸããâã¯ãªãŒã³ãšå€æããããã¡ã€ã«ã¯ãã®ãŸãŸã§ããâã¢ãŒã«ã€ãã®å Žåãâåé¡ã®ãã¡ã€ã«ãäžéšã§ãã£ãŠãã¢ãŒã«ã€ãå šãŠãåé€ã®å¯Ÿè±¡ãšãªããŸããâã¢ããããŒããã¡ã€ã«ã®ã¹ãã£ã³ã«ãããŠã¯ãâæ¬ãã£ã¬ã¯ãã£ããæå¹ã«ããããšã¯å¿ é ã§ã¯ãããŸãããâãªããªãã¯ã¹ã¯ãªããå®è¡åŸã«èªåçã«ãã£ãã·ã¥ã®å 容ãç Žæ£ããããã§ããâèšãæããã°ãâãã¡ã€ã«ã移åãããããâã³ããŒãããããâåé€ãããªãéããâã¯ãµãŒããŒã«ã¢ããããŒããããã¡ã€ã«ãæ®ããŠããããšã¯éåžžãããŸãããâãã®ãã£ã¬ã¯ãã£ãã¯ã»ãã¥ãªãã£ãŒã«å¿µãå ¥ããç®çã§èšçœ®ãããŠããŸããâã¯çšã«äºæž¬å€ã®æ¯ãèããããããšãããããã§ããâFalseïŒåœïŒ = ã¹ãã£ãã³ã°åŸãâãã¡ã€ã«ã¯ãã®ãŸãŸïŒããã©ã«ãèšå®ïŒãâTrueïŒçïŒ = ã¹ãã£ãã³ã°åŸãâã¯ãªãŒã³ã§ãªããã°çŽã¡ã«åé€ã
- phpMusselã®ããã©ã«ãèšèªãèšå®ããŸãã
lang
ââen ("English")
ââar ("اÙعرؚÙØ©")
ââbn ("àŠ¬àŠŸàŠàŠ²àŠŸ")
ââde ("Deutsch")
ââes ("Español")
ââfr ("Français")
ââhi ("à€¹à€¿à€à€Šà¥")
ââid ("Bahasa Indonesia")
ââit ("Italiano")
ââja ("æ¥æ¬èª")
ââko ("íêµìŽ")
ââlv ("LatvieÅ¡u")
âânl ("Nederlandse")
ââno ("Norsk")
ââpl ("Polski")
ââpt ("Português")
ââru ("Ð ÑÑÑкОй")
ââsv ("Svenska")
ââta ("஀மிஎà¯")
ââth ("àž àž²àž©àž²à¹àžàž¢")
ââtr ("TÃŒrkçe")
ââur ("اردÙ")
ââvi ("Tiếng Viá»t")
ââzh ("äžæïŒç®äœïŒ")
ââzh-TW ("äžæïŒå³çµ±ïŒ")
- å¯èœãªéããHTTP_ACCEPT_LANGUAGEãã«åŸã£ãŠããŒã«ã©ã€ãºããŸããïŒ True = ã¯ãïŒDefault/ããã©ã«ã«ãïŒã False = ãããã
- phpMusselã¯ã¹ãã£ãã³ã°çµæãã©ããããã®æéãã£ãã·ã¥ãã¹ããïŒâç§åäœã§ãâããã©ã«ãã¯ïŒïŒïŒïŒïŒïŒç§ïŒïŒæéïŒãšãªã£ãŠããŸããâïŒã«ãããšãã£ãã·ã¥ç¡å¹ã«ãªããŸãã
- ã¡ã³ããã³ã¹ã»ã¢ãŒããæå¹ã«ããŸããïŒ True = ã¯ãã False = ãããïŒDefault/ããã©ã«ã«ãïŒãâããã³ããšã³ã以å€ã®ãã¹ãŠãç¡å¹ã«ããŸããâïŒïŒ³ããã¬ãŒã ã¯ãŒã¯ãªã©ãæŽæ°ãããšãã«äŸ¿å©ã§ãã
- phpMussel䜿çšçµ±èšã远跡ããŸããïŒ True = ã¯ãã False = ãããïŒDefault/ããã©ã«ã«ãïŒã
- ãã°ãšããŒãžåºåããããŒãžã§ã³æ å ±ãé ããïŒ True = ã¯ãã False = ãããïŒDefault/ããã©ã«ã«ãïŒã
- ããã¯ãèŠæ±ãéä¿¡ãããšãã«phpMusselãç¹å®ã®ãã£ãã«ã䜿çšããªãããã«ããããã«äœ¿çšã§ããŸãâïŒäŸãã°ãæŽæ°æãã³ã³ããŒãã³ãã»ã¡ã¿ããŒã¿ã®ååŸæããªã©ïŒã
disabled_channels
ââGitHub ("GitHub")
ââBitBucket ("BitBucket")
ââVirusTotal_HTTPS ("VirusTotal (HTTPS)")
ââVirusTotal_HTTP ("VirusTotal (HTTP)")
- å€éšãªã¯ãšã¹ãã«äœ¿çšããããã©ã«ãã®ã¿ã€ã ã¢ãŠãïŒ Default/ããã©ã«ã«ã = ïŒïŒç§ã
ã·ã°ããã£ãã·ã°ããã£ã»ãã¡ã€ã«ããªã©ã®èšå®ã
- ã«ã³ãã§åºåãããã¢ã¯ãã£ããªã·ã°ããã£ã»ãã¡ã€ã«ã®ãªã¹ããâ泚æïŒã·ã°ããã£ã»ãã¡ã€ã«ã¯ãã¢ã¯ãã£ãåããåã«ããŸããã€ã³ã¹ããŒã«ããå¿ èŠããããŸããâãã¹ãã»ãã¡ã€ã«ãæ£ããæ©èœããã«ã¯ãã·ã°ããã£ã»ãã¡ã€ã«ãããŸããã€ã³ã¹ããŒã«ããŠã¢ã¯ãã£ãåããå¿ èŠããããŸãã
- ã·ã°ããã£ã»ãã¡ã€ã«ããªããâãããã¯ç ŽæããŠããå Žåã«ãâphpMusselãããããªããŒããã¹ããåŠãïŒâ
fail_silently
ãç¡å¹ãªãã°ãâåé¡ã¯ãªããŒããããâæå¹ã§ããã°ãâåé¡ã¯ç¡èŠãããã¹ãã£ãã³ã°ã¬ããŒããäœæãããŸããâã¯ã©ãã·ã¥ãããšãããããªå®³ããªããã°ãâããã©ã«ãèšå®ã®ãŸãŸã«ããŠããã¹ãã§ããâfalse
ïŒåœïŒ = Disabled/ç¡å¹;true
ïŒçïŒ = Enabled/æå¹ ïŒDefault/ããã©ã«ãïŒã
- æ¡åŒµåããªãå Žåã«phpMusselããããã¬ããŒããã¹ããåŠãïŒâ
fail_extensions_silently
ãç¡å¹ã®å Žåãâæ¡åŒµåãªãã¯ã¹ãã£ãã³ã°æã«ã¬ããŒããããâæå¹ã®å Žåã¯ç¡èŠããåé¡ã¯å ±åãããŸãããâãã®ãã£ã¬ã¯ãã£ããç¡å¹ã«ããããšã¯ãâã»ãã¥ãªãã£ãŒãåäžããããããããŸããããâ誀æ€åºãå¢å ããæãããããŸããâfalse
ïŒåœïŒ = Disabled/ç¡å¹;true
ïŒçïŒ = Enabled/æå¹ïŒDefault/ããã©ã«ãïŒã
- phpMusselã¯ã¢ããŠã§ã¢æ€åºã®ããã«ã·ã°ããã£ãåæãã¹ããåŠãïŒâ
false
ïŒåœïŒ = ãããïŒâtrue
ïŒçïŒ = ã¯ãïŒDefault/ããã©ã«ãïŒã
- phpMusselã¯æªæ¯/åœé ããã«ãŠã§ã¢/ãŠã£ã«ã¹æ€åºã®ããã«ã·ã°ããã£ãåæãã¹ããåŠãïŒâ
false
ïŒåœïŒ = ãããïŒâtrue
ïŒçïŒ = ã¯ãïŒDefault/ããã©ã«ãïŒã
- phpMusselã¯ïŒ°ïŒµïŒ¡/æ€åºã®ããã«ã·ã°ããã£ãåæãã¹ããåŠãïŒâ
false
ïŒåœïŒ = ãããïŒâtrue
ïŒçïŒ = ã¯ãïŒDefault/ããã©ã«ãïŒã
- phpMusselã¯ããã«ãŒãããã¯ããŒã¿æ€åºã®ããã«ã·ã°ããã£ãåæãã¹ããåŠãïŒâ
false
ïŒåœïŒ = ãããïŒâtrue
ïŒçïŒ = ã¯ãïŒDefault/ããã©ã«ãïŒã
- phpMusselã¯shellã¹ã¯ãªããæ€åºã®ããã«ã·ã°ããã£ãåæãã¹ããåŠãïŒâ
false
ïŒåœïŒ = ãããïŒâtrue
ïŒçïŒ = ã¯ãïŒDefault/ããã©ã«ãïŒã
- phpMusselã¯æ¹ããããã£ãã§ãŒãµãŒæ€åºã®ããã«ã·ã°ããã£ãåæãã¹ããåŠãïŒâ
false
ïŒåœïŒ = ãããïŒâtrue
ïŒçïŒ = ã¯ãïŒDefault/ããã©ã«ãïŒã
- phpMusselã¯æå·åãã¡ã€ã«ãæ€åºããŠãããã¯ããå¿
èŠããããŸããïŒâ
false
ïŒåœïŒ = ãããïŒâtrue
ïŒçïŒ = ã¯ãïŒDefault/ããã©ã«ãïŒã
- phpMusselã«ã¯ãâãã®ãã¡ã€ã«ã¯çãããå±éºæ§ãé«ããšå€æããã·ã°ããã£ããããŸããâãããå€ã¯ãâã¢ããããŒããããŠãããã¡ã€ã«ã®å±éºæ§ã®æ倧å€ã§ãããâãããè¶ ãããšãã«ãŠã§ã¢ãšå€æãããŸããâããã«ãããå±éºæ§ã®å®çŸ©ãšã¯ãâçããããšç¹å®ããããã®ã®ç·æ°ã§ããâããã©ã«ãã§ã¯ïŒã«èšå®ãããŠããŸããâããããäœããšèª€æ€åºã®å¯èœæ§ãå¢ããâ倧ãããããšãâ誀æ€åºã¯æžããã®ã®å±éºæ§ã®ãããã¡ã€ã«ãæ€åºãããªãå¯èœæ§ãå¢å ããŠããŸããŸããâç¹ã«åé¡ããªããã°ãâããã©ã«ãå€ã®ãŸãŸã«ããŠããããšãå§ãããŸãã
ã¹ãã£ã³æã«ãã¡ã€ã«ãåŠçããæ¹æ³ã®è©³çŽ°ã
- ãã¡ã€ã«ãµã€ãºäžéã®åäœã¯ïŒ«ïŒ¢ã§ããâïŒïŒïŒïŒïŒïŒïŒïŒïŒïŒ¢ïŒDefault/ããã©ã«ãïŒïŒâ0 = ãªãããããŸããïŒäžéãªããâåžžã«ã°ã¬ã€ãªã¹ãåïŒãâæ£ã®æ°å€ã§ããã°äœã§ãæ§ããŸãããâã®èšå®ã§ã¡ã¢ãªãŒã«å¶éããã£ãããâã¢ããããŒããã¡ã€ã«ãµã€ãºã®äžéãèšå®ãããŠããå Žåã«æå¹çã§ãã
- äžéãµã€ãºãè¶
ãããã¡ã€ã«ãã©ãåŠçãããã«ã€ããŠã§ããâ
false
ïŒåœïŒ=ãã¯ã€ããªã¹ãããŠãWhitelistããtrue
ïŒçïŒ=ãã©ãã¯ãªã¹ãããŠãBlacklistãïŒDefault/ããã©ã«ãïŒã
- ã·ã¹ãã ãç¹å®ã¿ã€ãã®ãã¡ã€ã«ã®ã¿ã¢ããããŒããèš±å¯ãããâãããã¯æ絶ããå Žåã¯ãâãã¡ã€ã«ã¿ã€ããé©åã«ãã¯ã€ããªã¹ããâãã©ãã¯ãªã¹ããâã°ã¬ãŒãªã¹ãã«ãŠåé¡ããŠãããšãâãã¡ã€ã«ã¿ã€ãã«ãã£ãŠåŒŸããããã¡ã€ã«ã¯ã¹ãã£ã³ãã¹ãããã§ãããããâã¹ããŒãã¢ããã«ç¹ãããŸããâãã©ãŒãããã¯ïŒ£ïŒ³ïŒ¶ïŒã«ã³ãåºåãïŒã§ããâãªã¹ãã«ãããå šãŠãã¹ãã£ã³ãããå Žåã¯ãâå€æ°ã¯ç©ºçœã®ãŸãŸãšããâãã¯ã€ããªã¹ã/ãã©ãã¯ãªã¹ã/ã°ã¬ãŒãªã¹ããç¡å¹ã«ããŸããâããã»ã¹ã®è«ççé åº: ãã¡ã€ã«ã¿ã€ãããã¯ã€ããªã¹ãã«èšèŒãããŠããã°ãâã¹ãã£ã³ãããâãããã¯ãããâãã©ãã¯ãªã¹ãããã³ã°ã¬ã€ãªã¹ãã«å¯ŸããŠãã§ãã¯ãè¡ããŸãããâãã¡ã€ã«ã¿ã€ãããã©ãã¯ãªã¹ãã«èšèŒãããŠããã°ãâã¹ãã£ã³ããããšãªããâçŽã¡ã«ã«ãããã¯ããâã°ã¬ãŒãªã¹ãã«å¯ŸããŠãã§ãã¯ãè¡ããŸãããâã°ã¬ãŒãªã¹ãã空ãâãããã¯ã°ã¬ãŒãªã¹ãã空ã§ãªããã€ãã®ãã¡ã€ã«ã¿ã€ããããã°ãâéåžžéãã¹ãã£ã³ããããã¯ãããåŠããå€æããŸããâã°ã¬ãŒãªã¹ãã空ã§ãªããã€ãã®ãã¡ã€ã«ã¿ã€ããå«ãŸããŠããªããã°ãâãã©ãã¯ãªã¹ããšåæ§ã®æ±ããããããšã«ãªããâã¹ãã£ã³ãªãã«ãããã¯ããŸããâãã¡ã€ã«ã¿ã€ãã»ãã¯ã€ããªã¹ã:
- ãã¡ã€ã«ã¿ã€ãã»ãã©ãã¯ãªã¹ã:
- ãã¡ã€ã«ã¿ã€ãã»ã°ã¬ãŒãªã¹ã:
- ã¢ãŒã«ã€ãã®ã³ã³ãã³ãã«å¯ŸããŠãã§ãã¯ãè©Šã¿ããåŠãã«ã€ããŠã§ãã
false
ïŒåœïŒ = ãã§ãã¯ããªã;true
ïŒçïŒ = ãã§ãã¯ããïŒDefault/ããã©ã«ãïŒã ïœïœïŒïœïœïœïœïœïœãå¿ èŠïŒãïœïœãïœïœïŒïœïœïœæ¡åŒµãå¿ èŠïŒããµããŒããããŠããŸãã
- ãã¡ã€ã«ãµã€ãºã®ãã©ãã¯ãªã¹ãå/ãã¯ã€ããªã¹ãåãã¢ãŒã«ã€ãã®ã³ã³ãã³ãã«æã¡èŸŒããåŠãïŒâ
false
= ãããïŒãã ã°ã¬ãŒãªã¹ããã¹ãŠïŒ;true
= ã¯ã ãDefault/ããã©ã«ãèšå®ãã
- ãã¡ã€ã«ã¿ã€ãã®ãã©ãã¯ãªã¹ãå/ãã¯ã€ããªã¹ãåãã¢ãŒã«ã€ãã®ã³ã³ãã³ãã«æã¡èŸŒããåŠãïŒâ
false
= ãããïŒãã ã°ã¬ãŒãªã¹ããã¹ãŠïŒ ãDefault/ããã©ã«ãèšå®ã;true
= ã¯ãã
- ã¢ãŒã«ã€ãã«å¯Ÿããæ倧ååž°æ·±ãã§ããâããã©ã«ãïŒïŒã
- æå·åãããã¢ãŒã«ã€ããæ€åºããããã¯ãããåŠãïŒâphpMusselã¯æå·åãããã¢ãŒã«ã€ããã¹ãã£ã³ããããšã¯ã§ããªãã®ã§ãâã¢ãŒã«ã€ãã®æå·åã«ãã£ãŠphpMusselãâã¢ã³ããŠã£ã«ã¹ã¹ãã£ããŒçããããããããšããæ»æè
ããããããããŸãããâæå·åãããã¢ãŒã«ã€ãããããã¯ããããšã«ãããâãã®ãããªãªã¹ã¯ãåé¿ããããšãã§ããŸããâ
false
ïŒåœïŒ = ãããïŒâtrue
ïŒçïŒ = ã¯ãïŒDefault/ããã©ã«ãïŒã
- ã¹ãã£ã³ãäžæ¢ããåã«ã¢ãŒã«ã€ãå ããã¹ãã£ã³ãããã¡ã€ã«ã®æ倧æ°ãâããã©ã«ãïŒïŒïŒäžéãªãïŒã
- ãã¡ã€ã«ã§ããªãã¢ãŒã«ã€ããšãèªèã§ããªããã¡ã€ã«äžã®ïŒ°ïŒšïŒ°ããããŒãæ¢ããŸãã FalseïŒåœïŒ = ãªãã TrueïŒçïŒ = ãªã³ã
- ã«ã³ãã§åºåãããã³ãŒããå«ãããšãã§ãããã¡ã€ã«æ¡åŒµåã®ãªã¹ããâã«ã¡ã¬ãªã³æ»ææ€åºãæå¹ã«ãªã£ãŠããå Žåããã®ãªã¹ãã«ãªãæ¡åŒµåãæã€ïŒ°ïŒšïŒ°ã³ãŒããå«ããã¡ã€ã«ã¯ãã«ã¡ã¬ãªã³æ»æãšããŠæ€åºãããŸãã
- å®è¡ãã¡ã€ã«ã§ããªãå®è¡ãã¡ã€ã«ã®ã¢ãŒã«ã€ããšãèªèã§ããªããã¡ã€ã«äžã®å®è¡ããããŒãäžæ£ãªããããŒã®å®è¡ãã¡ã€ã«ãæ¢ããŸãã
false
ïŒåœïŒ = ãªããtrue
ïŒçïŒ = ãªã³ã
- ããããŒãæ£ãããªãã¢ãŒã«ã€ããæ¢ããŸãïŒïŒ¢ïŒº/ïŒã/ãããããµããŒããããŠããŸãïŒã
false
ïŒåœïŒ = ãªããtrue
ïŒçïŒ = ãªã³ã
- ããããŒãæ£ãããªããªãã£ã¹ããã¥ã¡ã³ããæ¢ããŸãïŒïŒ€ïŒ¯ïŒ£ãâãâãâãâãâãâããµããŒããããŠããŸãïŒã
false
ïŒåœïŒ = ãªããtrue
ïŒçïŒ = ãªã³ã
- ããããŒãæ£ãããªãç»åãã¡ã€ã«ãæ¢ããŸãïŒïŒ¢ïŒïŒ°ãâãâãâãâãâãâãâãâãâããµããŒããããŠããŸãïŒã
false
ïŒåœïŒ = ãªããtrue
ïŒçïŒ = ãªã³ã
- ããããŒãæ£ãããªãPDFãã¡ã€ã«ãæ¢ããŸãã
false
ïŒåœïŒ = ãªããtrue
ïŒçïŒ = ãªã³ã
- èªèå¯èœãªã¢ãŒã«ã€ããã¡ã€ã«ãšã¯ã¹ãã³ã·ã§ã³ã§ãïŒãã©ãŒãããã¯CSVïŒåé¡ããã£ãå Žåã«ã®ã¿è¿œå ãããã¯åãé€ãã¹ãã§ããâäžçšæã«åãé€ããšèª€æ€åºã®åå ãšãªãå¯èœæ§ããããŸããâå察ã«äžçšæã«è¿œå ãããšãâã¢ã¿ãã¯ãŒã¹ãã·ãã£ãã¯æ€åºããè¿œå ãããã®ããã¯ã€ããªã¹ãåããŠããŸããŸããâå åã«æ³šæã«äžãâå€æŽããŠäžãããâãªããâã³ã³ãã³ãã¬ãã«ã«ãããŠã¢ãŒã«ã€ããåæããããšãåºæ¥ããåŠãã«ã¯åœ±é¿ããŸããïŒãâããã©ã«ãã§ã¯æãäžè¬ãªãã©ãŒãããããªã¹ãããŠããŸãããâæå³çã«å æ¬çã«ã¯ããŠããŸããã
- å¶åŸ¡æåãå«ãã ãã¡ã€ã«ããããã¯ãããåŠãïŒæ¹è¡ä»¥å€ïŒïŒâã«ã€ããŠã§ãïŒ
[\x00-\x08\x0b\x0c\x0e\x1f\x7f]
ïŒãâãããâããã¹ãã®ã¿ãã¢ããããŒããããªããâãã®ãªãã·ã§ã³ãæå¹ã«ããŠãâããã«ãããã¯ã·ã§ã³ã匷åã§ããŸããâããã¹ã以å€ãã¢ããããŒã察象ã§ããã°ãâæå¹ã«ãããšèª€æ€åºã®åå ã«ãªãããŸããâfalse
ïŒåœïŒ = ãããã¯ããªãïŒDefault/ããã©ã«ãïŒïŒâtrue
ïŒçïŒ = ãããã¯ããã
- ç Žæãã¡ã€ã«ãšãšã©ãŒè§£æãâ
false
ïŒåœïŒ = ç¡èŠããïŒâtrue
ïŒçïŒ = ãããã¯ããïŒDefault/ããã©ã«ãïŒãâç Žæã®å¯èœæ§ãããPEãã¡ã€ã«ããããã¯ãæ€åºãããåŠãïŒâã«ã€ããŠã§ããâPEãã¡ã€ã«ã®äžéšãç Žæããâæ£ããåæã§ããªãããšã¯çãããªããâãŠã£ã«ã¹ææãã¿ãããã¡ãŒã¿ãŒã«ãªããŸããâPEãã¡ã€ã«å ã®ãŠã£ã«ã¹ãæ€åºããã¢ã³ããŠã£ã«ã¹ããã°ã©ã ã¯ãâPEãã¡ã€ã«ã®è§£æãè¡ããŸãããâãŠã£ã«ã¹ãäœãåŽã§ã¯ãâãŠã£ã«ã¹ãæ€åºãããªããããããé¿ããããšãããã®ã ããã§ãã
- ãã³ãŒãã»ã³ãã³ããæ€åºãããã¹ãçããŒã¿ã®é·ãã®å¶éïŒã¹ãã£ãã³ã°äžã«é¡èãªåé¡ãããå Žåã«å¿ èŠã«å¿ããŠèšå®ïŒãâããã©ã«ãïŒïŒïŒïŒïŒ«ïŒ¢ãâãŒããããã¯å€ãªãïŒnullïŒã¯ãããå€ãç¡å¹åããŸãïŒãã¡ã€ã«ãµã€ãºã«ããå¶éãåãé€ããŸãïŒã
- phpMusselãèªã¿ã¹ãã£ã³ããŠããçããŒã¿ã®é·ãã®å¶éïŒã¹ãã£ãã³ã°äžã«é¡èãªåé¡ãããå Žåã«å¿ èŠã«å¿ããŠèšå®ïŒãâããã©ã«ãïŒïŒïŒïŒïŒ¢ãâãŒããããã¯å€ãªãïŒnullïŒã¯ãããå€ãç¡å¹åããŸããâå€ã¯ãâãµãŒããŒããŠã§ããµã€ãã§ã¢ããããŒãããããã¡ã€ã«ã®å¹³åãã¡ã€ã«ãµã€ãºãã倧ãããâfilesize_limitãã£ã¬ã¯ãã£ãããå°ããèšå®ãã¹ãã§ããâãŸã"php.ini"èšå®ã«ãã£ãŠPHPã«å²ãåœãŠãããã¡ã¢ãªãŒã®ãããã5åã®ïŒãè¶ ããã¹ãã§ã¯ãããŸãããâãã®ãã£ã¬ã¯ãã£ãã¯phpMusselãã¡ã¢ãªãŒã䜿ãéããªãããã«ããããã®ãã®ã§ããâïŒäžå®ã®ãµã€ãºä»¥äžã®ãã¡ã€ã«ã¯ã¹ãã£ã³ã§ããªããªãããšããããŸãïŒã
- ãã¡ã€ã«åã«å
é ãšæ«å°Ÿã®ãããã䜿çšã§ããŸããïŒâããã¯ããã¡ã€ã«ãé ããããããã£ã¬ã¯ããªã»ãã©ããŒãµã«ãèš±å¯ããããã«ã·ã¹ãã ãéšãããã«äœ¿çšãããããšããããŸããâ
false
ïŒåœïŒ=èš±å¯ããªãïŒDefault/ããã©ã«ãïŒãtrue
ïŒçïŒ=èš±å¯ããŸãã
- ãã¯ããå«ããã¡ã€ã«ããããã¯ããããšããŠããŸããïŒâããã¥ã¡ã³ããã¹ãã¬ããã·ãŒãã«ã¯å®è¡å¯èœãªãã¯ããå«ãŸããŠããå¯èœæ§ããããŸããâ
false
ïŒåœïŒ = ãããã¯ããªãïŒDefault/ããã©ã«ãïŒïŒâtrue
ïŒçïŒ = ãããã¯ããã
- Trueã«èšå®ããå Žåãã¹ãã£ããŒã§æ€åºãããéç»åãã¡ã€ã«ã«ã¯ãã¹ãã£ã³ãããã«ãçŽã¡ã«ããŒã¯ãããŸããâããã¯ãå Žåã«ãã£ãŠã¯ãã¹ãã£ã³ã®å®äºã«å¿ èŠãªæéãççž®ããã®ã«åœ¹ç«ã¡ãŸããâããã©ã«ãã§ã¯falseã«èšå®ãããŠããŸãã
æ€ç«ã®èšå®ã
- phpMusselã¯ãâå¿
èŠãšããã°ããããã¯ããããã¡ã€ã«ã®ã¢ããããŒããæ€ç«ããããšãã§ããŸããâäžè¬çãªphpMusselã®ãŠãŒã¶ãŒã¯ãâãŠã§ããµã€ãããã¹ãã£ã³ã°ç°å¢ã®ä¿è·ãã§ããã°å
åãšèããŠãããâãã©ã°ä»ã®ãããªãã®ã«ãããªãåæãå ããããŸã§ã®èŠæ±ã¯ãªãããã§ãã®ã§ãâç¡å¹ã§æ§ããŸãããâã§ãã詳现ã«åæããŠãã«ãŠã§ã¢ã«åããããŠãŒã¶ãŒã¯æå¹ã«ãããšè¯ãã§ããããâãã©ã°ä»ãã¡ã€ã«ã®ã¢ããããŒãã®æ€ç«ã¯èª€æ€åºã®ãããã°ã«åœ¹ç«ã€ããšããããŸããâæ€ç«æ©èœãç¡å¹ã«ããã«ã¯ãâ
quarantine_key
ãã£ã¬ã¯ãã£ãã空ã«ããŠããããâ空ã§ãªãå Žåã¯ãã£ã¬ã¯ãã£ãå ã®ã³ã³ãã³ããæ¶å»ããŠäžãããâæå¹ã«ããã«ã¯ãâãã€ã¬ã¯ãã£ãã«äœããã®å€ãå ¥ããŠäžãããâquarantine_key
ã¯æ€ç«æ©èœã«ãããéèŠãªã»ãã¥ãªãã£ãŒèŠçŽ ã§ãããâæ€ç«æ©èœå ã«ä¿åãããããŒã¿ã®å·è¡ãåçš®ã®æ»æããå®ã£ãŠããŸããâquarantine_key
ã¯ãã¹ã¯ãŒããšåæ§ã«èããŠäžãããâé·ãæ¹ãããå®å šãšèšããŸããâæãå¹æçãªäœ¿çšæ³ã¯delete_on_sight
ãšã®äœµçšã§ãã
- æ€ç«ããããã¡ã€ã«ãµã€ãºã®äžéãâãã®å€ãã倧ããªãã¡ã€ã«ã¯æ€ç«ãããŸãããâã¯ãªã©ã³ãã£ã³ã®å®¹éãè¶ ããç°åžžã«å€§ããªãã¡ã€ã«ãµã€ãºã«ããæ»æã§ãâã¡ã¢ãªãŒãç¡é§ã«æ¶è²»ãããã®ãé²ãæå³ã§éèŠã§ããâããã©ã«ãèšå®ã¯ïŒïŒïŒ¢ã§ãã
- æ€ç«ã®ããã«å©çšããæ倧ã¡ã¢ãªãŒéãâå šã¡ã¢ãªãŒéã䜿çšããããšãâãã®ç¯å²å ã«åãŸãããå€ããã¡ã€ã«ãåé€ã®å¯Ÿè±¡ãšãªããŸããâã¯ãªã©ã³ãã£ã³ã®å®¹éãè¶ ããç°åžžã«å€§ããªãã¡ã€ã«ãµã€ãºã«ããæ»æã§ãâã¡ã¢ãªãŒãç¡é§ã«æ¶è²»ãããã®ãé²ãæå³ã§éèŠã§ããâããã©ã«ãèšå®ã¯ïŒïŒïŒïŒ¢ã§ãã
- æ€ç«ã«ååšã§ãããã¡ã€ã«ã®æ倧æ°ãâæ€ç«ãã¡ã€ã«ã«æ°ãããã¡ã€ã«ãè¿œå ããããšããã®æ°ãè¶ ããå Žåãæ®ãã®ãã¡ã€ã«ããã®æ°ãè¶ ããªããªããŸã§å€ããã¡ã€ã«ãåé€ãããŸããâããã©ã«ãèšå®ã¯ïŒïŒïŒã§ãã
Virus Totalçµ±åã®èšå®ã
- ãªãã·ã§ã³ã§ãããâphpMusselã¯Virus Total APIã䜿ã£ãŠãã¡ã€ã«ãã¹ãã£ã³ããããšãã§ããŸããâãŠã£ã«ã¹ãâããã€ã®æšéŠ¬ãâãã«ãŠã§ã¢ãâãã®ä»ã®æ»æã«å¯ŸããŠéåžžã«å¹æçã«æ©èœããŸããâããã©ã«ãã§ã¯Virus Total APIã䜿ã£ãã¹ãã£ãã³ã°ã¯ç¡å¹ã«ãªã£ãŠããŸããâæå¹ã«ããã«ã¯ãâVirus Totalã®APIããŒãå¿ èŠã§ããâã¡ãªããã極ããŠå€§ãããããâæå¹ã«ããããšã匷ãæšå¥šããŸããâVirus Total APIã®äœ¿çšã«ããã£ãŠã¯ãâVirus Totalã®ããã¥ã¡ã³ããŒã·ã§ã³ã«ããéããâå©çšèŠå®ãªãã³ã«ã¬ã€ãã©ã€ã³ãéµå®ããªããŠã¯ãªããŸãããâãã®çµ±åæ©èœã䜿çšããããã«ã¯ïŒâVirus TotalãšAPIã®ãµãŒãã¹èŠå®ãèªã¿åæããããšãâæäœã§ãVirus Total Public APIããã¥ã¡ã³ããŒã·ã§ã³ã®åæãèªã¿ç解ããããšïŒVirusTotalPublic API v2.0以éContentsãã³ã³ãã³ããåãŸã§ïŒã
åç §ããŠãã ããïŒ
- ããã©ã«ãèšå®ã§ã¯ãâphpMusselãVirus Total APIã䜿ã£ãŠã¹ãã£ã³ãããã¡ã€ã«ïŒçãããããã®ïŒã«ã¯å¶éããããŸããâ
vt_suspicion_level
ãã£ã¬ã¯ãã£ããç·šéããããšã®ãããâãã®å¶éãå€æŽããããšãå¯èœã§ãã
- phpMusselãVirus Total APIã䜿ã£ãã¹ãã£ãã³ã°çµæãæ€åºãšããŠæ±ãããâæ€åºã®éã¿ä»ããšããŠæ±ãã¹ããïŒâè€æ°ã®ãšã³ãžã³ïŒVirus Totalã®ããã«ïŒã䜿çšããã¹ãã£ãã³ã°ã¯ãâæ€åºçã®åäžïŒããå€ãã®ãã«ãŠã§ã¢ãæ€åºïŒãããããäžæ¹ã§èª€æ€åºã®å¢å ãæããããâãã®ãã£ã¬ã¯ãã£ããååšããŸããâãããã£ãŠãâã¹ãã£ãã³ã°çµæã¯ãâ決å®çå€æã§ã¯ãªãä¿¡é Œã¹ã³ã¢ãšããŠå©çšããæ¹ãé©åœãªã±ãŒã¹ããããŸããâå€ãïŒã®å ŽåãâVirus Total APIã䜿ã£ãã¹ãã£ã³ã¯æ€åºãšããŠæ±ãããâVirus Totalã®ãšã³ãžã³ããã«ãŠã§ã¢ãšãã©ã°ãä»ãããã¡ã€ã«ã¯ãâphpMusselããã«ãŠã§ã¢ãšå€æããŸããâãã®ä»ã®å€ã®å Žåã¯çµæã¯æ€åºã®éã¿ä»ããšãªããâã¹ãã£ã³ããããã¡ã€ã«ããã«ãŠã§ã¢ãã©ããphpMusselãå€æããããã®ä¿¡é Œã¹ã³ã¢ïŒãããã¯æ€åºã®éã¿ä»ãïŒãšãªããŸãïŒå€ã¯ãã«ãŠã§ã¢ãšå€æããããã®æå°ä¿¡é Œã¹ã³ã¢ãâãããã¯éã¿ïŒãâããã©ã«ãå€ã¯ïŒã§ãã
- Virus Total APIã®ããã¥ã¡ã³ããŒã·ã§ã³ã«ãããšãïŒåéã®ã¿ã€ã ãã¬ãŒã ã®éã«ãªã¯ãšã¹ãã¯æ倧ïŒåãã®äžéããããŸããâãããŒã¯ã©ã€ã¢ã³ãããããŒãããçã®ãªãŒãã¡ãŒã·ã§ã³ã䜿çšããâãªããŒããåãåãã ãã§ãªããâVirusTotal ã«ãªãœãŒã¹ãæäŸããŠããã°ãâäžéã¯åŒãäžããããŸããâphpMussel ã®ããã©ã«ãã§ã¯æ倧ïŒåãéµå®ããŠããŸãããâåè¿°ã®äºæ
ãããâãã®ïŒã€ã®ãã£ã¬ã¯ããªãæºåããâç¶æ³ã«åãããŠå€æŽã§ããããã«ãªã£ãŠããŸããâå¶éã«éããŠããŸããšãã£ãäžéœåãåé¡ããªãéãããã©ã«ãå€ãå€æŽããããšã¯å§ããããŸããããâå€ãå°ããããããšãé©åœãªã±ãŒã¹ããããŸããâäžéã¯ã¿ã€ã ãã¬ãŒã
vt_quota_time
ïŒãŽã£ãã£ã»ã¯ã©ãŒã¿ã»ã¿ã€ã ïŒã åå ã«ãvt_quota_rate
ïŒãŽã£ãã£ã»ã¯ã©ãŒã¿ã»ã¬ãŒãïŒã§èšå®ããŸãã
- ïŒäžèšã®èª¬æãåç §ïŒã
URLã¹ãã£ããŒã®èšå®ã
- å¿ èŠãªïŒ¡ïŒ°ïŒ©éµãå®çŸ©ãããã°ãâã®Google Safe Browsing APIã«ãã¯ã¢ãããæå¹ã«ãªããŸãã
åç §ããŠãã ããïŒ
- ã¹ãã£ã³å埩ã«ãããAPIã«ãã¯ã¢ããã®æ倧åæ°ãâAPIã«ãã¯ã¢ããã®åºŠã«ã¹ãã£ã³å埩ã®æéãç©ã¿éãªã£ãŠããŸãã®ã§ãâã¹ãã£ã³åŠçã®é床åäžã®ãããâå¶éãèšããããšèãããããããŸãããâïŒã¯å¶éãªããæå³ããŸããâããã©ã«ãã¯ïŒïŒã§ãã
- APIã«ãã¯ã¢ããã®åæ°å¶éãè¶
ããæã®å¯Ÿå¿ã§ããâ
false
ïŒåœïŒ = äœãããªã/åŠçãç¶ç¶ããïŒDefault/ããã©ã«ãïŒïŒâtrue
ïŒçïŒ = ãã¡ã€ã«ã«ãã©ã°ãä»ãã/ãããã¯ããã
- ã«ãã¯ã¢ããã®çµæãã©ãããããã£ãã·ã¥ãããïŒç§åäœã§ãïŒïŒâããã©ã«ãã¯ïŒïŒïŒïŒç§ïŒäžæéïŒã
æ³çèŠä»¶ã®èšå®ã
- ãã°ã»ãã¡ã€ã«ãæžã蟌ããšãã«ïŒ©ïŒ°ã¢ãã¬ã¹åœååãããããã»ãŠãŒãããã€ãºãïŒ True = ã¯ãïŒDefault/ããã©ã«ã«ãïŒã False = ãããã
- çæãããããŒãžã®ããã¿ãŒã«è¡šç€ºãããé¢é£ãã©ã€ãã·ãŒã»ããªã·ãŒã®ã¢ãã¬ã¹ãâãæå®ããããç¡å¹ã«ãããå Žåã¯ç©ºçœã®ãŸãŸã«ããŠäžããã
è£è¶³ãã£ãã·ã¥ã»ãªãã·ã§ã³ã 泚ïŒãããã®å€ãå€æŽãããšããã°ã¢ãŠãããå¯èœæ§ããããŸãã
- ããã§æå®ãããå€ã¯ããã¹ãŠã®ãã£ãã·ã¥ã»ãšã³ããªã»ããŒã®åã«è¿œå ãããŸããâããã©ã«ãã§ã¯ç©ºã§ããâåããµãŒããŒã«è€æ°ã®ã€ã³ã¹ããŒã«ãååšããå Žåãããã¯ãã£ãã·ã¥ãäºãã«åé¢ããŠããã®ã«åœ¹ç«ã¡ãŸãã
- ãã£ãã·ã¥ã«ãAPCuãã䜿çšãããã©ãããæå®ããŸãã Default/ããã©ã«ã«ã = Falseã
- ãã£ãã·ã¥ã«ãMemcachedãã䜿çšãããã©ãããæå®ããŸãã Default/ããã©ã«ã«ã = Falseã
- ãã£ãã·ã¥ã«ãRedisãã䜿çšãããã©ãããæå®ããŸãã Default/ããã©ã«ã«ã = Falseã
- ãã£ãã·ã¥ã«ãPDOãã䜿çšãããã©ãããæå®ããŸãã Default/ããã©ã«ã«ã = Falseã
- Memcachedã®ãã¹ãå€ã Default/ããã©ã«ã«ã = ãlocalhostãã
- Memcachedã®ããŒãå€ã Default/ããã©ã«ã«ã = ã11211ãã
- Redisã®ãã¹ãå€ã Default/ããã©ã«ã«ã = ãlocalhostãã
- Redisã®ããŒãå€ã Default/ããã©ã«ã«ã = ã6379ãã
- Redisã®ã¿ã€ã ã¢ãŠãå€ã Default/ããã©ã«ã«ã = ã2.5ãã
- PDOã®DSNå€ã Default/ããã©ã«ã«ã = ãmysql:dbname=phpmussel;host=localhost;port=3306ãã
- PDOã®ãŠãŒã¶ãŒåã
- PDOã®ãã¹ã¯ãŒãã
ããã³ããšã³ãã®èšå®ã
- ããã³ããšã³ãã»ãã°ã€ã³ã®è©Šã¿ãèšé²ããããã®ãã¡ã€ã«ãâãã¡ã€ã«åæå®ããããâç¡å¹ã«ãããå Žåã¯ç©ºçœã®ãŸãŸã«ããŠäžããã
- ãã°ã€ã³è©Šè¡ã®æ倧åæ°ïŒããã³ããšã³ãïŒãâDefaultïŒããã©ã«ãèšå®ïŒ = ïŒã
- ã©ã®ããã«æ°åã衚瀺ããã®ã奜ãã§ããïŒâããªãã«äžçªæ£ããäŸãéžæããŠãã ããã
numbers
ââNoSep-1 ("1234567.89")
ââNoSep-2 ("1234567,89")
ââLatin-1 ("1,234,567.89")
ââLatin-2 ("1â¯234â¯567.89")
ââLatin-3 ("1.234.567,89")
ââLatin-4 ("1â¯234â¯567,89")
ââLatin-5 ("1,234,567·89")
ââChina-1 ("123,4567.89")
ââIndia-1 ("12,34,567.89")
ââIndia-2 ("१ग़,३४,५६à¥.८९ (à€Šà¥à€µà€šà€Ÿà€à€°à¥)")
ââIndia-3 ("૧૚,૩૪,૫૬à«.૮૯ (àªà«àªàª°àªŸàª€à«)")
ââIndia-4 ("੧ਗ਼,੩੪,੫੬à©.੮੯ (àšà©àš°àš®à©àšà©)")
ââIndia-5 ("೧೚,೩೪,೫೬à³.೮೯ (à²à²šà³à²šà²¡)")
ââIndia-6 ("౧ౚ,౩౪,౫౬à±.౮౯ (à°€à±à°²à±à°à±)")
ââArabic-1 ("١٢٣ـ٥ي٧٫ٚ٩")
ââArabic-2 ("١٬٢٣ـ٬٥ي٧٫ٚ٩")
ââArabic-3 ("Û±Ù¬Û²Û³ÛŽÙ¬ÛµÛ¶Û·Ù«ÛžÛ¹")
ââArabic-4 ("Û±Û²Ù¬Û³ÛŽÙ¬ÛµÛ¶Û·Ù«ÛžÛ¹")
ââBengali-1 ("১৚,৩৪,৫৬à§.৮৯ (àŠ¬àŠŸàŠàŠ²àŠŸ àŠžàŠàŠà§àŠ¯àŠŸàŠžàŠ®à§àŠ¹)")
ââBurmese-1 ("ááááá
áá.áá")
ââKhmer-1 ("á¡.á¢á£á€.á¥áŠá§,ášá©")
ââLao-1 ("à»à»à»à»à»à»à».à»à»")
ââThai-1 ("à¹,à¹à¹à¹,à¹à¹à¹.à¹à¹")
ââThai-2 ("à¹à¹à¹à¹à¹à¹à¹.à¹à¹")
ââJavanese ("ê§ê§ê§ê§ê§ê§ê§.ê§ê§")
ââOdia ("à§àšà©àªà«à¬à.à®à¯")
ââTibetan ("àŒ¡àŒ¢àŒ£àŒ€àŒ¥àŒŠàŒ§.àŒšàŒ©")
- å°æ¥ã®ãã¹ãŠã®ãã¹ã¯ãŒããšã»ãã·ã§ã³ã«äœ¿çšããã¢ã«ãŽãªãºã ãå®çŸ©ããŸããâãªãã·ã§ã³ïŒâPASSWORD_DEFAULTïŒDefault/ããã©ã«ã«ãïŒãâPASSWORD_BCRYPTãâPASSWORD_ARGON2I ïŒïŒ°ïŒšïŒ° >= 7.2.0 ãå¿ èŠïŒãâPASSWORD_ARGON2ID ïŒïŒ°ïŒšïŒ° >= 7.3.0 ãå¿ èŠïŒã
default_algo
ââPASSWORD_DEFAULT ("PASSWORD_DEFAULT")
ââPASSWORD_BCRYPT ("PASSWORD_BCRYPT")
ââPASSWORD_ARGON2I ("PASSWORD_ARGON2I (PHP >= 7.2.0)")
ââPASSWORD_ARGON2ID ("PASSWORD_ARGON2ID (PHP >= 7.3.0)")
- phpMusselããã³ããšã³ãã«äœ¿çšããçŸåŠã
theme
ââdefault ("Default")
âârbi ("Red-Blue Inverted")
ââslate ("Slate")
ââbluemetal ("Blue Metal")
ââmoss ("Moss")
ââfullmoon ("Full Moon")
âââŠãã®ä»
- ãã©ã³ãã®åçãâDefault/ããã©ã«ã«ã = ïŒã
ã¢ããããŒãã»ãã³ãã©ã®èšå®ã
- ãããã¯ããããã¹ãŠã®ã¢ããããŒããèšé²ããå Žæãâãã¡ã€ã«åæå®ããããâç¡å¹ã«ãããå Žåã¯ç©ºçœã®ãŸãŸã«ããŠäžããã
- ã¢ããããŒããã¡ã€ã«ããããã¯ãããã¡ãã»ãŒãžãšå ±ã«ãâphpMusselããïŒïŒïŒããããŒãéãã¹ãããâéåžžã®ïŒïŒïŒã§ãããã©ããã«ã€ããŠãâFalseïŒåœïŒ=ãããïŒïŒïŒïŒïŒïŒâTrueïŒçïŒ=ã¯ãïŒïŒïŒïŒïŒãDefault/ããã©ã«ãèšå®ãã
- ãã©ãã¯ãªã¹ãã«ç»é²ãããŠãããã¡ã€ã«ã»ã¿ã€ããåå ã§ã¢ããããŒãããããã¯ãããå ŽåãphpMusselã¯ãïŒïŒïŒããããŒãéä¿¡ããå¿
èŠããããŸããïŒâTrueã®å Žåããã®èšå®ã¯
forbid_on_block
ãããåªå ãããŸããâFalseïŒåœïŒ=ããããDefault/ããã©ã«ãèšå®ãïŒâTrueïŒçïŒ=ã¯ãã
- äžåºŠã«ã¹ãã£ã³ã§ããã¢ããããŒããã¡ã€ã«æ°ã®äžéã§ãâãããè¶ ãããšã¹ãã£ã³ãäžæããâãŠãŒã¶ãŒã«ãã®æšãç¥ãããâè«çæ»æããã®ä¿è·ãšããŠæ©èœããŸããâã·ã¹ãã ãïŒïŒ³ãïœïŒ³æ»æã«ãããâphpMusselããªãŒããŒããŒãããŠïŒ°ïŒšïŒ°ããã»ã¹ã«æ¯éããããããšããªãããã«ããããã§ããâæšå¥šæ°ã¯ïŒïŒã§ãããâããŒããŠã§ã¢ã®ã¹ããŒãã«ãã£ãŠã¯ãâãã以äž/以äžããããšããããšãããã§ããããâãã®æ°ã¯ãâã¢ãŒã«ã€ãã®ã³ã³ãã³ãã¯å«ãŸãªãããšãèŠããŠãããŠäžããã
- ã·ã¹ãã äžã§phpMusselã®æ©èœã«ä¿®æ£ãå¿
èŠã§ãªãéãã¯ãã®ãã£ã¬ã¯ãã£ãã¯éåžžç¡å¹ã§ããâç¡å¹ã«èšå®ãããšãâ
$_FILES
array()ã«èŠçŽ ã®ååšãæ€ç¥ãããšããâãã®èŠçŽ ãè¡šããã¡ã€ã«ã®ã¹ãã£ã³ãéå§ãããâèŠçŽ ã空çœãç¡ã§ããã°phpMusselã¯ãšã©ãŒã¡ãã»ãŒãžãè¿ããŸããâããã¯æ¬æ¥phpMusselãããã¹ã姿ã§ããâãããïŒïŒ³ã«ãããŠã¯ãâ$_FILESã®ç©ºèŠçŽ ã¯æ®éã«çºçãããã®ã§ãããâæ£åžžãªphpMusselã®æåãæ£åžžãªïŒ£ïŒïŒ³ã®æåãé»å®³ããæãããããŸããâãã®ãããªå Žåã¯ãâæ¬ãªãã·ã§ã³ãæå¹ã«ããŠãâphpMusselã空èŠçŽ ãã¹ãã£ã³ããŠãšã©ãŒã¡ãã»ãŒãžãè¿ãã®ãé¿ããâèŠæ±ã®ãã£ãããŒãžãžã¹ã ãŒãºã«é²ãããšãã§ããããã«ããŸããâFalseïŒåœïŒ=ããªããã§ããtrue
ïŒçïŒ=ããªã³ãã§ãã
- ãã¢ããããŒãæåŠãããŒãžã§äœ¿çšããçŸåŠã
theme
ââdefault ("Default")
âârbi ("Red-Blue Inverted")
ââslate ("Slate")
ââbluemetal ("Blue Metal")
ââmoss ("Moss")
ââfullmoon ("Full Moon")
âââŠãã®ä»
- ãã©ã³ãã®åçãâDefault/ããã©ã«ã«ã = ïŒã
PHPMailerã®èšå®ïŒäºèŠçŽ èªèšŒã«äœ¿çšãããŸãïŒã
- PHPMailerã«é¢é£ããŠãã¹ãŠã®ã€ãã³ããèšé²ããããã®ãã¡ã€ã«ãâãã¡ã€ã«åæå®ããããâç¡å¹ã«ãããå Žåã¯ç©ºçœã®ãŸãŸã«ããŠäžããã
- ãã®ãã£ã¬ã¯ãã£ãã¯ãããã³ããšã³ãã»ã¢ã«ãŠã³ãã«ïŒïŒŠïŒ¡ã䜿çšãããã©ããã決å®ããŸãã
- ã¢ããããŒãããããã¯ããããšãã«ïŒ¥ã¡ãŒã«ã§éç¥ãåãåãããå Žåã¯ãããã§åä¿¡è ã®ïŒ¥ã¡ãŒã«ã»ã¢ãã¬ã¹ãæå®ããŸãã
- ãã®ãã£ã¬ã¯ãã£ãã
true
ã«èšå®ãããšãPHPMailerã¯SMTPçµç±ã§é»åã¡ãŒã«ãéä¿¡ããéã«éåžžçºçããèªèšŒããã»ã¹ãã¹ãããããŸããâãã®ããã»ã¹ãã¹ããããããšãé信ã¡ãŒã«ãïŒïŒ©ïŒŽïŒæ»æã«ãããããå¯èœæ§ããããããããã¯é¿ããã¹ãã§ããâããããPHPMailerãSMTPãµãŒãã«æ¥ç¶ã§ããªãå Žåããã®ããã»ã¹ãå¿ èŠãªå ŽåããããŸãã
- é信ã¡ãŒã«ã«äœ¿çšããïŒïŒŽïŒ°ãã¹ãã
- é信ã¡ãŒã«ã«äœ¿çšããããŒãçªå·ãâDefault/ããã©ã«ã«ã = 587ã
- ïŒïŒŽïŒ°çµç±ã§é»åã¡ãŒã«ãéä¿¡ãããšãã«äœ¿çšãããããã³ã«ïŒïŒŽïŒ¬ïŒ³ãŸãã¯ïŒ³ïŒ³ïŒ¬ïŒã
smtp_secure
ââdefault ("-")
ââtls ("TLS")
ââssl ("SSL")
- ãã®ãã£ã¬ã¯ãã£ãã¯ãïŒïŒŽïŒ°ã»ãã·ã§ã³ãèªèšŒãããã©ããã決å®ããŸãïŒéåžžã¯ããããã®ãŸãŸæ®ãã¹ãã§ãïŒã
- ïŒïŒŽïŒ°çµç±ã§é»åã¡ãŒã«ãéä¿¡ãããšãã«äœ¿çšãããŠãŒã¶ãŒåã
- ïŒïŒŽïŒ°çµç±ã§é»åã¡ãŒã«ãéä¿¡ãããšãã«äœ¿çšãããã¹ã¯ãŒãã
- ïŒïŒŽïŒ°çµç±ã§é»åã¡ãŒã«ãéä¿¡ãããšãã«åŒçšããéä¿¡è ã¢ãã¬ã¹ã
- ïŒïŒŽïŒ°çµç±ã§é»åã¡ãŒã«ãéä¿¡ãããšãã«åŒçšããéä¿¡è åã
- ïŒïŒŽïŒ°çµç±ã§é»åã¡ãŒã«ãéä¿¡ãããšãã«åŒçšããè¿ä¿¡ã¢ãã¬ã¹ã
- ïŒïŒŽïŒ°çµç±ã§é»åã¡ãŒã«ãéä¿¡ãããšãã«åŒçšããè¿ä¿¡åã
åç §ïŒ
phpMusselã·ã°ããã£ã»ãã¡ã€ã«ã®æåã®9ãã€ãïŒ[x0-x8]
ïŒã¯phpMussel
ã§ãããâãããžãã¯ã»ãã³ããŒãïŒmagic numberïŒãšããŠæ©èœããŸãïŒããããã·ã°ããã£ã»ãã¡ã€ã«ãšããŠèå¥ããããã«ïŒãâã·ã°ããã£ã»ãã¡ã€ã«ã§ã¯ãªããã¡ã€ã«ã誀ã£ãŠäœ¿çšããã®ãé²ãã®ã«åœ¹ç«ã¡ãŸããâ次ã®ãã€ãïŒ[x9]
ïŒã¯ãã·ã°ããã£ã»ãã¡ã€ã«ã®ã¿ã€ããèå¥ãããâã·ã°ããã£ã»ãã¡ã€ã«ãæ£ãã解éã§ããããã«ããããã«ãããç¥ã£ãŠããå¿
èŠããããŸããâ次ã®ã¿ã€ãã®ã·ã°ããã£ã»ãã¡ã€ã«ãèªèãããŸãã
ã¿ã€ã | ãã€ã | 説æ |
---|---|---|
General_Command_Detections |
0? |
ïŒã«ã³ãåºåãã®å€ïŒã®ã·ã°ããã£ã»ãã¡ã€ã«ãâã·ã°ããã£ã¯ïŒïŒé²æ°ã§ãšã³ã³ãŒããããæååã§ããâããã®âã·ã°ããã£ã«ã¯ãååããã®ä»ã®è©³çŽ°ã¯ãããŸããïŒæ€åºããæååã®ã¿ïŒã |
Filename |
1? |
ãã¡ã€ã«åã®âã·ã°ããã£ã |
Hash |
2? |
ããã·ã¥ã»ã·ã°ããã£ã |
Standard |
3? |
ãã¡ã€ã«ã³ã³ãã³ãã§çŽæ¥åäœããâã·ã°ããã£ã»ãã¡ã€ã«ã |
Standard_RegEx |
4? |
ãã¡ã€ã«ã³ã³ãã³ãã§çŽæ¥åäœããâã·ã°ããã£ã»ãã¡ã€ã«ãâã·ã°ããã£ã«ã¯æ£èŠè¡šçŸãå«ããããšãã§ããŸãã |
Normalised |
5? |
æšæºåããããã¡ã€ã«ã³ã³ãã³ãã§åäœããã·ã°ããã£ã»ãã¡ã€ã«ã |
Normalised_RegEx |
6? |
æšæºåããããã¡ã€ã«ã³ã³ãã³ãã§åäœããã·ã°ããã£ã»ãã¡ã€ã«ãâã·ã°ããã£ã«ã¯æ£èŠè¡šçŸãå«ããããšãã§ããŸãã |
HTML |
7? |
ïŒïŒ¬æšæºåããããã¡ã€ã«ã³ã³ãã³ãã§åäœããã·ã°ããã£ã»ãã¡ã€ã«ã |
HTML_RegEx |
8? |
ïŒïŒ¬æšæºåããããã¡ã€ã«ã³ã³ãã³ãã§åäœããã·ã°ããã£ã»ãã¡ã€ã«ãâã·ã°ããã£ã«ã¯æ£èŠè¡šçŸãå«ããããšãã§ããŸãã |
PE_Extended |
9? |
ã¡ã¿ããŒã¿ã§åäœããã·ã°ããã£ã»ãã¡ã€ã«ïŒïŒ°ïŒ¥ã®ã»ã¯ã·ã§ã³ã»ã¡ã¿ããŒã¿ã§ã¯äœ¿çšã§ããŸããïŒã |
PE_Sectional |
A? |
ã»ã¯ã·ã§ã³ã»ã¡ã¿ããŒã¿ã§åäœããã·ã°ããã£ã»ãã¡ã€ã«ã |
Complex_Extended |
B? |
phpMusselã«ãã£ãŠçæãããæ¡åŒµã¡ã¿ããŒã¿ã«åºã¥ããŠããŸããŸãªã«ãŒã«ã§åäœããã·ã°ããã£ã»ãã¡ã€ã«ã |
URL_Scanner |
C? |
ã§åäœããã·ã°ããã£ã»ãã¡ã€ã«ã |
次ã®ãã€ãïŒ[x10]
ïŒã¯æ¹è¡ïŒ[0A]
ïŒã§ãããphpMusselã®ã·ã°ããã£ã»ãã¡ã€ã«ã®ããããçµããŸãã
ãã®åŸã®å空ã§ãªãè¡ã¯ãâã·ã°ããã£ãŸãã¯èŠåã§ããâåã·ã°ããã£ãŸãã¯èŠåã¯ïŒè¡ãå æããŸããâãµããŒããããŠããã·ã°ããã£åœ¢åŒã¯ä»¥äžã®ãšããã§ãã
ãã¡ã€ã«åã·ã°ããã£ã®ãã©ãŒãããã¯äŸå€ãªã次ã®ããã«ãªããŸãã
NAME:FNRX
NAMEã¯ãã®ã·ã°ããã£ãæãååã§FNRXã¯ãã¡ã€ã«åïŒãšã³ã³ãŒããããŠããªãïŒã«ãããããæ£èŠè¡šçŸãã¿ãŒã³ã§ãã
ããã·ã¥ã»ã·ã°ããã£ã®ãã©ãŒãããã¯äŸå€ãªã次ã®ããã«ãªããŸãã
HASH:FILESIZE:NAME
HASHã¯ãã¡ã€ã«å šäœã®ããã·ã¥ïŒéåžžã¯ïŒïŒ€ïŒïŒãâFILESIZEã¯ãã¡ã€ã«ã®å šãµã€ãºãâNAMEã¯ãã®ã·ã°ããã£ãæãååã§ãã
ã»ã¯ã·ã§ãã«ã·ã°ããã£ã®ãã©ãŒãããã¯äŸå€ãªã次ã®ããã«ãªããŸãã
SIZE:HASH:NAME
HASHã¯ïŒ°ïŒ¥ãã¡ã€ã«ã®ããéšåã®ïŒïŒ€ïŒããã·ã¥ãâSIZEã¯ãã®éšåã®å šãµã€ãºãâNAMEã¯ã·ã°ããã£ãæãååã§ãã
æ¡åŒµã·ã°ããã£ã®ãã©ãŒãããã¯äŸå€ãªã次ã®ããã«ãªããŸãã
$VAR:HASH:SIZE:NAME
$VARã¯ãããããå€æ°ã®ååãâHASHã¯ãã®å€æ°ã®ïŒïŒ€ïŒããã·ã¥ãâãµã€ãºã¯å€æ°ã®å šãµã€ãºãâNAMEã¯ãã®ã·ã°ããã£ãæãååã§ãã
è€åæ¡åŒµã·ã°ããã£ã¯ä»ã®ã·ã°ããã£ãšã¯å°ãéããâäœã«é©åãããã¯ããèªèº«ã®ã·ã°ããã£ã«ãã£ãŠæ±ºãŸããâåºæºã¯äžã€ã§ã¯ãããŸãããâé©ååºæºã¯ã;ãã«ãããâé©åã¿ã€ããâé©åããŒã¿ã¯ã:ãã«ãããŸããâãããã£ãŠãã©ãŒãããã¯ãâ$å€æ°ïŒ:äœããã®ããŒã¿;$å€æ°ïŒ:SOMEDATA;äœããã®ããŒã¿ã®ããã«ãªããŸãã
$variable1:SOMEDATA;$variable2:SOMEDATA;SignatureName
ãã®ä»ã®ã·ã°ããã£ã®ãã©ãŒãããã§ãã
NAME:HEX:FROM:TO
NAMEã¯ãã®ã·ã°ããã£ãæãååãâHEXã¯äžããããã·ã°ããã£ã«ããé©åãèŠããã¡ã€ã«ã®ïŒïŒé²æ³ã«ãšã³ã³ãŒããããã»ã°ã¡ã³ãã§ãã FROMãšTOã¯ãªãã·ã§ã³ã»ãã©ã¡ãŒã¿ã§ãâããŒã¿ãœãŒã¹ã®ã©ãããã©ããŸã§ãã§ãã¯ãããã瀺ããŸãïŒã¡ãŒã«æ©èœã§ã¯ãµããŒãããŠããŸããïŒã
ãæ£èŠè¡šçŸãšå€æãåŠçãããã©ãŒãããã§ããã°ãâphpMusselãšã·ã°ããã£ã«ãã£ãŠééããªãåŠçãããŸããâããã念ã®ãããâã·ã°ããã£ãåºç€ãšããæ£èŠè¡šçŸãæ°èŠã«äœæããå Žåã¯çŽ°å¿ã®æ³šæãæã£ãŠäžãããâ絶察çãªèªä¿¡ããªãç¶æ³ã§ã¯ãâæããããªããšã©ãŒãçºçããããŸãããâæ£èŠè¡šçŸã¹ããŒãã¡ã³ãã解æãããŠããã³ã³ããã¹ããå®å šã«ç解ããŠããªããªãã°ãâphpMusselã®ã³ãŒããèŠãŠäžãããâãã¿ãŒã³ã¯å šãŠïŒãã¡ã€ã«åãâã¢ãŒã«ã€ãã»ã¡ã¿ããŒã¿ãâïŒïŒ€ïŒãã¿ãŒã³ãé€ãïŒïŒïŒé²æ³ã§ãšã³ã³ãŒããããªããã°ãªããªãç¹ã«æ³šæ(äžèšã®ãã¿ãŒã³æ§æã)ã§ãïŒ
phpMusselãšäžéšã®ã¢ã³ããŠã€ã«ã¹ã»ãã³ããŒéã®äºææ§ã®åé¡ã¯ãéå»ã«æã çºçããããšãç¥ãããŠããŸããâããã§ããããæ°ã¶æããšã«ãphpMusselã³ãŒãããŒã¹ã®ææ°ããŒãžã§ã³ãVirus Totalã§ãã§ãã¯ããåé¡ãå ±åãããŠãããã©ããã確èªããŸããâåé¡ãå ±åãããå Žåãç§ã¯ãå ±åãããåé¡ãããã¥ã¡ã³ãã«ãªã¹ãããŸãã
æè¿ãã§ãã¯ãããšãïŒïŒïŒïŒïŒå¹ŽïŒïŒæïŒïŒæ¥ïŒãåé¡ã¯å ±åãããŸããã§ããã
ç§ã¯ãã·ã°ããã£ã»ãã¡ã€ã«ãããã¥ã¡ã³ããŒã·ã§ã³ããŸãã¯ãã®ä»ã®åšèŸºã³ã³ãã³ãããã§ãã¯ããŸãããâã·ã°ããã£ã»ãã¡ã€ã«ã¯ãä»ã®ã¢ã³ããŠã€ã«ã¹ã»ãœãªã¥ãŒã·ã§ã³ãæ€åºãããšãåžžã«ããã€ãã®èª€æ€ç¥ãåŒãèµ·ãããŸããâãããã£ãŠãå¥ã®ã¢ã³ããŠã€ã«ã¹ã»ãœãªã¥ãŒã·ã§ã³ãæ¢ã«ååšãããã·ã³ã«phpMusselãã€ã³ã¹ããŒã«ããå Žåã¯ãphpMusselã·ã°ããã£ã»ãã¡ã€ã«ããã¯ã€ããªã¹ãã«ç»é²ããããšã匷ããå§ãããŸãã
åç §ïŒâäºææ§ãã£ãŒãã
- ãã·ã°ããã£ããšã¯äœã§ããïŒ
- ãåœéœæ§ããšã¯äœã§ããïŒ
- ã·ã°ããã£ã¯ã©ããããã®é »åºŠã§ã¢ãããã€ããããŸããïŒ
- phpMusselã䜿çšããŠãããšãã«åé¡ãçºçããŸããããâäœããã¹ããããããŸããïŒâå©ããŠãã ããïŒ
- 7.2.0ããå€ãããŒãžã§ã³ã§phpMussel v3ã䜿çšããããšæããŸãïŒâæäŒã£ãŠãããŸããïŒ
- è€æ°ã®ãã¡ã€ã³ãä¿è·ããããã«ïŒã€ã®phpMusselã€ã³ã¹ããŒã«ã䜿çšã§ããŸããïŒ
- ç§ã¯ãããã€ã³ã¹ããŒã«ããããâãããç§ã®ãŠã§ããµã€ãäžã§åäœããããšãä¿èšŒããæéãè²»ãããâã«ããããªãïŒâããã§ããŸããïŒâç§ã¯ããªããéãããšãã§ããŸããïŒ
- ããªããŸãã¯ãã®ãããžã§ã¯ãã®ä»»æã®éçºè ã¯éçšå¯èœã§ããïŒ
- ç§ã¯å°é家ã®å€æŽãâã«ã¹ã¿ã åãâçãå¿ èŠã§ãïŒâæäŒã£ãŠãããŸããïŒ
- ç§ã¯éçºè ãâãŠã§ããµã€ããã¶ã€ããŒãâãŸãã¯ããã°ã©ããŒã§ããâãã®ãããžã§ã¯ãã«é¢é£ããäœæ¥ãè¡ãããšã¯ã§ããŸããïŒ
- ç§ã¯ãããžã§ã¯ãã«è²¢ç®ãããïŒâããã¯ã§ããŸããïŒ
- ãã¡ã€ã«ã®ã¹ãã£ã³æã«ç¹å®ã®è©³çŽ°æ å ±ã«ã¢ã¯ã»ã¹ããã«ã¯ã©ãããã°ããã§ããïŒ
- ãã©ãã¯ãªã¹ã â ãã¯ã€ããªã¹ã â ã°ã¬ãŒãªã¹ã â 圌ãã¯äœã§ããïŒç§ã¯ã©ã®ããã«äœ¿çšããŸããïŒ
- ãPDO DSNããšã¯äœã§ããïŒâphpMusselã§PDOã䜿çšããã«ã¯ã©ãããã°ããã§ããïŒ
- ç§ã®ã¢ããããŒãæ©èœæ§ã¯éåæã§ãïŒäŸãã°ãajaxãajajãjsonããªã©ã䜿çšããŸãïŒãâã¢ããããŒãããããã¯ããããšãã«ç¹å¥ãªã¡ãã»ãŒãžãèŠåã衚瀺ãããŸãããâäœãèµ·ãã£ãŠããŸããïŒ
- phpMusselã¯EICARãæ€åºã§ããŸããïŒ
phpMusselã®ã³ã³ããã¹ãã§ã¯ãâãã·ã°ããã£ããšã¯ãâç§ãã¡ãæ¢ããŠãããã®ãç¹å®ããããŒã¿ãæããŸãïŒãŠã€ã«ã¹ãâããã€ã®æšéŠ¬ãªã©ïŒãâãã®ããŒã¿ã¯ãâéåžžãâãã¡ã€ã«ã®ãã§ãã¯ãµã ãâããã·ã¥ãâãŸãã¯ä»ã®åæ§ã«èå¥ããã€ã³ãžã±ãŒã¿ã§ããâéåžžãâã©ãã«ãè¿œå ã®ã³ã³ããã¹ããæäŸããããã®ãã®ä»ã®ããŒã¿ãå«ãŸããŠããŸãã
äžè¬åãããæèã§ç°¡åã«èª¬æãâæ¡ä»¶ã®ç¶æ ããã¹ããããšãã«ãâçµæãåç §ããç®çã§ãâçšèªãåœéœæ§ãïŒãŸãã¯ïŒåœéœæ§ã®ãšã©ãŒãâèå ±ïŒ è±èªïŒâfalse positive; false positive error; false alarmïŒã®æå³ã¯ãâçµæã¯ãéœæ§ãã®ããã§ããâãããçµæã¯ééãã§ãïŒå³ã¡ãâçã®æ¡ä»¶ã¯ãéœæ§/çããšã¿ãªãããŸããâãããããã¯æ¬åœã«ãé°æ§/åœãã§ãïŒãâãåœéœæ§ãã¯ãæ³£ãçŒãã«é¡äŒŒããŠãããšèããããšãã§ããŸãïŒãã®ç¶æ ã¯çŸ€ã®è¿ãã«çŒããããã©ããã§ãããâçã®æ¡ä»¶ã¯ãåœ/é°æ§ãã§ããâ矀ãã®è¿ãã«çŒããªãããã§ããâãããæ¡ä»¶ã¯ãç/éœæ§ããšããŠå ±åãããŸããâçŸé£ŒãããçŒïŒâçŒïŒâããå«ãã ããã§ãïŒãâãŸãã¯ãâå»çæ€æ»ã«é¡äŒŒãâæ£è ã誀ã£ãŠèšºæããããšãã
ããã€ãã®é¢é£ããçšèªã¯ãâãçéœæ§ããâãçé°æ§ããâãšãåœé°æ§ãã§ããâãããã®çšèªã瀺ãæå³ïŒâãçéœæ§ãã®æå³ã¯ãâãã¹ãçµæãšçã®æ¡ä»¶ãçã§ãïŒå³ã¡ãâãéœæ§ãã§ãïŒãâãçé°æ§ãã®æå³ã¯ãâãã¹ãçµæãšçã®æ¡ä»¶ãåœã§ãïŒå³ã¡ãâãé°æ§ãã§ãïŒãâãçéœæ§ããšãçé°æ§ãã¯ãæ£ããæšè«ããšã¿ãªãããŸããâãåœéœæ§ãã®å察ã¯ãåœé°æ§ãã§ããâãåœé°æ§ãã®æå³ã¯ãâãã¹ãçµæãåœã§ãïŒå³ã¡ãâãé°æ§ãã§ãïŒãâããããâçã®æ¡ä»¶ãæ¬åœã«çã§ãïŒå³ã¡ãâãéœæ§ãã§ãïŒïŒâäž¡æ¹ãã¹ãçµæãšçã®æ¡ä»¶ãâããç/éœæ§ããã¹ãã§ããã¯ãã§ãã
phpMusselã®æèã§ãâãããã®çšèªã¯ãâphpMusselã®ã·ã°ããã£ãšãããããããã¯ãããã¡ã€ã«ãæããŸããâphpMusselã誀ã£ãŠãã¡ã€ã«ããããã¯ãããšïŒäŸãã°ãâäžæ£ç¢ºãªã·ã°ããã£ãâæ代é ãã®ã·ã°ããã£ãªã©ã«ããïŒãâæã ã¯ãã®ã€ãã³ããåœéœæ§ãã®ãåŒã³åºããŸããâphpMusselããã¡ã€ã«ããããã¯ã§ããªãã£ãå ŽåïŒäŸãã°ãâäºæãã¬è åšãâã·ã°ããã£ã®æ¬ èœãªã©ã«ããïŒãâæã ã¯ãã®ã€ãã³ããäžåšæ€åºãã®ãåŒã³åºããŸãïŒãåœé°æ§ãã®ã¢ããã°ã§ãïŒã
ããã¯ãâ以äžã®è¡šã«èŠçŽããããšãã§ããŸãã
 | phpMusselã¯ãâãã¡ã€ã«ããããã¯å¿ èŠããããŸãã | phpMusselã¯ãâãã¡ã€ã«ããããã¯å¿ èŠããããŸã |
---|---|---|
phpMusselã¯ãâãã¡ã€ã«ããããã¯ããŸãã | çé°æ§ïŒæ£ããæšè«ïŒ | äžåšæ€åºïŒããã¯ãåœé°æ§ããšåãã§ãïŒ |
phpMusselã¯ãâãã¡ã€ã«ããããã¯ããŸã | åœéœæ§ | çéœæ§ïŒæ£ããæšè«ïŒ |
ã¢ãããã€ãé »åºŠã¯ãâã·ã°ããã£ã»ãã¡ã€ã«ã«ãã£ãŠç°ãªããŸããâphpMusselã®ã·ã°ããã£ã»ãã¡ã€ã«ã®ãã¹ãŠã®ã¡ã³ãããŒãé »ç¹ã«ã¢ãããã€ããè©Šã¿ããâããããâç§ãã¡ã®çæ§ã«ã¯ãâä»ã«ãããŸããŸãªã³ãããã¡ã³ãããããâç§ãã¡ã¯ãããžã§ã¯ãã®å€ã§ç掻ããŠãããâãšèª°ã財æ¿çã«è£åãããŠããªããâãããã£ãŠãâæ£ç¢ºãªã¢ãããã€ãã¹ã±ãžã¥ãŒã«ã¯ä¿èšŒãããŸãããâäžè¬ã«ãâååãªæéãããã°ã·ã°ããã£ãã¢ãããã€ããããŸããâããªããäœããæäŸã§ããã®ã§ããã°ãâæŽå©ã¯åžžã«é«ãè©äŸ¡ãããŸãã
phpMusselã䜿çšããŠãããšãã«åé¡ãçºçããŸããããâäœããã¹ããããããŸããïŒâå©ããŠãã ããïŒ
- ããªãã¯ææ°ã®ãœãããŠã§ã¢ããŒãžã§ã³ã䜿çšããŠããŸããïŒâããªãã¯ææ°ã®ã·ã°ããã£ã»ãã¡ã€ã«ããŒãžã§ã³ã䜿çšããŠããŸããïŒâããã§ãªãå Žåã¯ãâãŸããã¹ãŠãã¢ãããã€ãããŠãã ãããâåé¡ã解決ããªããã©ããããã§ãã¯ããŠãã ãããâãããç¶ãå Žåã¯ãâèªãã§ãã ããã
- ããªãã¯ããã¥ã¡ã³ããŒã·ã§ã³ããã§ãã¯ããŸãããïŒâããããã§ãªããã°ãâããããŠãã ãããâããã¥ã¡ã³ããŒã·ã§ã³ã䜿çšããŠåé¡ã解決ã§ããªãå Žåã¯ãâåŒãç¶ãèªãã§ãã ããã
- ã€ã·ã¥ãŒã»ããŒãž ããã§ãã¯ããŸãããïŒâåé¡ã以åã«èšåãããŠãããã©ããããã§ãã¯ããŠãã ãããâææ¡ãâã¢ã€ãã¢ãâãœãªã¥ãŒã·ã§ã³ãæäŸããããã©ããããã§ãã¯ããŠãã ããã
- åé¡ã解決ããªãå Žåã¯ãâæããŠãã ãããâã€ã·ã¥ãŒã»ããŒãžã«é¢ããæ°ãããã£ã¹ã«ãã·ã§ã³ãäœæããã
7.2.0ããå€ãããŒãžã§ã³ã§phpMussel v3ã䜿çšããããšæããŸãïŒâæäŒã£ãŠãããŸããïŒ
ãããã PHP >= 7.2.0 㯠phpMussel v3 ã®æå°èŠä»¶ã§ãã
åç §ïŒâäºææ§ãã£ãŒãã
è€æ°ã®ãã¡ã€ã³ãä¿è·ããããã«ïŒã€ã®phpMusselã€ã³ã¹ããŒã«ã䜿çšã§ããŸããïŒ
ã¯ãã
ç§ã¯ãããã€ã³ã¹ããŒã«ããããâãããç§ã®ãŠã§ããµã€ãäžã§åäœããããšãä¿èšŒããæéãè²»ãããâã«ããããªãïŒâããã§ããŸããïŒâç§ã¯ããªããéãããšãã§ããŸããïŒ
å€åãâããã¯ãâã±ãŒã¹ãã€ã±ãŒã¹ã§æ€èšãããŠããŸããâããªãã®ããŒãºãšæäŸã§ãããã®ãæããŠãã ãããâç§ãã¡ãå©ããããšãã§ãããã©ãããæããŠãããŸãã
äžèšãåç §ãâ
ç§ã¯å°é家ã®å€æŽãâã«ã¹ã¿ã åãâçãå¿ èŠã§ãïŒâæäŒã£ãŠãããŸããïŒ
äžèšãåç §ãâ
ç§ã¯éçºè ãâãŠã§ããµã€ããã¶ã€ããŒãâãŸãã¯ããã°ã©ããŒã§ããâãã®ãããžã§ã¯ãã«é¢é£ããäœæ¥ãè¡ãããšã¯ã§ããŸããïŒ
ã¯ããâç§ãã¡ã®ã©ã€ã»ã³ã¹ã¯ãããçŠæ¢ããŠããŸããã
ã¯ããâãããžã§ã¯ããžã®è²¢ç®ã¯å€§æè¿ã§ããâ詳现ã«ã€ããŠã¯ãâãCONTRIBUTING.mdããåç §ããŠãã ããã
ãã¡ã€ã«ã®ã¹ãã£ã³æã«ç¹å®ã®è©³çŽ°æ å ±ã«ã¢ã¯ã»ã¹ããã«ã¯ã©ãããã°ããã§ããïŒ
ããã¯ãâphpMusselã«ããããã¹ãã£ã³ããããã«æ瀺ããåã«ãâãã®ç®çã®ããã«äœ¿çšããé åãå²ãåœãŠãããšã«ãã£ãŠè¡ãããšãã§ããŸãã
以äžã®äŸã§ã¯ãâãã®ç®çã®ããã«$Foo
ãå²ãåœãŠãããŠããŸããâ/ãã¡ã€ã«/ãã¹/...
ãã¹ãã£ã³ããåŸãâ/ãã¡ã€ã«/ãã¹/...
ã®ãã¡ã€ã«ã«é¢ããæ
å ±ã¯$Foo
ã«ãããŸãã
<?php
$Loader = new \phpMussel\Core\Loader();
$Scanner = new \phpMussel\Core\Scanner($Loader);
$Scanner->setScanDebugArray($Foo);
$Results = $Scanner->scan('/ãã¡ã€ã«/ãã¹/...');
var_dump($Foo);
é åã¯å€æ¬¡å ã§ããâèŠçŽ ã¯ã¹ãã£ã³ãããåãã¡ã€ã«ãè¡šããŸããâãµãèŠçŽ ã¯ãâãããã®ãã¡ã€ã«ã®è©³çŽ°ãè¡šããŸããâãµãèŠçŽ ã¯æ¬¡ã®ãšããã§ãã
- Filename (
string
) - FromCache (
bool
) - Depth (
int
) - Size (
int
) - MD5 (
string
) - SHA1 (
string
) - SHA256 (
string
) - CRC32B (
string
) - 2CC (
string
) - 4CC (
string
) - ScanPhase (
string
) - Container (
string
) - â FileSwitch (
string
) - â Is_ELF (
bool
) - â Is_Graphics (
bool
) - â Is_HTML (
bool
) - â Is_Email (
bool
) - â Is_MachO (
bool
) - â Is_PDF (
bool
) - â Is_SWF (
bool
) - â Is_PE (
bool
) - â Is_Not_HTML (
bool
) - â Is_Not_PHP (
bool
) - â¡ NumOfSections (
int
) - â¡ PEFileDescription (
string
) - â¡ PEFileVersion (
string
) - â¡ PEProductName (
string
) - â¡ PEProductVersion (
string
) - â¡ PECopyright (
string
) - â¡ PEOriginalFilename (
string
) - â¡ PECompanyName (
string
) - Results (
int
) - Output (
string
)
â - ãã£ãã·ã¥ãããçµæã¯æäŸãããŸãã ïŒæ°ããã¹ãã£ã³çµæã«ã®ã¿æäŸãããŸãïŒãâ
â¡ - ãã¡ã€ã«ãã¹ãã£ã³ãããšãã«ã®ã¿æäŸãããŸããâ
å¿ èŠã«å¿ããŠãâãã®é åã¯ä»¥äžã䜿çšããŠç Žæ£ã§ããŸãã
$Scanner->destroyScanDebugArray($Foo);
ãã©ãã¯ãªã¹ã â ãã¯ã€ããªã¹ã â ã°ã¬ãŒãªã¹ã â 圌ãã¯äœã§ããïŒç§ã¯ã©ã®ããã«äœ¿çšããŸããïŒ
ãããã®çšèªã¯ãç°ãªãæèã§ç°ãªãæå³ãäŒãããâphpMusselã«ã¯ããããã®çšèªã䜿çšãããïŒã€ã®ã³ã³ããã¹ããïŒãã¡ã€ã«ãµã€ãºã®å¿çããã¡ã€ã«ã¿ã€ãã®å¿çãã·ã°ããã£ã»ã°ã¬ãŒãªã¹ãïŒãããŸãã
åŠçã³ã¹ããæå°éã«æããŠåžæã®çµæãåŸãããã«ãphpMusselããã¡ã€ã«ãå®éã«ã¹ãã£ã³ããåã«ç¢ºèªã§ããç°¡åãªæ¹æ³ãããã€ããããŸãïŒäŸãã°ïŒãã¡ã€ã«ã®ãµã€ãºãååãããã³æ¡åŒµåïŒãâäŸãã°ïŒãã¡ã€ã«ã倧ããããå ŽåããŸãã¯ãã®æ¡åŒµåãç§ãã¡ã®ãŠã§ããµã€ãã«èš±å¯ããããªããã¡ã€ã«ã®çš®é¡ã瀺ããŠããå Žåãããã«ãã¡ã€ã«ã«ãã©ã°ãç«ãŠãããšãã§ããŸãããã¹ãã£ã³ããå¿ èŠã¯ãããŸããã
ãã¡ã€ã«ãµã€ãºã®å¿çã¯ããã¡ã€ã«ãæå®ãããå¶éãè¶ ãããšãã«phpMusselãå¿çããæ¹æ³ã§ããâå®éã®ãªã¹ãã¯å«ãŸããŠããŸãããããã¡ã€ã«ã¯ãã®ãµã€ãºã«åºã¥ããŠãå¹æçã«ãã©ãã¯ãªã¹ãã«èŒã£ãŠããããã¯ã€ããªã¹ãã«èŒã£ãŠããããŸãã¯ã°ã¬ã€ãªã¹ãã«èŒã£ãŠãšèããããŸããâå¶éãšæãŸããå¿çãããããæå®ããããã«ãïŒã€ã®ç°ãªãèšå®ãªãã·ã§ã³ãååšããŸãã
ãã¡ã€ã«ã¿ã€ãã®å¿çã¯ãphpMusselããã¡ã€ã«ã®æ¡åŒµåã«å¿çããæ¹æ³ã§ããâã©ã®æ¡åŒµããã©ãã¯ãªã¹ãããã¯ã€ããªã¹ãããŸãã¯ã°ãªãããªã¹ãã«ããã¹ãããæ瀺çã«æå®ããããã®3ã€ã®ç°ãªãèšå®ãªãã·ã§ã³ãååšããŸããâæ¡åŒµåãæå®ãããæ¡åŒµåã®ããããã«ããããäžèŽããå Žåããã¡ã€ã«ã¯æå¹ã«ãªã¹ããããŠãããšèŠãªãããããšããããŸãã
ãã®ïŒã€ã®ã³ã³ããã¹ããã§ã¯ããã¯ã€ããªã¹ãã«èŒã£ãŠããã¯ã¹ãã£ã³ãŸãã¯ãã©ã°ä»ããã¹ãã§ã¯ãªãããšãæå³ããŸãããã©ãã¯ãªã¹ãã«èŒã£ãŠããã¯ãã©ã°ä»ããã¹ãã§ãããšãæå³ããŸãïŒãããã£ãŠããããã¹ãã£ã³ãããã¹ãã§ã¯ãªãïŒãããŠãã°ã¬ãŒãªã¹ãã«èŒã£ãŠããã¯ããã©ã°ãç«ãŠãå¿ èŠããããã©ãããå€æããã«ã¯ãããã«åæãå¿ èŠã§ãããšãæå³ããŸãïŒãããã£ãŠãã¹ãã£ã³ããå¿ èŠããããŸãïŒã
ã·ã°ããã£ã»ã°ã¬ãŒãªã¹ãã¯æ¬è³ªçã«ç¡èŠãã¹ãã·ã°ããã£ã®ãªã¹ãã§ãïŒããã«ã€ããŠã¯ãåè¿°ã®ããã¥ã¡ã³ãã§ç°¡åã«èª¬æããŠããŸãïŒãâã·ã°ããã£ã¯ã°ã¬ãŒãªã¹ãäžã®ã·ã°ããã£ãããªã¬ãŒããããšãphpMusselã¯ç§ã¯ä»äºãç¶ããã°ã¬ãŒãªã¹ãäžã®ã·ã°ããã£ã«é¢ããŠç¹å¥ãªåŠçœ®ããšããŸãããâæé»ã®åäœã¯ããªã¬ãããã·ã°ããã£ã®éåžžã®åäœã§ãããããã·ã°ããã£ã»ãã©ãã¯ãªã¹ãã¯ãããŸãããâãã®æèã§ã¯å¿ èŠã§ã¯ãªãã®ã§ãã·ã°ããã£ã»ãã¯ã€ããªã¹ãã¯ãããŸããã
ã·ã°ããã£ã»ãã¡ã€ã«å šäœããã£ã»ãŒãã«ãŸãã¯ã¢ã³ã€ã³ã¹ããŒã«ããã«ç¹å®ã®ã·ã°ããã£ã«ãã£ãŠçºçããåé¡ã解決ããå¿ èŠãããå Žåã¯ãã·ã°ããã£ã»ã°ã¬ãŒãªã¹ãã圹ç«ã¡ãŸãã
ãPDO DSNããšã¯äœã§ããïŒâphpMusselã§PDOã䜿çšããã«ã¯ã©ãããã°ããã§ããïŒ
ãPDOãã¯ãPHP Data Objectsãã®é åèªã§ããâããŸããŸãªPHPã¢ããªã±ãŒã·ã§ã³ã§äžè¬çã«äœ¿çšãããããŒã¿ããŒã¹ã»ã·ã¹ãã ã«æ¥ç¶ã§ããããã«ãPHPã®ã€ã³ã¿ãŒãã§ã€ã¹ãæäŸããŸãã
ãDSNãã¯ãdata source nameãïŒããŒã¿ã»ãœãŒã¹åïŒã®é åèªã§ããâãPDO DSNãã¯ãPDOãããŒã¿ããŒã¹ã«æ¥ç¶ããæ¹æ³ã説æããŠããŸãã
phpMusselã¯ããã£ãã·ã¥ã«PDOãå©çšãããªãã·ã§ã³ãæäŸããŸããâãããé©åã«æ©èœããããã«ã¯ãããã«å¿ããŠphpMusselã®ã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ãèšå®ããå¿ èŠããããŸãïŒãããã£ãŠãPDOãæå¹ã«ããŸãïŒã次ã«phpMusselã䜿çšããæ°ããããŒã¿ããŒã¹ãäœæããŸãïŒphpMusselã䜿çšããããŒã¿ããŒã¹ããŸã èæ ®ããŠããªãå ŽåïŒã次ã«ã以äžã«èª¬æããæ§é ã«åŸã£ãŠãããŒã¿ããŒã¹ã«æ°ããããŒãã«ãäœæããŸãã
ããŒã¿ããŒã¹æ¥ç¶ã¯æåããããå¿ èŠãªããŒãã«ãååšããªãå Žåãããã¯èªåçã«äœæããããšããŸããâãã ãããã®åäœã¯ååã«ãã¹ããããŠããªããããæåãä¿èšŒããããšã¯ã§ããŸããã
ãã¡ãããããã¯ãphpMusselã§å®éã«PDOã䜿çšããå Žåã«ã®ã¿é©çšãããŸããâãã©ããã»ãã¡ã€ã«ã»ãã£ãã·ã¥ïŒããã©ã«ãã®ã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ã«åŸã£ãŠïŒããŸãã¯æäŸãããŠãããã®ä»ã®ããŸããŸãªãã£ãã·ã¥ãªãã·ã§ã³ã䜿çšããããšã«æºè¶³ããŠããå Žåã¯ãããŒã¿ããŒã¹ãããŒãã«ãªã©ã®èšå®ã«æ©ãå¿ èŠã¯ãããŸããã
以äžã§èª¬æããæ§é ã§ã¯ãããŒã¿ããŒã¹åãšããŠãphpmusselãã䜿çšããŠããŸãããDSNæ§æã§åãååãè€è£œãããéããããŒã¿ããŒã¹ã«ä»»æã®ååã䜿çšã§ããŸãã
ââââââââââââââââââââââââââââââââââââââââââââââââ
â DATABASE "phpmussel" â
â ââââââââââââââââââââââââââââââââââââââââââââââ©ââââââ
â ââ«âTABLE "Cache" (UTF-8) â
â â ââªâFIELDââCHARSETâDATATYPEâââââKEYââNULLâDEFAULTââ£
â â ââ"Key"ââUTF-8âââVARCHAR(128)âPRIââÃââââà â
â â ââ"Data"âUTF-8âââTEXTâââââââââÃââââÃââââà â
âââ⣠ââ"Time"âÃâââââââINT(>=10)ââââÃââââÃââââà â
âââââââââââââââââââââââââââââââââââââââââââââââââââ
phpMusselã®ãpdo_dsn
ãã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ã»ãã£ã¬ã¯ãã£ãã¯ã次ã®ããã«èšå®ããå¿
èŠããããŸãã
䜿çšããããŒã¿ããŒã¹ã»ãã©ã€ããŒã«å¿ããŠ...
ââ4d ïŒèŠåïŒå®éšçãæªãã¹ããéæšå¥šïŒïŒ
â â
â â âââââââââ
â ââ4D:host=localhost;charset=UTF-8
â ââ€âââââââ
â âããŒã¿ããŒã¹ãèŠã€ããããã«æ¥ç¶ãããã¹ãã
ââcubrid
â â
â â âââââââââ âââââ âââââââ
â ââcubrid:host=localhost;port=33000;dbname=example
â ââ€âââââââ ââ€âââ ââ€âââââ
â â â âããŒã¿ããŒã¹äœ¿çšããååã
â â â
â â âãã¹ãã«æ¥ç¶ããããŒãçªå·ã
â â
â âããŒã¿ããŒã¹ãèŠã€ããããã«æ¥ç¶ãããã¹ãã
ââdblib
â â
â â âââââ âââââââââ âââââââ
â ââdblib:host=localhost;dbname=example
â ââ€âââ ââ€âââââââ ââ€âââââ
â â â âããŒã¿ããŒã¹äœ¿çšããååã
â â â
â â âããŒã¿ããŒã¹ãèŠã€ããããã«æ¥ç¶ãããã¹ãã
â â
â âå¯èœãªå€ïŒãmssqlãããsybaseãããdblibãã
ââfirebird
â â
â â âââââââââââââââââââââ
â ââfirebird:dbname=/path/to/database.fdb
â ââ€âââââââââââââââââââ
â âããŒã«ã«ã»ããŒã¿ããŒã¹ã»ãã¡ã€ã«ãžã®ãã¹ã«ããããšãã§ããŸãã
â â
â âãã¹ããšããŒãçªå·ã§æ¥ç¶ã§ããŸãã
â â
â âããã䜿çšããå Žåã¯ãFirebirdã®ããã¥ã¡ã³ããåç
§ããŠãã ããã
ââibm
â â
â â âââââââ
â ââibm:DSN=example
â ââ€âââââ
â âæ¥ç¶ããã«ã¿ãã°åãããããŒã¿ããŒã¹ã
ââinformix
â â
â â âââââââ
â ââinformix:DSN=example
â ââ€âââââ
â âæ¥ç¶ããã«ã¿ãã°åãããããŒã¿ããŒã¹ã
ââmysql ïŒæãæšå¥šãããŸãïŒïŒ
â â
â â âââââââ âââââââââ ââââ
â ââmysql:dbname=example;host=localhost;port=3306
â ââ€âââââ ââ€âââââââ ââ€ââ
â â â âãã¹ãã«æ¥ç¶ããããŒãçªå·ã
â â â
â â âããŒã¿ããŒã¹ãèŠã€ããããã«æ¥ç¶ãããã¹ãã
â â
â âããŒã¿ããŒã¹äœ¿çšããååã
ââoci
â â
â â âââââââ
â ââoci:dbname=example
â ââ€âââââ
â âç¹å®ã®ã«ã¿ãã°åãããããŒã¿ããŒã¹ãåç
§ã§ããŸãã
â â
â âãã¹ããšããŒãçªå·ã§æ¥ç¶ã§ããŸãã
â â
â âããã䜿çšããå Žåã¯ãOracleã®ããã¥ã¡ã³ããåç
§ããŠãã ããã
ââodbc
â â
â â âââââââ
â ââodbc:example
â ââ€âââââ
â âç¹å®ã®ã«ã¿ãã°åãããããŒã¿ããŒã¹ãåç
§ã§ããŸãã
â â
â âãã¹ããšããŒãçªå·ã§æ¥ç¶ã§ããŸãã
â â
â âããã䜿çšããå Žåã¯ãODBC/DB2ã®ããã¥ã¡ã³ããåç
§ããŠãã ããã
ââpgsql
â â
â â âââââââââ ââââ âââââââ
â ââpgsql:host=localhost;port=5432;dbname=example
â ââ€âââââââ ââ€ââ ââ€âââââ
â â â âããŒã¿ããŒã¹äœ¿çšããååã
â â â
â â âãã¹ãã«æ¥ç¶ããããŒãçªå·ã
â â
â âããŒã¿ããŒã¹ãèŠã€ããããã«æ¥ç¶ãããã¹ãã
ââsqlite
â â
â â ââââââââââ
â ââsqlite:example.db
â ââ€ââââââââ
â â䜿çšããããŒã«ã«ã»ããŒã¿ããŒã¹ã»ãã¡ã€ã«ãžã®ãã¹ã
ââsqlsrv
â
â âââââââââ ââââ âââââââ
ââsqlsrv:Server=localhost,1521;Database=example
ââ€âââââââ ââ€ââ ââ€âââââ
â â âããŒã¿ããŒã¹äœ¿çšããååã
â â
â âãã¹ãã«æ¥ç¶ããããŒãçªå·ã
â
âããŒã¿ããŒã¹ãèŠã€ããããã«æ¥ç¶ãããã¹ãã
DSNã®ç¹å®ã®éšåã«äœã䜿çšãããããããªãå Žåã¯ãäœãå€æŽããã«ãDSNããã®ãŸãŸæ©èœãããã©ãããæåã«ç¢ºèªããŠãã ããã
ãpdo_username
ããšãpdo_password
ãã¯ãããŒã¿ããŒã¹çšã«éžæãããŠãŒã¶ãŒåãšãã¹ã¯ãŒããšåãã§ãªããã°ãªããªãããšã«æ³šæããŠãã ããã
ç§ã®ã¢ããããŒãæ©èœæ§ã¯éåæã§ãïŒäŸãã°ãajaxãajajãjsonããªã©ã䜿çšããŸãïŒãâã¢ããããŒãããããã¯ããããšãã«ç¹å¥ãªã¡ãã»ãŒãžãèŠåã衚瀺ãããŸãããâäœãèµ·ãã£ãŠããŸããïŒ
ããã¯æ£åžžã§ããâphpMusselã®æšæºã®ãã¢ããããŒãæåŠãããŒãžã¯ïŒšïŒŽïŒïŒ¬ãšããŠæäŸãããŸããâéåžžã®åæãªã¯ãšã¹ãã«ã¯ååãªã¯ãã§ãããã¢ããããŒãæ©èœãä»ã®äœããæåŸ ããŠããå Žåã¯ããããååã§ã¯ãããŸãããâã¢ããããŒãæ©èœãéåæã§ããå ŽåããŸãã¯ã¢ããããŒãã»ã¹ããŒã¿ã¹ãéåæã§æäŸãããããšãäºæ³ãããå ŽåãphpMusselãã¢ããããŒãæ©èœã®ããŒãºã«å¿ããããã«ã§ããããšã¯ããã€ããããŸãã
ïŒ.ïŒïŒ¬ä»¥å€ã®ãã®ãæäŸããã«ã¹ã¿ã åºåãã³ãã¬ãŒããäœæããŸãã ïŒ.ã«ã¹ã¿ã ã»ãã©ã°ã€ã³ãäœæããŠãæšæºã®ãã¢ããããŒãæåŠãããŒãžãå®å šã«ãã€ãã¹ããã¢ããããŒãããããã¯ããããšãã«ã¢ããããŒãã»ãã³ãã©ãŒã«å¥ã®åŠçãè¡ãããŸãïŒãã®ç®çã®ããã«ã¢ããããŒããŒã»ãã³ãã©ãŒã«ãã£ãŠæäŸãããããã€ãã®ãã©ã°ã€ã³ã»ããã¯ããããŸãïŒã ïŒ.ã¢ããããŒãã»ãã³ãã©ãŒãå®å šã«ç¡å¹ã«ãã代ããã«ã¢ããããŒãæ©èœå ããphpMussel APIãåŒã³åºãã ãã§ãã
ã¯ããâEICARãæ€åºããããã®ã·ã°ããã£ã¯ããphpMusselæšæºæ£èŠè¡šçŸã·ã°ããã£ã»ãã¡ã€ã«ãïŒphpmussel_regex.db
ïŒã«å«ãŸããŠããŸããâãã®ã·ã°ããã£ã»ãã¡ã€ã«ãã€ã³ã¹ããŒã«ãããŠã¢ã¯ãã£ãåãããŠããéããphpMusselã¯EICARãæ€åºã§ããã¯ãã§ããâClamAVããŒã¿ããŒã¹ã«ã¯ãç¹ã«EICARãæ€åºããããã®å€æ°ã®ã·ã°ããã£ãå«ãŸããŠãããããClamAVã¯EICARãç°¡åã«æ€åºã§ããŸããâããããphpMusselã¯ClamAVã«ãã£ãŠæäŸãããã·ã°ããã£å
šäœã®äžéšã®ã¿ã䜿çšãããããphpMusselãEICARãæ€åºããã®ã«ååã§ã¯ãªãå¯èœæ§ããããŸããâãããæ€åºããæ©èœã¯ãå®éã®ã³ã³ãã£ã°ã¬ãŒã·ã§ã³ã«ãã£ãŠãç°ãªãå ŽåããããŸãã
ããã¥ã¡ã³ããŒã·ã§ã³ã®ãã®ã»ã¯ã·ã§ã³ã¯ãããã±ãŒãžã®äœ¿çšãšå®è£ ã«é¢ããæ³åŸäžã®èæ ®äºé ã説æããåºæ¬çãªé¢é£æ å ±ãæäŸããããšãç®çãšããŠããŸããâããã¯ãæäœããŠããåœã«ååšããå¯èœæ§ã®ããæ³çèŠä»¶ã®éµå®ã確å®ã«ããæ段ãšããŠãäžéšã®ãŠãŒã¶ãŒã«ãšã£ãŠéèŠãªå ŽåããããŸããâäžéšã®ãŠãŒã¶ãŒã¯ããã®æ å ±ã«åŸã£ãŠãŠã§ããµã€ãããªã·ãŒã調æŽããå¿ èŠããããŸãã
ãŸããç§ïŒããã±ãŒãžäœæè ïŒã¯åŒè·å£«ã§ã¯ãªããæè³æ Œã®æ³åŸå°é家ã§ããªãããšãèªèããŠãã ãããâãããã£ãŠãç§ã¯æ³åŸäžã®ã¢ããã€ã¹ãæäŸããæ³çè³æ Œã¯ãããŸãããâãŸããå Žåã«ãã£ãŠã¯ãæ£ç¢ºãªæ³çèŠä»¶ã¯ãåœãå°åã«ãã£ãŠç°ãªãå ŽåããããŸããâãŸãããããã競åããããšããããŸãâïŒäŸãã°ïŒãã©ã€ãã·ãŒã®æš©å©ã享åããåœãšå¿ããããæš©å©ã®å Žåã«ã¯ãæ¡åŒµãããããŒã¿ä¿æãæãåœãšæ¯èŒããŠïŒãâãŸããããã±ãŒãžãžã®ã¢ã¯ã»ã¹ãç¹å®ã®åœã管èœåºåã«éå®ãããŠããããã§ã¯ãªãã®ã§ãããã±ãŒãžã®ãŠãŒã¶ãŒããŒã¹ã¯å°ççã«å€æ§ã§ããå¯èœæ§ãé«ããšèããŠãã ãããâãããã®ç¹ãèæ ®ããŠãç§ã¯ãã¹ãŠã®ç¹ã§ããã¹ãŠã®ãŠãŒã¶ãŒã«ãšã£ãŠãæ³çã«æºæ ãããã§ããããšãäœãæå³ããããè¿°ã¹ãç«å Žã«ã¯ããŸãããâãã ããããã«èšèŒãããŠããæ å ±ããããã±ãŒãžã®æèã§æ³çã«éµå®ããããã«å¿ èŠãªäœæ¥ãèªåã§æ±ºå®ããã®ã«åœ¹ç«ã€ããšãé¡ã£ãŠããŸããâç矩ãåç¶ããå ŽåããŸãã¯æ³çãªèŠ³ç¹ããè¿œå ã®å©ããšå©èšãå¿ èŠãªå Žåã¯ãæè³æ Œã®æ³åŸå°é家ã«çžè«ããããšãããããããŸãã
ããã±ãŒãžã»ã©ã€ã»ã³ã¹ã«èšèŒãããŠããéããããã±ãŒãžã¯ç¡ä¿èšŒã§æäŸãããŸããâããã«ã¯ããã¹ãŠã®è²¬ä»»ç¯å²ãå«ãŸããŸãïŒãã ãããã«éå®ãããŸããïŒãâããªãã®äŸ¿å®ã®ããã«ããã±ãŒãžãæäŸãããŠããŸããâãããæçšã§ããããããããªãã®ããã«ããã€ãã®å©çãããããããšãæåŸ ãããŸããâããããããªããããã±ãŒãžã䜿çšãããå®è£ ãããã¯ãããªãèªèº«ã®éžæã§ããâããªãã¯ããã±ãŒãžã䜿çšãããã匷å¶ãããŸãããâããããããªãã決ãããšããã§ã¯ãããªãã¯ãã®æ±ºå®ã«è²¬ä»»ããããŸããâããªãã®ææ決å®ã®çµæã«ã€ããŠãç§ãšä»ã®ããã±ãŒãžå¯çš¿è ã¯ãçŽæ¥çãéæ¥çãæ瀺çããŸãã¯ãã®ä»ã®æ¹æ³ã«ãããããã責任ãè² ããŸããã
ãã®æ£ç¢ºãªã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ãšå®è£ ã«å¿ããŠãããã±ãŒãžã¯å Žåã«ãã£ãŠã¯ç¬¬äžè ãšéä¿¡ããæ å ±ãå ±æããããšããããŸããâãã®æ å ±ã¯ãããã€ãã®åœã«ãããŠãç¶æ³ã«ãã£ãŠã¯ããå人èå¥æ å ±ãïŒïŒ°ïŒ©ïŒ©ïŒãšå®çŸ©ããããšãã§ããŸãã
ãããã®ç¬¬äžè ããã®æ å ±ãã©ã®ããã«äœ¿çšãããã¯ããããã®ç¬¬äžè ã«ãã£ãŠå®ããããããŸããŸãªããªã·ãŒã®å¯Ÿè±¡ãšãªããŸããâãã®ããã¥ã¡ã³ãã®ç¯å²å€ã§ããâãã ãããã®ãããªå Žåã¯ããããã®ç¬¬äžè ãšã®æ å ±ã®å ±æãç¡å¹ã«ããããšãã§ããŸããâãã®ãããªå Žåã¯ãæå¹ã«ããããšãéžæããå Žåããããã®ç¬¬äžè ã«ããã®ãã©ã€ãã·ãŒãã»ãã¥ãªãã£ãããã³äœ¿çšã«é¢ããæžå¿µäºé ã調æ»ããããšã¯ããããªãã®è²¬ä»»ã§ããâãäžæãªç¹ãããå ŽåããŸãã¯ïŒ°ïŒ©ïŒ©ã«é¢ããŠãããã®ç¬¬äžè ã®è¡çºã«äžæºãããå Žåã¯ããããã®ç¬¬äžè ãšã®æ å ±ã®å ±æããã¹ãŠç¡å¹ã«ããããšãæåã®æ¹æ³ã§ãã
éææ§ã®ããã«ãå ±æãããæ å ±ã®ã¿ã€ããšã誰ãšã以äžã«èšèŒãããŠããŸãã
ãã¡ã€ã«ã®ã¢ããããŒãå ã«èŠã€ãã£ãã¯ãããã±ãŒãžã»ã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ã«å¿ããŠãGoogleã»ãŒãã»ãã©ãŠãžã³ã°APIãšå ±æã§ããŸããâGoogleã»ãŒãã»ãã©ãŠãžã³ã°APIã¯ãæ£åžžã«åäœããããã«ã¯APIããŒãå¿ èŠã§ããâãããã£ãŠãããã©ã«ãã§ã¯ç¡å¹ã«ãªã£ãŠããŸãã
é¢é£ããã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ã»ãã£ã¬ã¯ãã£ãïŒ
urlscanner
->google_api_key
phpMusselããã¡ã€ã«ã®ã¢ããããŒããã¹ãã£ã³ãããšããã®ããã«èšå®ãããŠãããšããã¡ã€ã«ããã·ã¥ãVirus Total APIãšå ±æãããå¯èœæ§ããããŸããâå°æ¥ãããæç¹ã§ãã¡ã€ã«å šäœãå ±æã§ããèšç»ããããŸãããããã¯ãŸã ãµããŒããããŠããŸãããâãã®æ©èœã䜿çšããã«ã¯ãããŒãå¿ èŠã§ãã
Virus Totalãšå ±æãããæ å ±ïŒãã¡ã€ã«ããã³é¢é£ãããã¡ã€ã«ã®ã¡ã¿ããŒã¿ãå«ãïŒã¯ãç 究ç®çã§ãããŒãããŒãé¢é£äŒç€Ÿããã®ä»ããŸããŸãªäººã ãšå ±æããããšãã§ããŸããâããã«ã€ããŠã¯ããã©ã€ãã·ãŒã»ããªã·ãŒã§è©³ãã説æããŠããŸãã
èŠãïŒ Privacy Policy â VirusTotalã
é¢é£ããã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ã»ãã£ã¬ã¯ãã£ãïŒ
virustotal
->vt_public_api_key
ãã®ã³ã°ã¯ãå€ãã®çç±ããphpMusselã®éèŠãªéšåã§ããâãã®ã³ã°ããã«ãåœéœæ§ãçºçããå Žåãããã蚺æããŠè§£æ±ºããããšã¯å°é£ã§ããâãã®ã³ã°ããã«ãphpMusselãããã«å¹æçã«å®è¡ãããŠãããã確ãããããšããã®æœåšçãªåé¡ã確èªããããšæ©èœãããããã«å¿ èŠãªã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ãã·ã°ããã£ã®å€æŽã決å®ããã®ãé£ããããšããããŸããâãããã«ããããã®ã³ã°ã¯äžéšã®ãŠãŒã¶ãŒã«ã¯æãŸãããªããå®å šã«ãªãã·ã§ã³ã§ããâphpMusselã§ã¯ãããã©ã«ãã§ãã®ã³ã°ã¯ç¡å¹ã«ãªã£ãŠããŸããâãããæå¹ã«ããã«ã¯ãããã«å¿ããŠphpMusselãèšå®ããå¿ èŠããããŸãã
ãã®ã³ã°ãæ³çã«èš±å¯ãããŠãããã©ãããããã³æ³çã«èš±å®¹ãããç¯å²ã§âïŒäŸãã°ããã°ã«èšé²ãããå¯èœæ§ãããã¿ã€ãã®æ å ±ãæéãããã³ç¶æ³ïŒãâ管èœåºåããã³phpMusselãå®æœãããŠããç¶æ³ã«å¿ããŠå€ããå¯èœæ§ãããâïŒäŸãã°ãããªããå人ãšããŠãäŒæ¥ãšããŠãåæ¥çãŸãã¯éåæ¥çã«åäœããŠãããã©ããïŒãâãããã£ãŠããã®ã»ã¯ã·ã§ã³ã泚ææ·±ãèªãã§åœ¹ã«ç«ã€ãããããªãã
phpMusselãå®è¡ã§ããè€æ°ã®ã¿ã€ãã®ãã®ã³ã°ããããŸããâç°ãªãã¿ã€ãã®ãã®ã³ã°ã«ã¯ãããŸããŸãªçç±ã§ç°ãªãã¿ã€ãã®æ å ±ãå«ãŸããŸãã
ããã±ãŒãžã»ã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ã§æå¹ã«ãããšãphpMusselã¯ã¹ãã£ã³ãããã¡ã€ã«ã®ãã°ãä¿æããŸããâãã®ã¿ã€ãã®ãã®ã³ã°ã¯ãïŒã€ã®ç°ãªã圢åŒã§äœ¿çšã§ããŸãïŒ
- 人éãèªãããã°ã»ãã¡ã€ã«ã
- ã·ãªã¢ã©ã€ãºããããã°ã»ãã¡ã€ã«ã
人éãèªãããã°ã»ãã¡ã€ã«ã«èšé²ããããããã¯ã»ã€ãã³ãã¯ãé垞次ã®ããã«ãªããŸãïŒäŸãšããŠïŒïŒ
Sun, 19 Jul 2020 13:33:31 +0800 éå§ããŠããŸãã
â ãascii_standard_testfile.txtãããã§ãã¯ããŠããŸãã
ââ phpMussel-Testfile.ASCII.Standardãæ€åºããŸããïŒascii_standard_testfile.txtïŒïŒ
Sun, 19 Jul 2020 13:33:31 +0800 å®äºã
ã¹ãã£ã³ã»ãã°ã»ãšã³ããªã«ã¯ãéåžžã次ã®æ å ±ãå«ãŸããŸãïŒ
- ãã¡ã€ã«ãã¹ãã£ã³ãããæ¥æã
- ã¹ãã£ã³ãããã¡ã€ã«ã®ååã
- ãã¡ã€ã«å ã§äœãæ€åºããããïŒäœããæ€åºãããå ŽåïŒã
é¢é£ããã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ã»ãã£ã¬ã¯ãã£ãïŒ
general
->scan_log
general
->scan_log_serialized
ãããã®ãã£ã¬ã¯ãã£ãã空ã®ãŸãŸã«ãããšããã®ã¿ã€ãã®ãã®ã³ã°ã¯ç¡å¹ã®ãŸãŸã§ãã
ããã±ãŒãžã»ã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ã§æå¹ã«ãããšãphpMusselã¯ãããã¯ãããã¢ããããŒãã®ãã°ãä¿æããŸãã
äŸãšããŠïŒ
æ¥æ: Sun, 19 Jul 2020 13:33:31 +0800
ã¢ãã¬ã¹: 127.0.0.x
== ã¹ãã£ã³çµæïŒãªããããèå¥ãããã®ãïŒ ==
phpMussel-Testfile.ASCII.Standardãæ€åºããŸããïŒascii_standard_testfile.txtïŒïŒ
== ããã·ã¥ã»ã·ã°ããã£ã®åæ§ç¯ ==
dcacac499064454218823fbabff7e09b5b011c0c877ee6f215f35bffb195b6e9:654:ascii_standard_testfile.txt
ã1595142388-2e017ea9ac1478e45dc15794a1fc18c0.qfuããšããŠæ€ç«ã
ããããã°ã»ãšã³ããªã«ã¯éåžžã次ã®æ å ±ãå«ãŸããŸãã
- ã¢ããããŒãããããã¯ãããæ¥æã
- ã¢ããããŒãå ã®ïŒ©ïŒ°ã¢ãã¬ã¹ã
- ãã¡ã€ã«ããããã¯ãããçç±ïŒæ€åºããããã®ïŒã
- ãããã¯ããããã¡ã€ã«ã®ååã
- ãããã¯ããããã¡ã€ã«ã®ãã§ãã¯ãµã ãšãµã€ãºã
- ãã¡ã€ã«ãæ€ç«ãããŠãããã©ãããã©ã®ãããªååãå éšã®äœ¿çšãããŸãã
é¢é£ããã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ã»ãã£ã¬ã¯ãã£ãïŒ
web
->uploads_log
ãã®ãã®ã³ã°ã¯ãããã³ããšã³ãã®ãã°ã€ã³è©Šè¡ã«é¢ä¿ããŸããâããã¯ããŠãŒã¶ãŒãããã³ããšã³ãã«ãã°ã€ã³ããããšãããšããããã³ããã³ããšã³ãã»ã¢ã¯ã»ã¹ãæå¹ãªå Žåã«ã®ã¿çºçããŸãã
ããã³ããšã³ãã®ãã°ã»ãšã³ããªã«ã¯ããã°ã€ã³ããããšããŠãããŠãŒã¶ãŒã®ïŒ©ïŒ°ã¢ãã¬ã¹ãè©Šè¡ãè¡ãããæ¥æãè©Šè¡ã®çµæãå«ãŸããŸãïŒæ£åžžã«ãã°ã€ã³ãããããã°ã€ã³ã«å€±æããŸããïŒãâããã³ããšã³ãã®ãã°ã»ãšã³ããªã¯éåžžã次ã®ããã«ãªããŸãïŒäŸãšããŠïŒã
x.x.x.x - Day, dd Mon 20xx hh:ii:ss +0000 - "admin" - ãã°ã€ã³ããŸããã
é¢é£ããã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ã»ãã£ã¬ã¯ãã£ãïŒ
general
->frontend_log
äžå®æéåŸã«ãã°ãããŒãžãããå Žåããæ³åŸã«ãã£ãŠãã°ãããŒãžããå¿
èŠãããå ŽåããããŸãïŒäŸãã°ããã°ãä¿æããããšãæ³çã«èš±å¯ãããæéã¯ãæ³åŸã«ãã£ãŠå¶éãããå ŽåããããŸãïŒãâãã°ã»ããŒããŒã·ã§ã³ã䜿çšãããšãæå®ãããå¶éãè¶
ãããšãã°ã»ãã¡ã€ã«ã«å¯ŸããŠäœããã®ã¢ã¯ã·ã§ã³ãå®è¡ã§ããŸããâããã±ãŒãžã»ã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ã§æå®ããããã°ã»ãã¡ã€ã«ã®ååã«æ¥ä»/æå»ããŒã«ãŒãå«ããããšãïŒäŸãã°ã{yyyy}-{mm}-{dd}.log
ïŒããã°ã»ããŒããŒã·ã§ã³ãæå¹ã«ããã§ããããè¡ãããšãã§ããŸãã
äŸãã°ïŒæ³çã«ïŒïŒæ¥åŸã«ãã°ãåé€ããå¿
èŠãããå Žåã¯ããã°ã»ãã¡ã€ã«ã®ååã«{dd}.log
ãïŒ{dd}
ã¯æ¥ãè¡šãïŒæå®ããlog_rotation_limit
ã®å€ã30
ã«èšå®ããlog_rotation_action
ã®å€ãDelete
ã«èšå®ããããšãã§ããŸãã
éã«ãé·æéãã°ãä¿æããå¿
èŠãããå Žåã¯ããã°ã»ããŒããŒã·ã§ã³ãç¡å¹ã«ãããããã°ã»ãã¡ã€ã«ãå§çž®ããããã«log_rotation_action
ã®å€ãArchive
ã«èšå®ããããšãã§ããŸãïŒå æãããã£ã¹ã¯ã»ã¹ããŒã¹ã®ç·éãåæžãããŸãïŒã
é¢é£ããã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ã»ãã£ã¬ã¯ãã£ãïŒ
general
->log_rotation_limit
general
->log_rotation_action
å¿ èŠã«å¿ããŠãç¹å®ã®ãµã€ãºãè¶ ããåã ã®ãã°ã»ãã¡ã€ã«ãåãæšãŠãããšãã§ããŸãã
é¢é£ããã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ã»ãã£ã¬ã¯ãã£ãïŒ
general
->truncate
ãŸããããªããçšèªã«ç²ŸéããŠããªãå ŽåïŒâãã¹ãããã€ãŒãŒã·ã§ã³ãïŒpseudonymisationïŒãšã¯ãè£è¶³æ å ±ãªãã§ç¹å®ã®ããŒã¿å¯Ÿè±¡ã«ç¹å®ã§ããªããããªå人ããŒã¿ã®åŠçãæããŸãâïŒãã ãããã®ãããªè£è¶³æ å ±ã¯ãå人ããŒã¿ãèªç¶äººã«ç¹å®ãããªãããšãä¿èšŒããããã«ãåå¥ã«ç¶æãããæè¡çããã³çµç¹çæªçœ®ãåãããã®ãšããŸãïŒã
次ã®ãªãœãŒã¹ã¯è©³çŽ°æ å ±ãæäŸããŸãã
å Žåã«ãã£ãŠã¯ãåéãåŠçããŸãã¯ä¿åãããã«å¯ŸããŠãã¢ãããã€ãŒãŒã·ã§ã³ããŸãã¯ãã¹ãããã€ãŒãŒã·ã§ã³ããå®æœããããšãæ³çã«èŠæ±ãããããšããããŸããâãã®ã³ã³ã»ããã¯ããªã以åããååšããŠããŸãããã/ã¯ãã¹ãããã€ãŒãŒã·ã§ã³ããç¹ã«èšåãã奚å±ããŠããŸãã
å¿ èŠã«å¿ããŠãphpMusselã¯ïŒ©ïŒ°ã¢ãã¬ã¹ãèšé²ãããšãã«ãããè¡ãããšãã§ããŸããâãã°ã«èšé²ããããšãïœïŒã¢ãã¬ã¹ã®æåŸã®ãªã¯ããããããã³ïŒ©ïŒ°ïœïŒã¢ãã¬ã¹ã®ïŒçªç®ã®éšåã®åŸã®ãã¹ãŠãããxããšããŠè¡šããããâããã¯ãæ¬è³ªçã«ã¯ãïœïŒã¢ãã¬ã¹ãïŒïŒçªç®ã®ãµããããã»ãã¡ã¯ã¿ã®æåã®ã¢ãã¬ã¹ã«äžžããïœïŒã¢ãã¬ã¹ãïŒïŒçªç®ã®ãµããããã»ãã¡ã¯ã¿ã®æåã®ã¢ãã¬ã¹ã«äžžããŸãã
é¢é£ããã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ã»ãã£ã¬ã¯ãã£ãïŒ
legal
->pseudonymise_ip_addresses
phpMusselã¯ããªãã·ã§ã³ã§ãç¹å®ã®æé以éã«ã¹ãã£ã³ããã³ãããã¯ããããã¡ã€ã«ã®ç·æ°ãªã©ã®çµ±èšã远跡ã§ããŸããâãã®æ©èœã¯ããã©ã«ãã§ç¡å¹ã«ãªã£ãŠããŸãããããã±ãŒãžã»ã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ã§æå¹ã«ããããšãã§ããŸããâ远跡ãããæ å ±ã®ã¿ã€ãã¯ïŒ°ïŒ©ïŒ©ãšèŠãªãã¹ãã§ã¯ãªãã
é¢é£ããã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ã»ãã£ã¬ã¯ãã£ãïŒ
general
->statistics
phpMusselã¯ããã£ãã·ã¥ãŸãã¯ãã°æ
å ±ãæå·åããŸãããâãã£ãã·ã¥ãšãã°ã®æå·åã¯ãå°æ¥å°å
¥ãããå¯èœæ§ããããŸãããçŸåšã®ãšããå
·äœçãªèšç»ã¯ãããŸãããâæš©éã®ãªã第äžè
ã«ãããžã®ã¢ã¯ã»ã¹ã«ã€ããŠïŒäŸãã°ããã£ãã·ã¥ããã°ïŒïŒâphpMusselã¯ãäžè¬ã«ã¢ã¯ã»ã¹å¯èœãªå Žæã«ã¯ã€ã³ã¹ããŒã«ããªãããšããå§ãããŸãïŒäŸãã°ãã»ãšãã©ã®ãŠã§ããµãŒããŒã§äœ¿çšã§ããæšæºã®public_html
ãã£ã¬ã¯ããªã®å€ã«phpMusselãã€ã³ã¹ããŒã«ããïŒãâãããŠé©åã«å¶éãããæš©éã匷å¶ãããããã«ãããâæžå¿µãæ®ã£ãŠããå Žåã¯ãphpMusselãèšå®ããŠããã®æ
å ±ãåéãŸãã¯èšé²ãããªãããã«ããããšãã§ããŸãâïŒäŸãã°ããã®ã³ã°ãç¡å¹ã«ãããªã©ïŒã
ãŠãŒã¶ãŒãããã³ããšã³ãã«æ£åžžã«ãã°ã€ã³ãããšãphpMusselã¯åŸç¶ã®ãªã¯ãšã¹ãã®ããã«ãŠãŒã¶ãŒãèŠããŠããããã«Cookieãèšå®ããŸãïŒããªãã¡ãCookieã¯ãŠãŒã¶ãŒããã°ã€ã³ã»ãã·ã§ã³ã«èªèšŒããããã«äœ¿çšãããŸãïŒãâãã°ã€ã³ã»ããŒãžã§ã¯ãCookieã®èŠåãç®ç«ã€ããã«è¡šç€ºãããé¢é£ããæäœãè¡ã£ãå Žåã«Cookieãèšå®ãããããšããŠãŒã¶ãŒã«èŠåããŸããâCookieã¯ãã³ãŒãããŒã¹ã®ä»ã®ã©ã®å Žæã«ãèšå®ãããŠããŸããã
phpMusselã¯ãããŒã±ãã£ã³ã°ãã¢ããã¿ã€ãžã³ã°ç®çã§æ å ±ãåéãŸãã¯åŠçããŸãããâåéãŸãã¯èšé²ãããæ å ±ã販売ããããå©çãåŸããããããšã¯ãããŸãããâphpMusselã¯åæ¥çäŒæ¥ã§ã¯ãªããåæ¥çå©çã«ã¯é¢ä¿ããªãã®ã§ããããã®ããšã¯æå³ããªããªãã§ããããâããã¯ããããžã§ã¯ãã®éå§ä»¥æ¥ã®ã±ãŒã¹ã§ãããä»æ¥ãåŒãç¶ãè¡ãããŠããŸããâããã«ããããã®ããšãè¡ãããšã¯ããããžã§ã¯ãã®ç²Ÿç¥ãšç®çã«æ²¿ã£ããã®ã§ã¯ãªããç§ããããžã§ã¯ããç¶æãç¶ããéãã決ããŠèµ·ãããªãã§ãããã
å Žåã«ãã£ãŠã¯ããŠã§ããµã€ãã®ãã¹ãŠã®ããŒãžãšã»ã¯ã·ã§ã³ã«ãã©ã€ãã·ãŒã»ããªã·ãŒãžã®ãªã³ã¯ãæ確ã«è¡šç€ºããããšãæ³çã«èŠæ±ãããããšããããŸããâããã¯ããŠãŒã¶ãŒãæ£ç¢ºãªãã©ã€ãã·ãŒã»ãã©ã¯ãã£ã¹ãåéããã®ã¿ã€ããããã³äœ¿çšããæ¹æ³ãååã«ç¥ããããŠããããšãä¿èšŒããæ段ãšããŠéèŠã§ããâãã®ãããªãªã³ã¯ãphpMusselã®ãã¢ããããŒãæåŠãããŒãžã«å«ããã«ã¯ããã©ã€ãã·ãŒã»ããªã·ãŒã®ïŒµïŒ²ïŒ¬ãæå®ããããã®ã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ã»ãã£ã¬ã¯ãã£ããçšæãããŠããŸãã
é¢é£ããã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ã»ãã£ã¬ã¯ãã£ãïŒ
legal
->privacy_policy
äžè¬ããŒã¿ä¿è·èŠå¶ïŒïŒ§ïŒ€ïŒ°ïŒ²ïŒã¯ã2018幎5æ25æ¥ã«çºå¹ããã®èŠå¶ã§ããâèŠå¶ã®ç¬¬äžã®ç®çã¯ãåžæ°ããã³å± äœè ã«å人æ å ±ã管çãããå人æ å ±ããã³å人æ å ±ã«é¢ããå ã®èŠå¶ãçµ±äžããããšã§ãã
ãã®èŠå¶ã«ã¯ãïŒæ¬§å·é£åïŒã®ãããŒã¿äž»äœãïŒèå¥ãããããŸãã¯èå¥å¯èœãªèªç¶äººïŒã®ãå人èå¥æ å ±ãïŒïŒ°ïŒ©ïŒ©ïŒã®åŠçã«é¢ããç¹å®ã®èŠå®ãå«ãŸããŠããŸããâèŠå¶ã«æºæ ããããã«ã¯ããäŒæ¥ãïŒèŠå¶ã«ãã£ãŠå®çŸ©ãããŠããïŒãé¢é£ããã·ã¹ãã ããã³ããã»ã¹ã¯ãããã©ã«ãã§ããã©ã€ãã·ãŒã»ãã€ã»ãã¶ã€ã³ããå®è£ ããå¿ èŠããããŸããæé«ã®ãã©ã€ãã·ãŒèšå®ã䜿çšããå¿ èŠããããŸããæ ŒçŽãããæ å ±ãŸãã¯åŠçãããæ å ±ã®ããã«ã»ãŒãã¬ãŒããå®è£ ããå¿ èŠããããŸãïŒãã¹ãããã€ãŒãŒã·ã§ã³ãã®å®è£ ãŸãã¯ããŒã¿ã®å®å šãªãã¢ãããã€ãŒãŒã·ã§ã³ããå«ãããããã«éå®ãããŸããïŒãåéããããŒã¿ã®çš®é¡ãåŠçæ¹æ³ãçç±ãä¿ææéãããã³ç¬¬äžè ãšãã®ããŒã¿ãå ±æãããã©ãããæ確ãã€æçœã«å®£èšããå¿ èŠããããŸãã第äžè ãšå ±æãããããŒã¿ã®çš®é¡ãæ¹æ³ãçç±ãªã©ãå«ãŸããŸãã
èŠå¶ã«ãã£ãŠå®çŸ©ãããŠããããã«ãåæ³çãªæ ¹æ ããªãéããããŒã¿ãåŠçããããšã¯ã§ããŸãããâäžè¬çã«ãããã¯ãåæ³çãªåºæºã§ããŒã¿å¯Ÿè±¡ã®ããŒã¿ãåŠçããããã«ã¯ãæ³ç矩åãéµå®ããªããã°ãªããªããæå³ããŸãããŸãã¯æ瀺ãããååã«æ å ±ããããæçœãªåæãããŒã¿å¯Ÿè±¡ããåŸãããåŸã«ã®ã¿è¡ãããã
èŠå¶ã®ããã€ãã®åŽé¢ã¯æéãšãšãã«å€åããå¯èœæ§ããããŸããâæ代é ãã®æ å ±ãåºãããªãããã«ããã«ã¯ãé¢ä¿ããæ å ±ãããã«å ¥ããã®ã§ã¯ãªããæ£åŒãªæ å ±æºããèŠå¶ã«ã€ããŠåŠã¶æ¹ãè¯ãã§ãããïŒããã«å«ãŸããæ å ±ãå€ããªãå¯èœæ§ããããŸãïŒã
ããå€ãã®æ å ±ãç¿åŸããããã®æšå¥šãªãœãŒã¹ïŒ
- GDPRïŒEUäžè¬ããŒã¿ä¿è·èŠå¶ïŒãšã¯ | èªå¥èª¬æã»é©çšç¯å²ã»äžãã圱é¿ã解説
- EUäžè¬ããŒã¿ä¿è·èŠå
- GDPRïŒEUäžè¬ããŒã¿ä¿è·èŠå¶ïŒå¯Ÿç
- REGULATION (EU) 2016/679 OF THE EUROPEAN PARLIAMENT AND OF THE COUNCIL
- GDPRã®å¯Ÿè±¡ãšãªãå人ããŒã¿ãšã¯
æçµã¢ããããŒãïŒïŒïŒïŒïŒå¹ŽïŒïŒæïŒïŒæ¥ã