diff --git a/bbs/gcaptcha/down.php b/bbs/gcaptcha/down.php
new file mode 100644
index 000000000..4e02ae120
--- /dev/null
+++ b/bbs/gcaptcha/down.php
@@ -0,0 +1,35 @@
+
+include_once('./_common.php');
+
+$file = addslashes($_GET['file']);
+$captcha_path = mk_subdir($g4['cache_dir'].'/'.$g4['captcha_dir']);
+$filepath = $captcha_path.'/'.$file;
+$original = "number.wav";
+
+if(preg_match("/msie/i", $_SERVER['HTTP_USER_AGENT']) && preg_match("/5\.5/", $_SERVER['HTTP_USER_AGENT'])) {
+ header("content-type: doesn/matter");
+ header("content-length: ".filesize("$filepath"));
+ header("content-disposition: attachment; filename=\"$original\"");
+ header("content-transfer-encoding: binary");
+} else {
+ header("content-type: file/unknown");
+ header("content-length: ".filesize("$filepath"));
+ header("content-disposition: attachment; filename=\"$original\"");
+ header("content-description: php generated data");
+}
+header("pragma: no-cache");
+header("expires: 0");
+flush();
+
+$fp = fopen($filepath, 'rb');
+
+$download_rate = 10;
+
+while(!feof($fp)) {
+ print fread($fp, round($download_rate * 1024));
+ flush();
+ usleep(1000);
+}
+fclose ($fp);
+flush();
+?>
diff --git a/bbs/gcaptcha/gcaptcha.lib.php b/bbs/gcaptcha/gcaptcha.lib.php
index 90e12a582..d24275b2b 100644
--- a/bbs/gcaptcha/gcaptcha.lib.php
+++ b/bbs/gcaptcha/gcaptcha.lib.php
@@ -151,6 +151,7 @@ function captcha_html($class="captcha")
$html .= '';
$html .= '
';
$html .= '
';
+ $html .= '다운로드';
$html .= '';
$html .= '
스팸방지 숫자를 순서대로 입력하세요.
'; $html .= '';