dependabot-linguist 0.0.1 → 0.212.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (223) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +25 -3
  3. data/Gemfile +0 -9
  4. data/Gemfile.lock +162 -5
  5. data/LICENSE +674 -1
  6. data/{LICENSE.Nonstandard → LICENSE.dependabot-core} +0 -0
  7. data/Makefile +8 -1
  8. data/README.md +39 -5
  9. data/demo_script.rb +50 -0
  10. data/dependabot-linguist.gemspec +16 -5
  11. data/devlog.md +186 -0
  12. data/exe/dependabot-linguist +145 -0
  13. data/lib/dependabot/linguist/dependabot_file_validator.rb +190 -0
  14. data/lib/dependabot/linguist/dependabot_patch.rb +8 -0
  15. data/lib/dependabot/linguist/file_fetchers/base.rb +48 -0
  16. data/lib/dependabot/linguist/file_fetchers/git_submodules.rb +63 -0
  17. data/lib/dependabot/linguist/file_fetchers/go_modules.rb +41 -0
  18. data/lib/dependabot/linguist/language.rb +62 -0
  19. data/lib/dependabot/linguist/languages_to_ecosystems/contexts.rb +234 -0
  20. data/lib/dependabot/linguist/languages_to_ecosystems/contexts_applied.rb +36 -0
  21. data/lib/dependabot/linguist/languages_to_ecosystems/languages.yaml +7950 -0
  22. data/lib/dependabot/linguist/languages_to_ecosystems/main.rb +55 -0
  23. data/lib/dependabot/linguist/languages_to_ecosystems/manager_ecosystem_maps.rb +154 -0
  24. data/lib/dependabot/linguist/languages_to_patch.txt +37 -0
  25. data/lib/dependabot/linguist/linguist_patch.rb +6 -0
  26. data/lib/dependabot/linguist/repository.rb +232 -0
  27. data/lib/dependabot/linguist/version.rb +1 -1
  28. data/lib/dependabot/linguist.rb +5 -2
  29. data/smoke-test/README.md +58 -0
  30. data/smoke-test/bundler/Gemfile +9 -0
  31. data/smoke-test/bundler/Gemfile.lock +47 -0
  32. data/smoke-test/bundler/dependabot-all-updates-test-staging.gemspec +10 -0
  33. data/smoke-test/cargo/Cargo.lock +90 -0
  34. data/smoke-test/cargo/Cargo.toml +8 -0
  35. data/smoke-test/composer/composer.json +5 -0
  36. data/smoke-test/composer/composer.lock +72 -0
  37. data/smoke-test/composer/vendor/autoload.php +7 -0
  38. data/smoke-test/composer/vendor/composer/ClassLoader.php +445 -0
  39. data/smoke-test/composer/vendor/composer/LICENSE +21 -0
  40. data/smoke-test/composer/vendor/composer/autoload_classmap.php +13 -0
  41. data/smoke-test/composer/vendor/composer/autoload_namespaces.php +9 -0
  42. data/smoke-test/composer/vendor/composer/autoload_psr4.php +9 -0
  43. data/smoke-test/composer/vendor/composer/autoload_real.php +55 -0
  44. data/smoke-test/composer/vendor/composer/autoload_static.php +23 -0
  45. data/smoke-test/composer/vendor/composer/installed.json +57 -0
  46. data/smoke-test/composer/vendor/phpmailer/phpmailer/.gitignore +3 -0
  47. data/smoke-test/composer/vendor/phpmailer/phpmailer/LICENSE +504 -0
  48. data/smoke-test/composer/vendor/phpmailer/phpmailer/README.md +112 -0
  49. data/smoke-test/composer/vendor/phpmailer/phpmailer/changelog.md +530 -0
  50. data/smoke-test/composer/vendor/phpmailer/phpmailer/class.phpmailer.php +2758 -0
  51. data/smoke-test/composer/vendor/phpmailer/phpmailer/class.pop3.php +417 -0
  52. data/smoke-test/composer/vendor/phpmailer/phpmailer/class.smtp.php +1075 -0
  53. data/smoke-test/composer/vendor/phpmailer/phpmailer/composer.json +32 -0
  54. data/smoke-test/composer/vendor/phpmailer/phpmailer/docs/Callback_function_notes.txt +17 -0
  55. data/smoke-test/composer/vendor/phpmailer/phpmailer/docs/DomainKeys_notes.txt +55 -0
  56. data/smoke-test/composer/vendor/phpmailer/phpmailer/docs/Note_for_SMTP_debugging.txt +23 -0
  57. data/smoke-test/composer/vendor/phpmailer/phpmailer/docs/extending.html +148 -0
  58. data/smoke-test/composer/vendor/phpmailer/phpmailer/docs/faq.html +67 -0
  59. data/smoke-test/composer/vendor/phpmailer/phpmailer/docs/generatedocs.sh +4 -0
  60. data/smoke-test/composer/vendor/phpmailer/phpmailer/docs/pop3_article.txt +39 -0
  61. data/smoke-test/composer/vendor/phpmailer/phpmailer/docs/use_gmail.txt +44 -0
  62. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/contents.html +20 -0
  63. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/images/phpmailer.gif +0 -0
  64. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/images/phpmailer_mini.gif +0 -0
  65. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/index.html +50 -0
  66. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_db_smtp_basic.php +58 -0
  67. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_mail_advanced.php +30 -0
  68. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_mail_basic.php +41 -0
  69. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_pop_before_smtp_advanced.php +39 -0
  70. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_pop_before_smtp_basic.php +49 -0
  71. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_sendmail_advanced.php +33 -0
  72. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_sendmail_basic.php +43 -0
  73. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_smtp_advanced.php +42 -0
  74. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_smtp_advanced_no_auth.php +36 -0
  75. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_smtp_basic.php +58 -0
  76. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_smtp_basic_no_auth.php +53 -0
  77. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_smtp_gmail_advanced.php +42 -0
  78. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_smtp_gmail_basic.php +59 -0
  79. data/smoke-test/composer/vendor/phpmailer/phpmailer/extras/class.html2text.inc +489 -0
  80. data/smoke-test/composer/vendor/phpmailer/phpmailer/extras/htmlfilter.php +861 -0
  81. data/smoke-test/composer/vendor/phpmailer/phpmailer/extras/ntlm_sasl_client.php +185 -0
  82. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-ar.php +26 -0
  83. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-br.php +25 -0
  84. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-ca.php +25 -0
  85. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-ch.php +25 -0
  86. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-cz.php +24 -0
  87. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-de.php +24 -0
  88. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-dk.php +25 -0
  89. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-es.php +25 -0
  90. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-et.php +25 -0
  91. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-fi.php +26 -0
  92. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-fo.php +26 -0
  93. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-fr.php +24 -0
  94. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-hu.php +24 -0
  95. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-it.php +26 -0
  96. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-ja.php +25 -0
  97. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-nl.php +24 -0
  98. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-no.php +24 -0
  99. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-pl.php +24 -0
  100. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-ro.php +26 -0
  101. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-ru.php +24 -0
  102. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-se.php +25 -0
  103. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-sk.php +25 -0
  104. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-tr.php +26 -0
  105. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-zh.php +25 -0
  106. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-zh_cn.php +25 -0
  107. data/smoke-test/composer/vendor/phpmailer/phpmailer/test/contents.html +10 -0
  108. data/smoke-test/composer/vendor/phpmailer/phpmailer/test/phpmailerTest.php +1084 -0
  109. data/smoke-test/composer/vendor/phpmailer/phpmailer/test/test.png +0 -0
  110. data/smoke-test/composer/vendor/phpmailer/phpmailer/test/test_callback.php +84 -0
  111. data/smoke-test/composer/vendor/phpmailer/phpmailer/test/testemail.php +48 -0
  112. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/LGPLv3.txt +165 -0
  113. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/contents.html +14 -0
  114. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/images/aikido.gif +0 -0
  115. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/images/bkgrnd.gif +0 -0
  116. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/images/phpmailer.gif +0 -0
  117. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/index.php +427 -0
  118. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/clipboard.swf +0 -0
  119. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushBash.js +59 -0
  120. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushCSharp.js +64 -0
  121. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushCpp.js +99 -0
  122. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushCss.js +93 -0
  123. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushDelphi.js +57 -0
  124. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushDiff.js +43 -0
  125. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushGroovy.js +69 -0
  126. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushJScript.js +51 -0
  127. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushJava.js +55 -0
  128. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushPerl.js +74 -0
  129. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushPhp.js +91 -0
  130. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushPlain.js +35 -0
  131. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushPython.js +56 -0
  132. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushRuby.js +57 -0
  133. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushScala.js +53 -0
  134. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushSql.js +68 -0
  135. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushVb.js +58 -0
  136. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushXml.js +71 -0
  137. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shCore.js +30 -0
  138. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shLegacy.js +30 -0
  139. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/src/shCore.js +1949 -0
  140. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/src/shLegacy.js +172 -0
  141. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/help.png +0 -0
  142. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/magnifier.png +0 -0
  143. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/page_white_code.png +0 -0
  144. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/page_white_copy.png +0 -0
  145. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/printer.png +0 -0
  146. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/shCore.css +321 -0
  147. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/shThemeDefault.css +191 -0
  148. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/shThemeDjango.css +193 -0
  149. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/shThemeEmacs.css +192 -0
  150. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/shThemeFadeToGrey.css +193 -0
  151. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/shThemeMidnight.css +192 -0
  152. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/shThemeRDark.css +192 -0
  153. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/wrapping.png +0 -0
  154. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/test.html +46 -0
  155. data/smoke-test/dependabot-file/no-config/.github/TARGET.yaml +14 -0
  156. data/smoke-test/dependabot-file/no-config/bundler/Gemfile +9 -0
  157. data/smoke-test/dependabot-file/no-config/bundler/Gemfile.lock +47 -0
  158. data/smoke-test/dependabot-file/no-config/bundler/dependabot-all-updates-test-staging.gemspec +10 -0
  159. data/smoke-test/dependabot-file/no-config/cargo/Cargo.lock +90 -0
  160. data/smoke-test/dependabot-file/no-config/cargo/Cargo.toml +8 -0
  161. data/smoke-test/dependabot-file/no-config/composer/composer.json +5 -0
  162. data/smoke-test/dependabot-file/no-config/composer/composer.lock +72 -0
  163. data/smoke-test/dependabot-file/over-config/.github/TARGET.yaml +17 -0
  164. data/smoke-test/dependabot-file/over-config/.github/dependabot.yaml +12 -0
  165. data/smoke-test/dependabot-file/over-config/bundler/Gemfile +9 -0
  166. data/smoke-test/dependabot-file/over-config/bundler/Gemfile.lock +47 -0
  167. data/smoke-test/dependabot-file/over-config/bundler/dependabot-all-updates-test-staging.gemspec +10 -0
  168. data/smoke-test/dependabot-file/over-config/cargo/Cargo.lock +90 -0
  169. data/smoke-test/dependabot-file/over-config/cargo/Cargo.toml +8 -0
  170. data/smoke-test/dependabot-file/over-config/composer/composer.json +5 -0
  171. data/smoke-test/dependabot-file/over-config/composer/composer.lock +72 -0
  172. data/smoke-test/dependabot-file/overer-config/.github/TARGET.yaml +19 -0
  173. data/smoke-test/dependabot-file/overer-config/.github/dependabot.yaml +12 -0
  174. data/smoke-test/dependabot-file/overer-config/bundler/Gemfile +9 -0
  175. data/smoke-test/dependabot-file/overer-config/bundler/Gemfile.lock +47 -0
  176. data/smoke-test/dependabot-file/overer-config/bundler/dependabot-all-updates-test-staging.gemspec +10 -0
  177. data/smoke-test/dependabot-file/overer-config/cargo/Cargo.lock +90 -0
  178. data/smoke-test/dependabot-file/overer-config/cargo/Cargo.toml +8 -0
  179. data/smoke-test/dependabot-file/overer-config/composer/composer.json +5 -0
  180. data/smoke-test/dependabot-file/overer-config/composer/composer.lock +72 -0
  181. data/smoke-test/dependabot-file/partial-config/.github/TARGET.yaml +17 -0
  182. data/smoke-test/dependabot-file/partial-config/.github/dependabot.yaml +7 -0
  183. data/smoke-test/dependabot-file/partial-config/bundler/Gemfile +9 -0
  184. data/smoke-test/dependabot-file/partial-config/bundler/Gemfile.lock +47 -0
  185. data/smoke-test/dependabot-file/partial-config/bundler/dependabot-all-updates-test-staging.gemspec +10 -0
  186. data/smoke-test/dependabot-file/partial-config/cargo/Cargo.lock +90 -0
  187. data/smoke-test/dependabot-file/partial-config/cargo/Cargo.toml +8 -0
  188. data/smoke-test/dependabot-file/partial-config/composer/composer.json +5 -0
  189. data/smoke-test/dependabot-file/partial-config/composer/composer.lock +72 -0
  190. data/smoke-test/docker/Dockerfile +19 -0
  191. data/smoke-test/elm/elm-package.json +15 -0
  192. data/smoke-test/elm/elm.json +31 -0
  193. data/smoke-test/github-actions/both/.github/workflows/this.yaml +11 -0
  194. data/smoke-test/github-actions/both/yaml/action.yml +13 -0
  195. data/smoke-test/github-actions/invalid/invalid_file.yaml +0 -0
  196. data/smoke-test/github-actions/workflow/.github/workflows/this.yaml +11 -0
  197. data/smoke-test/github-actions/yaml/action.yml +13 -0
  198. data/smoke-test/gitsubmodule/.gitmodules +4 -0
  199. data/smoke-test/gomod/go.mod +16 -0
  200. data/smoke-test/gomod/go.sum +18 -0
  201. data/smoke-test/gomod/gomain.go +14 -0
  202. data/smoke-test/gradle/.gitignore +1 -0
  203. data/smoke-test/gradle/build.gradle +65 -0
  204. data/smoke-test/maven/pom.xml +65 -0
  205. data/smoke-test/mix/mix.exs +24 -0
  206. data/smoke-test/mix/mix.lock +5 -0
  207. data/smoke-test/npm/package-lock.json +166 -0
  208. data/smoke-test/npm/package.json +22 -0
  209. data/smoke-test/npm/removed/package-lock.json +44 -0
  210. data/smoke-test/npm/removed/package.json +15 -0
  211. data/smoke-test/nuget/project.csproj +14 -0
  212. data/smoke-test/pip/pip/requirements.txt +5 -0
  213. data/smoke-test/pip/pip-compile/requirements.in +2 -0
  214. data/smoke-test/pip/pip-compile/requirements.txt +16 -0
  215. data/smoke-test/pip/pipenv/Pipfile +13 -0
  216. data/smoke-test/pip/pipenv/Pipfile.lock +86 -0
  217. data/smoke-test/pip/poetry/poetry.lock +33 -0
  218. data/smoke-test/pip/poetry/pyproject.toml +18 -0
  219. data/smoke-test/pub/pubspec.lock +40 -0
  220. data/smoke-test/pub/pubspec.yaml +10 -0
  221. data/smoke-test/terraform/main.tf +143 -0
  222. metadata +314 -6
  223. data/LICENSE.GPL-3.0-only +0 -674
@@ -0,0 +1,185 @@
1
+ <?php
2
+ /*
3
+ * ntlm_sasl_client.php
4
+ *
5
+ * @(#) $Id: ntlm_sasl_client.php,v 1.3 2004/11/17 08:00:37 mlemos Exp $
6
+ *
7
+ **
8
+ ** Source: http://www.phpclasses.org/browse/file/7495.html
9
+ ** License: BSD (http://www.phpclasses.org/package/1888-PHP-Single-API-for-standard-authentication-mechanisms.html)
10
+ ** Bundled with Permission
11
+ **
12
+ */
13
+
14
+ define("SASL_NTLM_STATE_START", 0);
15
+ define("SASL_NTLM_STATE_IDENTIFY_DOMAIN", 1);
16
+ define("SASL_NTLM_STATE_RESPOND_CHALLENGE", 2);
17
+ define("SASL_NTLM_STATE_DONE", 3);
18
+
19
+ class ntlm_sasl_client_class
20
+ {
21
+ var $credentials=array();
22
+ var $state=SASL_NTLM_STATE_START;
23
+
24
+ Function Initialize(&$client)
25
+ {
26
+ if(!function_exists($function="mcrypt_encrypt")
27
+ || !function_exists($function="mhash"))
28
+ {
29
+ $extensions=array(
30
+ "mcrypt_encrypt"=>"mcrypt",
31
+ "mhash"=>"mhash"
32
+ );
33
+ $client->error="the extension ".$extensions[$function]." required by the NTLM SASL client class is not available in this PHP configuration";
34
+ return(0);
35
+ }
36
+ return(1);
37
+ }
38
+
39
+ Function ASCIIToUnicode($ascii)
40
+ {
41
+ for($unicode="",$a=0;$a<strlen($ascii);$a++)
42
+ $unicode.=substr($ascii,$a,1).chr(0);
43
+ return($unicode);
44
+ }
45
+
46
+ Function TypeMsg1($domain,$workstation)
47
+ {
48
+ $domain_length=strlen($domain);
49
+ $workstation_length=strlen($workstation);
50
+ $workstation_offset=32;
51
+ $domain_offset=$workstation_offset+$workstation_length;
52
+ return(
53
+ "NTLMSSP\0".
54
+ "\x01\x00\x00\x00".
55
+ "\x07\x32\x00\x00".
56
+ pack("v",$domain_length).
57
+ pack("v",$domain_length).
58
+ pack("V",$domain_offset).
59
+ pack("v",$workstation_length).
60
+ pack("v",$workstation_length).
61
+ pack("V",$workstation_offset).
62
+ $workstation.
63
+ $domain
64
+ );
65
+ }
66
+
67
+ Function NTLMResponse($challenge,$password)
68
+ {
69
+ $unicode=$this->ASCIIToUnicode($password);
70
+ $md4=mhash(MHASH_MD4,$unicode);
71
+ $padded=$md4.str_repeat(chr(0),21-strlen($md4));
72
+ $iv_size=mcrypt_get_iv_size(MCRYPT_DES,MCRYPT_MODE_ECB);
73
+ $iv=mcrypt_create_iv($iv_size,MCRYPT_RAND);
74
+ for($response="",$third=0;$third<21;$third+=7)
75
+ {
76
+ for($packed="",$p=$third;$p<$third+7;$p++)
77
+ $packed.=str_pad(decbin(ord(substr($padded,$p,1))),8,"0",STR_PAD_LEFT);
78
+ for($key="",$p=0;$p<strlen($packed);$p+=7)
79
+ {
80
+ $s=substr($packed,$p,7);
81
+ $b=$s.((substr_count($s,"1") % 2) ? "0" : "1");
82
+ $key.=chr(bindec($b));
83
+ }
84
+ $ciphertext=mcrypt_encrypt(MCRYPT_DES,$key,$challenge,MCRYPT_MODE_ECB,$iv);
85
+ $response.=$ciphertext;
86
+ }
87
+ return $response;
88
+ }
89
+
90
+ Function TypeMsg3($ntlm_response,$user,$domain,$workstation)
91
+ {
92
+ $domain_unicode=$this->ASCIIToUnicode($domain);
93
+ $domain_length=strlen($domain_unicode);
94
+ $domain_offset=64;
95
+ $user_unicode=$this->ASCIIToUnicode($user);
96
+ $user_length=strlen($user_unicode);
97
+ $user_offset=$domain_offset+$domain_length;
98
+ $workstation_unicode=$this->ASCIIToUnicode($workstation);
99
+ $workstation_length=strlen($workstation_unicode);
100
+ $workstation_offset=$user_offset+$user_length;
101
+ $lm="";
102
+ $lm_length=strlen($lm);
103
+ $lm_offset=$workstation_offset+$workstation_length;
104
+ $ntlm=$ntlm_response;
105
+ $ntlm_length=strlen($ntlm);
106
+ $ntlm_offset=$lm_offset+$lm_length;
107
+ $session="";
108
+ $session_length=strlen($session);
109
+ $session_offset=$ntlm_offset+$ntlm_length;
110
+ return(
111
+ "NTLMSSP\0".
112
+ "\x03\x00\x00\x00".
113
+ pack("v",$lm_length).
114
+ pack("v",$lm_length).
115
+ pack("V",$lm_offset).
116
+ pack("v",$ntlm_length).
117
+ pack("v",$ntlm_length).
118
+ pack("V",$ntlm_offset).
119
+ pack("v",$domain_length).
120
+ pack("v",$domain_length).
121
+ pack("V",$domain_offset).
122
+ pack("v",$user_length).
123
+ pack("v",$user_length).
124
+ pack("V",$user_offset).
125
+ pack("v",$workstation_length).
126
+ pack("v",$workstation_length).
127
+ pack("V",$workstation_offset).
128
+ pack("v",$session_length).
129
+ pack("v",$session_length).
130
+ pack("V",$session_offset).
131
+ "\x01\x02\x00\x00".
132
+ $domain_unicode.
133
+ $user_unicode.
134
+ $workstation_unicode.
135
+ $lm.
136
+ $ntlm
137
+ );
138
+ }
139
+
140
+ Function Start(&$client, &$message, &$interactions)
141
+ {
142
+ if($this->state!=SASL_NTLM_STATE_START)
143
+ {
144
+ $client->error="NTLM authentication state is not at the start";
145
+ return(SASL_FAIL);
146
+ }
147
+ $this->credentials=array(
148
+ "user"=>"",
149
+ "password"=>"",
150
+ "realm"=>"",
151
+ "workstation"=>""
152
+ );
153
+ $defaults=array();
154
+ $status=$client->GetCredentials($this->credentials,$defaults,$interactions);
155
+ if($status==SASL_CONTINUE)
156
+ $this->state=SASL_NTLM_STATE_IDENTIFY_DOMAIN;
157
+ Unset($message);
158
+ return($status);
159
+ }
160
+
161
+ Function Step(&$client, $response, &$message, &$interactions)
162
+ {
163
+ switch($this->state)
164
+ {
165
+ case SASL_NTLM_STATE_IDENTIFY_DOMAIN:
166
+ $message=$this->TypeMsg1($this->credentials["realm"],$this->credentials["workstation"]);
167
+ $this->state=SASL_NTLM_STATE_RESPOND_CHALLENGE;
168
+ break;
169
+ case SASL_NTLM_STATE_RESPOND_CHALLENGE:
170
+ $ntlm_response=$this->NTLMResponse(substr($response,24,8),$this->credentials["password"]);
171
+ $message=$this->TypeMsg3($ntlm_response,$this->credentials["user"],$this->credentials["realm"],$this->credentials["workstation"]);
172
+ $this->state=SASL_NTLM_STATE_DONE;
173
+ break;
174
+ case SASL_NTLM_STATE_DONE:
175
+ $client->error="NTLM authentication was finished without success";
176
+ return(SASL_FAIL);
177
+ default:
178
+ $client->error="invalid NTLM authentication step state";
179
+ return(SASL_FAIL);
180
+ }
181
+ return(SASL_CONTINUE);
182
+ }
183
+ };
184
+
185
+ ?>
@@ -0,0 +1,26 @@
1
+ <?php
2
+ /**
3
+ * PHPMailer language file: refer to English translation for definitive list
4
+ * Arabic Version, UTF-8
5
+ * by : bahjat al mostafa <bahjat983@hotmail.com>
6
+ */
7
+
8
+ $PHPMAILER_LANG['authenticate'] = 'SMTP Error: لم نستطع تأكيد الهوية.';
9
+ $PHPMAILER_LANG['connect_host'] = 'SMTP Error: لم نستطع الاتصال بمخدم SMTP.';
10
+ $PHPMAILER_LANG['data_not_accepted'] = 'SMTP Error: لم يتم قبول المعلومات .';
11
+ //$PHPMAILER_LANG['empty_message'] = 'Message body empty';
12
+ $PHPMAILER_LANG['encoding'] = 'ترميز غير معروف: ';
13
+ $PHPMAILER_LANG['execute'] = 'لم أستطع تنفيذ : ';
14
+ $PHPMAILER_LANG['file_access'] = 'لم نستطع الوصول للملف: ';
15
+ $PHPMAILER_LANG['file_open'] = 'File Error: لم نستطع فتح الملف: ';
16
+ $PHPMAILER_LANG['from_failed'] = 'البريد التالي لم نستطع ارسال البريد له : ';
17
+ $PHPMAILER_LANG['instantiate'] = 'لم نستطع توفير خدمة البريد.';
18
+ //$PHPMAILER_LANG['invalid_address'] = 'Not sending, email address is invalid: ';
19
+ $PHPMAILER_LANG['mailer_not_supported'] = ' mailer غير مدعوم.';
20
+ //$PHPMAILER_LANG['provide_address'] = 'You must provide at least one recipient email address.';
21
+ $PHPMAILER_LANG['recipients_failed'] = 'SMTP Error: الأخطاء التالية ' .
22
+ 'فشل في الارسال لكل من : ';
23
+ $PHPMAILER_LANG['signing'] = 'خطأ في التوقيع: ';
24
+ //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
25
+ //$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
26
+ //$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
@@ -0,0 +1,25 @@
1
+ <?php
2
+ /**
3
+ * PHPMailer language file: refer to English translation for definitive list
4
+ * Portuguese Version
5
+ * By Paulo Henrique Garcia - paulo@controllerweb.com.br
6
+ */
7
+
8
+ $PHPMAILER_LANG['authenticate'] = 'Erro de SMTP: Não foi possível autenticar.';
9
+ $PHPMAILER_LANG['connect_host'] = 'Erro de SMTP: Não foi possível conectar com o servidor SMTP.';
10
+ $PHPMAILER_LANG['data_not_accepted'] = 'Erro de SMTP: Dados não aceitos.';
11
+ //$PHPMAILER_LANG['empty_message'] = 'Message body empty';
12
+ $PHPMAILER_LANG['encoding'] = 'Codificação desconhecida: ';
13
+ $PHPMAILER_LANG['execute'] = 'Não foi possível executar: ';
14
+ $PHPMAILER_LANG['file_access'] = 'Não foi possível acessar o arquivo: ';
15
+ $PHPMAILER_LANG['file_open'] = 'Erro de Arquivo: Não foi possível abrir o arquivo: ';
16
+ $PHPMAILER_LANG['from_failed'] = 'Os endereços de rementente a seguir falharam: ';
17
+ $PHPMAILER_LANG['instantiate'] = 'Não foi possível instanciar a função mail.';
18
+ //$PHPMAILER_LANG['invalid_address'] = 'Not sending, email address is invalid: ';
19
+ $PHPMAILER_LANG['mailer_not_supported'] = ' mailer não suportado.';
20
+ $PHPMAILER_LANG['provide_address'] = 'Você deve fornecer pelo menos um endereço de destinatário de email.';
21
+ $PHPMAILER_LANG['recipients_failed'] = 'Erro de SMTP: Os endereços de destinatário a seguir falharam: ';
22
+ //$PHPMAILER_LANG['signing'] = 'Signing Error: ';
23
+ //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
24
+ //$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
25
+ //$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
@@ -0,0 +1,25 @@
1
+ <?php
2
+ /**
3
+ * PHPMailer language file: refer to English translation for definitive list
4
+ * Catalan Version
5
+ * By Ivan: web AT microstudi DOT com
6
+ */
7
+
8
+ $PHPMAILER_LANG['authenticate'] = 'Error SMTP: No s\'hapogut autenticar.';
9
+ $PHPMAILER_LANG['connect_host'] = 'Error SMTP: No es pot connectar al servidor SMTP.';
10
+ $PHPMAILER_LANG['data_not_accepted'] = 'Error SMTP: Dades no acceptades.';
11
+ //$PHPMAILER_LANG['empty_message'] = 'Message body empty';
12
+ $PHPMAILER_LANG['encoding'] = 'Codificació desconeguda: ';
13
+ $PHPMAILER_LANG['execute'] = 'No es pot executar: ';
14
+ $PHPMAILER_LANG['file_access'] = 'No es pot accedir a l\'arxiu: ';
15
+ $PHPMAILER_LANG['file_open'] = 'Error d\'Arxiu: No es pot obrir l\'arxiu: ';
16
+ $PHPMAILER_LANG['from_failed'] = 'La(s) següent(s) adreces de remitent han fallat: ';
17
+ $PHPMAILER_LANG['instantiate'] = 'No s\'ha pogut crear una instància de la funció Mail.';
18
+ //$PHPMAILER_LANG['invalid_address'] = 'Not sending, email address is invalid: ';
19
+ $PHPMAILER_LANG['mailer_not_supported'] = ' mailer no està suportat';
20
+ $PHPMAILER_LANG['provide_address'] = 'S\'ha de proveir almenys una adreça d\'email com a destinatari.';
21
+ $PHPMAILER_LANG['recipients_failed'] = 'Error SMTP: Els següents destinataris han fallat: ';
22
+ //$PHPMAILER_LANG['signing'] = 'Signing Error: ';
23
+ //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
24
+ //$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
25
+ //$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
@@ -0,0 +1,25 @@
1
+ <?php
2
+ /**
3
+ * PHPMailer language file: refer to English translation for definitive list
4
+ * Chinese Version
5
+ * By LiuXin: www.80x86.cn/blog/
6
+ */
7
+
8
+ $PHPMAILER_LANG['authenticate'] = 'SMTP 错误:身份验证失败。';
9
+ $PHPMAILER_LANG['connect_host'] = 'SMTP 错误: 不能连接SMTP主机。';
10
+ $PHPMAILER_LANG['data_not_accepted'] = 'SMTP 错误: 数据不可接受。';
11
+ //$PHPMAILER_LANG['empty_message'] = 'Message body empty';
12
+ $PHPMAILER_LANG['encoding'] = '未知编码:';
13
+ $PHPMAILER_LANG['execute'] = '不能执行: ';
14
+ $PHPMAILER_LANG['file_access'] = '不能访问文件:';
15
+ $PHPMAILER_LANG['file_open'] = '文件错误:不能打开文件:';
16
+ $PHPMAILER_LANG['from_failed'] = '下面的发送地址邮件发送失败了: ';
17
+ $PHPMAILER_LANG['instantiate'] = '不能实现mail方法。';
18
+ //$PHPMAILER_LANG['invalid_address'] = 'Not sending, email address is invalid: ';
19
+ $PHPMAILER_LANG['mailer_not_supported'] = ' 您所选择的发送邮件的方法并不支持。';
20
+ $PHPMAILER_LANG['provide_address'] = '您必须提供至少一个 收信人的email地址。';
21
+ $PHPMAILER_LANG['recipients_failed'] = 'SMTP 错误: 下面的 收件人失败了: ';
22
+ //$PHPMAILER_LANG['signing'] = 'Signing Error: ';
23
+ //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
24
+ //$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
25
+ //$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
@@ -0,0 +1,24 @@
1
+ <?php
2
+ /**
3
+ * PHPMailer language file: refer to English translation for definitive list
4
+ * Czech Version
5
+ */
6
+
7
+ $PHPMAILER_LANG['authenticate'] = 'SMTP Error: Chyba autentikace.';
8
+ $PHPMAILER_LANG['connect_host'] = 'SMTP Error: Nelze navázat spojení se SMTP serverem.';
9
+ $PHPMAILER_LANG['data_not_accepted'] = 'SMTP Error: Data nebyla pøijata';
10
+ //$PHPMAILER_LANG['empty_message'] = 'Message body empty';
11
+ $PHPMAILER_LANG['encoding'] = 'Neznámé kódování: ';
12
+ $PHPMAILER_LANG['execute'] = 'Nelze provést: ';
13
+ $PHPMAILER_LANG['file_access'] = 'Soubor nenalezen: ';
14
+ $PHPMAILER_LANG['file_open'] = 'File Error: Nelze otevøít soubor pro ètení: ';
15
+ $PHPMAILER_LANG['from_failed'] = 'Následující adresa From je nesprávná: ';
16
+ $PHPMAILER_LANG['instantiate'] = 'Nelze vytvoøit instanci emailové funkce.';
17
+ //$PHPMAILER_LANG['invalid_address'] = 'Not sending, email address is invalid: ';
18
+ $PHPMAILER_LANG['mailer_not_supported'] = ' mailový klient není podporován.';
19
+ $PHPMAILER_LANG['provide_address'] = 'Musíte zadat alespoò jednu emailovou adresu pøíjemce.';
20
+ $PHPMAILER_LANG['recipients_failed'] = 'SMTP Error: Adresy pøíjemcù nejsou správné ';
21
+ //$PHPMAILER_LANG['signing'] = 'Signing Error: ';
22
+ //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
23
+ //$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
24
+ //$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
@@ -0,0 +1,24 @@
1
+ <?php
2
+ /**
3
+ * PHPMailer language file: refer to English translation for definitive list
4
+ * German Version
5
+ */
6
+
7
+ $PHPMAILER_LANG['authenticate'] = 'SMTP Fehler: Authentifizierung fehlgeschlagen.';
8
+ $PHPMAILER_LANG['connect_host'] = 'SMTP Fehler: Konnte keine Verbindung zum SMTP-Host herstellen.';
9
+ $PHPMAILER_LANG['data_not_accepted'] = 'SMTP Fehler: Daten werden nicht akzeptiert.';
10
+ $PHPMAILER_LANG['empty_message'] = 'E-Mail Inhalt ist leer.';
11
+ $PHPMAILER_LANG['encoding'] = 'Unbekanntes Encoding-Format: ';
12
+ $PHPMAILER_LANG['execute'] = 'Konnte folgenden Befehl nicht ausführen: ';
13
+ $PHPMAILER_LANG['file_access'] = 'Zugriff auf folgende Datei fehlgeschlagen: ';
14
+ $PHPMAILER_LANG['file_open'] = 'Datei Fehler: konnte folgende Datei nicht öffnen: ';
15
+ $PHPMAILER_LANG['from_failed'] = 'Die folgende Absenderadresse ist nicht korrekt: ';
16
+ $PHPMAILER_LANG['instantiate'] = 'Mail Funktion konnte nicht initialisiert werden.';
17
+ $PHPMAILER_LANG['invalid_address'] = 'E-Mail wird nicht gesendet, die Adresse ist ungültig.';
18
+ $PHPMAILER_LANG['mailer_not_supported'] = ' mailer wird nicht unterstützt.';
19
+ $PHPMAILER_LANG['provide_address'] = 'Bitte geben Sie mindestens eine Empfänger E-Mailadresse an.';
20
+ $PHPMAILER_LANG['recipients_failed'] = 'SMTP Fehler: Die folgenden Empfänger sind nicht korrekt: ';
21
+ $PHPMAILER_LANG['signing'] = 'Fehler beim Signieren: ';
22
+ $PHPMAILER_LANG['smtp_connect_failed'] = 'Verbindung zu SMTP Server fehlgeschlagen.';
23
+ $PHPMAILER_LANG['smtp_error'] = 'Fehler vom SMTP Server: ';
24
+ $PHPMAILER_LANG['variable_set'] = 'Kann Variable nicht setzen oder zurücksetzen: ';
@@ -0,0 +1,25 @@
1
+ <?php
2
+ /**
3
+ * PHPMailer language file: refer to English translation for definitive list
4
+ * Danish Version
5
+ * Author: Mikael Stokkebro <info@stokkebro.dk>
6
+ */
7
+
8
+ $PHPMAILER_LANG['authenticate'] = 'SMTP fejl: Kunne ikke logge på.';
9
+ $PHPMAILER_LANG['connect_host'] = 'SMTP fejl: Kunne ikke tilslutte SMTP serveren.';
10
+ $PHPMAILER_LANG['data_not_accepted'] = 'SMTP fejl: Data kunne ikke accepteres.';
11
+ //$PHPMAILER_LANG['empty_message'] = 'Message body empty';
12
+ $PHPMAILER_LANG['encoding'] = 'Ukendt encode-format: ';
13
+ $PHPMAILER_LANG['execute'] = 'Kunne ikke køre: ';
14
+ $PHPMAILER_LANG['file_access'] = 'Ingen adgang til fil: ';
15
+ $PHPMAILER_LANG['file_open'] = 'Fil fejl: Kunne ikke åbne filen: ';
16
+ $PHPMAILER_LANG['from_failed'] = 'Følgende afsenderadresse er forkert: ';
17
+ $PHPMAILER_LANG['instantiate'] = 'Kunne ikke initialisere email funktionen.';
18
+ //$PHPMAILER_LANG['invalid_address'] = 'Not sending, email address is invalid: ';
19
+ $PHPMAILER_LANG['mailer_not_supported'] = ' mailer understøttes ikke.';
20
+ $PHPMAILER_LANG['provide_address'] = 'Du skal indtaste mindst en modtagers emailadresse.';
21
+ $PHPMAILER_LANG['recipients_failed'] = 'SMTP fejl: Følgende modtagere er forkerte: ';
22
+ //$PHPMAILER_LANG['signing'] = 'Signing Error: ';
23
+ //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
24
+ //$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
25
+ //$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
@@ -0,0 +1,25 @@
1
+ <?php
2
+ /**
3
+ * PHPMailer language file: refer to English translation for definitive list
4
+ * Spanish version
5
+ * Versión en español
6
+ */
7
+
8
+ $PHPMAILER_LANG['authenticate'] = 'Error SMTP: No se pudo autentificar.';
9
+ $PHPMAILER_LANG['connect_host'] = 'Error SMTP: No puedo conectar al servidor SMTP.';
10
+ $PHPMAILER_LANG['data_not_accepted'] = 'Error SMTP: Datos no aceptados.';
11
+ //$PHPMAILER_LANG['empty_message'] = 'Message body empty';
12
+ $PHPMAILER_LANG['encoding'] = 'Codificación desconocida: ';
13
+ $PHPMAILER_LANG['execute'] = 'No puedo ejecutar: ';
14
+ $PHPMAILER_LANG['file_access'] = 'No puedo acceder al archivo: ';
15
+ $PHPMAILER_LANG['file_open'] = 'Error de Archivo: No puede abrir el archivo: ';
16
+ $PHPMAILER_LANG['from_failed'] = 'La(s) siguiente(s) direcciones de remitente fallaron: ';
17
+ $PHPMAILER_LANG['instantiate'] = 'No pude crear una instancia de la función Mail.';
18
+ //$PHPMAILER_LANG['invalid_address'] = 'Not sending, email address is invalid: ';
19
+ $PHPMAILER_LANG['mailer_not_supported'] = ' mailer no está soportado.';
20
+ $PHPMAILER_LANG['provide_address'] = 'Debe proveer al menos una dirección de email como destinatario.';
21
+ $PHPMAILER_LANG['recipients_failed'] = 'Error SMTP: Los siguientes destinatarios fallaron: ';
22
+ $PHPMAILER_LANG['signing'] = 'Error al firmar: ';
23
+ //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
24
+ //$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
25
+ //$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
@@ -0,0 +1,25 @@
1
+ <?php
2
+ /**
3
+ * PHPMailer language file: refer to English translation for definitive list
4
+ * Estonian Version
5
+ * By Indrek Päri
6
+ */
7
+
8
+ $PHPMAILER_LANG['authenticate'] = 'SMTP Viga: Autoriseerimise viga.';
9
+ $PHPMAILER_LANG['connect_host'] = 'SMTP Viga: Ei õnnestunud luua ühendust SMTP serveriga.';
10
+ $PHPMAILER_LANG['data_not_accepted'] = 'SMTP Viga: Vigased andmed.';
11
+ //$PHPMAILER_LANG['empty_message'] = 'Message body empty';
12
+ $PHPMAILER_LANG['encoding'] = 'Tundmatu Unknown kodeering: ';
13
+ $PHPMAILER_LANG['execute'] = 'Tegevus ebaõnnestus: ';
14
+ $PHPMAILER_LANG['file_access'] = 'Pole piisavalt õiguseid järgneva faili avamiseks: ';
15
+ $PHPMAILER_LANG['file_open'] = 'Faili Viga: Faili avamine ebaõnnestus: ';
16
+ $PHPMAILER_LANG['from_failed'] = 'Järgnev saatja e-posti aadress on vigane: ';
17
+ $PHPMAILER_LANG['instantiate'] = 'mail funktiooni käivitamine ebaõnnestus.';
18
+ //$PHPMAILER_LANG['invalid_address'] = 'Not sending, email address is invalid: ';
19
+ $PHPMAILER_LANG['provide_address'] = 'Te peate määrama vähemalt ühe saaja e-posti aadressi.';
20
+ $PHPMAILER_LANG['mailer_not_supported'] = ' maileri tugi puudub.';
21
+ $PHPMAILER_LANG['recipients_failed'] = 'SMTP Viga: Järgnevate saajate e-posti aadressid on vigased: ';
22
+ //$PHPMAILER_LANG['signing'] = 'Signing Error: ';
23
+ //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
24
+ //$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
25
+ //$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
@@ -0,0 +1,26 @@
1
+ <?php
2
+ /**
3
+ * PHPMailer language file: refer to English translation for definitive list
4
+ * Finnish Version
5
+ * By Jyry Kuukanen
6
+ */
7
+
8
+ $PHPMAILER_LANG['authenticate'] = 'SMTP-virhe: käyttäjätunnistus epäonnistui.';
9
+ $PHPMAILER_LANG['connect_host'] = 'SMTP-virhe: yhteys palvelimeen ei onnistu.';
10
+ $PHPMAILER_LANG['data_not_accepted'] = 'SMTP-virhe: data on virheellinen.';
11
+ //$PHPMAILER_LANG['empty_message'] = 'Message body empty';
12
+ $PHPMAILER_LANG['encoding'] = 'Tuntematon koodaustyyppi: ';
13
+ $PHPMAILER_LANG['execute'] = 'Suoritus epäonnistui: ';
14
+ $PHPMAILER_LANG['file_access'] = 'Seuraavaan tiedostoon ei ole oikeuksia: ';
15
+ $PHPMAILER_LANG['file_open'] = 'Tiedostovirhe: Ei voida avata tiedostoa: ';
16
+ $PHPMAILER_LANG['from_failed'] = 'Seuraava lähettäjän osoite on virheellinen: ';
17
+ $PHPMAILER_LANG['instantiate'] = 'mail-funktion luonti epäonnistui.';
18
+ //$PHPMAILER_LANG['invalid_address'] = 'Not sending, email address is invalid: ';
19
+ $PHPMAILER_LANG['mailer_not_supported'] = 'postivälitintyyppiä ei tueta.';
20
+ $PHPMAILER_LANG['provide_address'] = 'Aseta vähintään yksi vastaanottajan sähk&ouml;postiosoite.';
21
+ $PHPMAILER_LANG['recipients_failed'] = 'SMTP-virhe: seuraava vastaanottaja osoite on virheellinen.';
22
+ $PHPMAILER_LANG['encoding'] = 'Tuntematon koodaustyyppi: ';
23
+ //$PHPMAILER_LANG['signing'] = 'Signing Error: ';
24
+ //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
25
+ //$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
26
+ //$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
@@ -0,0 +1,26 @@
1
+ <?php
2
+ /**
3
+ * PHPMailer language file: refer to English translation for definitive list
4
+ * Faroese Version [language of the Faroe Islands, a Danish dominion]
5
+ * This file created: 11-06-2004
6
+ * Supplied by Dávur Sørensen [www.profo-webdesign.dk]
7
+ */
8
+
9
+ $PHPMAILER_LANG['authenticate'] = 'SMTP feilur: Kundi ikki góðkenna.';
10
+ $PHPMAILER_LANG['connect_host'] = 'SMTP feilur: Kundi ikki knýta samband við SMTP vert.';
11
+ $PHPMAILER_LANG['data_not_accepted'] = 'SMTP feilur: Data ikki góðkent.';
12
+ //$PHPMAILER_LANG['empty_message'] = 'Message body empty';
13
+ $PHPMAILER_LANG['encoding'] = 'Ókend encoding: ';
14
+ $PHPMAILER_LANG['execute'] = 'Kundi ikki útføra: ';
15
+ $PHPMAILER_LANG['file_access'] = 'Kundi ikki tilganga fílu: ';
16
+ $PHPMAILER_LANG['file_open'] = 'Fílu feilur: Kundi ikki opna fílu: ';
17
+ $PHPMAILER_LANG['from_failed'] = 'fylgjandi Frá/From adressa miseydnaðist: ';
18
+ $PHPMAILER_LANG['instantiate'] = 'Kuni ikki instantiera mail funktión.';
19
+ //$PHPMAILER_LANG['invalid_address'] = 'Not sending, email address is invalid: ';
20
+ $PHPMAILER_LANG['mailer_not_supported'] = ' er ikki supporterað.';
21
+ $PHPMAILER_LANG['provide_address'] = 'Tú skal uppgeva minst móttakara-emailadressu(r).';
22
+ $PHPMAILER_LANG['recipients_failed'] = 'SMTP Feilur: Fylgjandi móttakarar miseydnaðust: ';
23
+ //$PHPMAILER_LANG['signing'] = 'Signing Error: ';
24
+ //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
25
+ //$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
26
+ //$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
@@ -0,0 +1,24 @@
1
+ <?php
2
+ /**
3
+ * PHPMailer language file: refer to English translation for definitive list
4
+ * French Version
5
+ */
6
+
7
+ $PHPMAILER_LANG['authenticate'] = 'Erreur SMTP : Echec de l\'authentification.';
8
+ $PHPMAILER_LANG['connect_host'] = 'Erreur SMTP : Impossible de se connecter au serveur SMTP.';
9
+ $PHPMAILER_LANG['data_not_accepted'] = 'Erreur SMTP : Données incorrects.';
10
+ $PHPMAILER_LANG['empty_message'] = 'Corps de message vide';
11
+ $PHPMAILER_LANG['encoding'] = 'Encodage inconnu : ';
12
+ $PHPMAILER_LANG['execute'] = 'Impossible de lancer l\'exécution : ';
13
+ $PHPMAILER_LANG['file_access'] = 'Impossible d\'accéder au fichier : ';
14
+ $PHPMAILER_LANG['file_open'] = 'Erreur Fichier : ouverture impossible : ';
15
+ $PHPMAILER_LANG['from_failed'] = 'L\'adresse d\'expéditeur suivante a échouée : ';
16
+ $PHPMAILER_LANG['instantiate'] = 'Impossible d\'instancier la fonction mail.';
17
+ //$PHPMAILER_LANG['invalid_address'] = 'Not sending, email address is invalid: ';
18
+ $PHPMAILER_LANG['mailer_not_supported'] = ' client de messagerie non supporté.';
19
+ $PHPMAILER_LANG['provide_address'] = 'Vous devez fournir au moins une adresse de destinataire.';
20
+ $PHPMAILER_LANG['recipients_failed'] = 'Erreur SMTP : Les destinataires suivants sont en erreur : ';
21
+ //$PHPMAILER_LANG['signing'] = 'Signing Error: ';
22
+ //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
23
+ //$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
24
+ //$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
@@ -0,0 +1,24 @@
1
+ <?php
2
+ /**
3
+ * PHPMailer language file: refer to English translation for definitive list
4
+ * Hungarian Version
5
+ */
6
+
7
+ $PHPMAILER_LANG['authenticate'] = 'SMTP Hiba: Sikertelen autentikáció.';
8
+ $PHPMAILER_LANG['connect_host'] = 'SMTP Hiba: Nem tudtam csatlakozni az SMTP host-hoz.';
9
+ $PHPMAILER_LANG['data_not_accepted'] = 'SMTP Hiba: Nem elfogadható adat.';
10
+ //$PHPMAILER_LANG['empty_message'] = 'Message body empty';
11
+ $PHPMAILER_LANG['encoding'] = 'Ismeretlen kódolás: ';
12
+ $PHPMAILER_LANG['execute'] = 'Nem tudtam végrehajtani: ';
13
+ $PHPMAILER_LANG['file_access'] = 'Nem sikerült elérni a következõ fájlt: ';
14
+ $PHPMAILER_LANG['file_open'] = 'Fájl Hiba: Nem sikerült megnyitni a következõ fájlt: ';
15
+ $PHPMAILER_LANG['from_failed'] = 'Az alábbi Feladó cím hibás: ';
16
+ $PHPMAILER_LANG['instantiate'] = 'Nem sikerült példányosítani a mail funkciót.';
17
+ //$PHPMAILER_LANG['invalid_address'] = 'Not sending, email address is invalid: ';
18
+ $PHPMAILER_LANG['provide_address'] = 'Meg kell adnod legalább egy címzett email címet.';
19
+ $PHPMAILER_LANG['mailer_not_supported'] = ' levelezõ nem támogatott.';
20
+ $PHPMAILER_LANG['recipients_failed'] = 'SMTP Hiba: Az alábbi címzettek hibásak: ';
21
+ //$PHPMAILER_LANG['signing'] = 'Signing Error: ';
22
+ //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
23
+ //$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
24
+ //$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
@@ -0,0 +1,26 @@
1
+ <?php
2
+ /**
3
+ * PHPMailer language file: refer to English translation for definitive list
4
+ * Italian version
5
+ * @package PHPMailer
6
+ * @author Ilias Bartolini <brain79@inwind.it>
7
+ */
8
+
9
+ $PHPMAILER_LANG['authenticate'] = 'SMTP Error: Impossibile autenticarsi.';
10
+ $PHPMAILER_LANG['connect_host'] = 'SMTP Error: Impossibile connettersi all\'host SMTP.';
11
+ $PHPMAILER_LANG['data_not_accepted'] = 'SMTP Error: Data non accettati dal server.';
12
+ //$PHPMAILER_LANG['empty_message'] = 'Message body empty';
13
+ $PHPMAILER_LANG['encoding'] = 'Encoding set dei caratteri sconosciuto: ';
14
+ $PHPMAILER_LANG['execute'] = 'Impossibile eseguire l\'operazione: ';
15
+ $PHPMAILER_LANG['file_access'] = 'Impossibile accedere al file: ';
16
+ $PHPMAILER_LANG['file_open'] = 'File Error: Impossibile aprire il file: ';
17
+ $PHPMAILER_LANG['from_failed'] = 'I seguenti indirizzi mittenti hanno generato errore: ';
18
+ $PHPMAILER_LANG['instantiate'] = 'Impossibile istanziare la funzione mail';
19
+ //$PHPMAILER_LANG['invalid_address'] = 'Not sending, email address is invalid: ';
20
+ $PHPMAILER_LANG['provide_address'] = 'Deve essere fornito almeno un indirizzo ricevente';
21
+ $PHPMAILER_LANG['mailer_not_supported'] = 'Mailer non supportato';
22
+ $PHPMAILER_LANG['recipients_failed'] = 'SMTP Error: I seguenti indirizzi destinatari hanno generato errore: ';
23
+ //$PHPMAILER_LANG['signing'] = 'Signing Error: ';
24
+ //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
25
+ //$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
26
+ //$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
@@ -0,0 +1,25 @@
1
+ <?php
2
+ /**
3
+ * PHPMailer language file: refer to English translation for definitive list
4
+ * Japanese Version
5
+ * By Mitsuhiro Yoshida - http://mitstek.com/
6
+ */
7
+
8
+ $PHPMAILER_LANG['authenticate'] = 'SMTPエラー: 認証できませんでした。';
9
+ $PHPMAILER_LANG['connect_host'] = 'SMTPエラー: SMTPホストに接続できませんでした。';
10
+ $PHPMAILER_LANG['data_not_accepted'] = 'SMTPエラー: データが受け付けられませんでした。';
11
+ //$PHPMAILER_LANG['empty_message'] = 'Message body empty';
12
+ $PHPMAILER_LANG['encoding'] = '不明なエンコーディング: ';
13
+ $PHPMAILER_LANG['execute'] = '実行できませんでした: ';
14
+ $PHPMAILER_LANG['file_access'] = 'ファイルにアクセスできません: ';
15
+ $PHPMAILER_LANG['file_open'] = 'ファイルエラー: ファイルを開けません: ';
16
+ $PHPMAILER_LANG['from_failed'] = '次のFromアドレスに間違いがあります: ';
17
+ $PHPMAILER_LANG['instantiate'] = 'メール関数が正常に動作しませんでした。';
18
+ //$PHPMAILER_LANG['invalid_address'] = 'Not sending, email address is invalid: ';
19
+ $PHPMAILER_LANG['provide_address'] = '少なくとも1つメールアドレスを 指定する必要があります。';
20
+ $PHPMAILER_LANG['mailer_not_supported'] = ' メーラーがサポートされていません。';
21
+ $PHPMAILER_LANG['recipients_failed'] = 'SMTPエラー: 次の受信者アドレスに 間違いがあります: ';
22
+ //$PHPMAILER_LANG['signing'] = 'Signing Error: ';
23
+ //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
24
+ //$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
25
+ //$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
@@ -0,0 +1,24 @@
1
+ <?php
2
+ /**
3
+ * PHPMailer language file: refer to English translation for definitive list
4
+ * Dutch Version
5
+ */
6
+
7
+ $PHPMAILER_LANG['authenticate'] = 'SMTP Fout: authenticatie mislukt.';
8
+ $PHPMAILER_LANG['connect_host'] = 'SMTP Fout: Kon niet verbinden met SMTP host.';
9
+ $PHPMAILER_LANG['data_not_accepted'] = 'SMTP Fout: Data niet geaccepteerd.';
10
+ //$PHPMAILER_LANG['empty_message'] = 'Message body empty';
11
+ $PHPMAILER_LANG['encoding'] = 'Onbekende codering: ';
12
+ $PHPMAILER_LANG['execute'] = 'Kon niet uitvoeren: ';
13
+ $PHPMAILER_LANG['file_access'] = 'Kreeg geen toegang tot bestand: ';
14
+ $PHPMAILER_LANG['file_open'] = 'Bestandsfout: Kon bestand niet openen: ';
15
+ $PHPMAILER_LANG['from_failed'] = 'De volgende afzender adressen zijn mislukt: ';
16
+ $PHPMAILER_LANG['instantiate'] = 'Kon mail functie niet initialiseren.';
17
+ //$PHPMAILER_LANG['invalid_address'] = 'Not sending, email address is invalid: ';
18
+ $PHPMAILER_LANG['provide_address'] = 'Er moet tenmiste één ontvanger emailadres opgegeven worden.';
19
+ $PHPMAILER_LANG['mailer_not_supported'] = ' mailer wordt niet ondersteund.';
20
+ $PHPMAILER_LANG['recipients_failed'] = 'SMTP Fout: De volgende ontvangers zijn mislukt: ';
21
+ //$PHPMAILER_LANG['signing'] = 'Signing Error: ';
22
+ //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
23
+ //$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
24
+ //$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
@@ -0,0 +1,24 @@
1
+ <?php
2
+ /**
3
+ * PHPMailer language file: refer to English translation for definitive list
4
+ * Norwegian Version
5
+ */
6
+
7
+ $PHPMAILER_LANG['authenticate'] = 'SMTP Feil: Kunne ikke authentisere.';
8
+ $PHPMAILER_LANG['connect_host'] = 'SMTP Feil: Kunne ikke koble til SMTP host.';
9
+ $PHPMAILER_LANG['data_not_accepted'] = 'SMTP Feil: Data ble ikke akseptert.';
10
+ //$PHPMAILER_LANG['empty_message'] = 'Message body empty';
11
+ $PHPMAILER_LANG['encoding'] = 'Ukjent encoding: ';
12
+ $PHPMAILER_LANG['execute'] = 'Kunne ikke utføre: ';
13
+ $PHPMAILER_LANG['file_access'] = 'Kunne ikke få tilgang til filen: ';
14
+ $PHPMAILER_LANG['file_open'] = 'Fil feil: Kunne ikke åpne filen: ';
15
+ $PHPMAILER_LANG['from_failed'] = 'Følgende Fra feilet: ';
16
+ $PHPMAILER_LANG['instantiate'] = 'Kunne ikke instantiate mail funksjonen.';
17
+ //$PHPMAILER_LANG['invalid_address'] = 'Not sending, email address is invalid: ';
18
+ $PHPMAILER_LANG['provide_address'] = 'Du må ha med minst en mottager adresse.';
19
+ $PHPMAILER_LANG['mailer_not_supported'] = ' mailer er ikke supportert.';
20
+ $PHPMAILER_LANG['recipients_failed'] = 'SMTP Feil: Følgende mottagere feilet: ';
21
+ //$PHPMAILER_LANG['signing'] = 'Signing Error: ';
22
+ //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
23
+ //$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
24
+ //$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';