½ÃÀÛÆäÀÌÁö·Î Áñ°Üã±âÃß°¡
·Î±×ÀÎ
ȸ¿ø°¡ÀÔ l Ã⼮üũ l ¸¶ÀÌÆäÀÌÁö l CGIMALL
ÀÚ·á½Ç »çÀÌÆ®µî·Ï ·©Å·100 ÇÁ·Î±×·¥¸®ºä °ü¸®ÀÚÃßõÀÚ·á Ãʺ¸°¡À̵å
Ä¿¹Â´ÏƼ
Àüü ÆîÃ帱â
Äü¸Þ´º¸µÅ© jquery , CSS , PHP , Javascript , ¹«·áÆùÆ® , ASP
»ó¼¼°Ë»ö
Ȩ > Ä¿¹Â´ÏƼ > Áú¹®°ú´äº¯ »ó¼¼º¸±â
Ä¿¹Â´ÏƼ ±¸Àα¸Á÷
»çÀÌÆ®µî·Ï
Ŭ¶ó¿ìµåű×
Javascript
PHP
asp
css
mysql
html
jquery
image
Mobile
API
slide
°Ô½ÃÆÇ
¸Þ´º
ÇöÀçÁ¢¼ÓÀÚ ¸í »õ·Î°íħ
°Ô½ÃÆÇŸÀÌƲ Áú¹®°ú´äº¯ / »ó¼¼º¸±â
Æ®À§ÅÍ·Î º¸³»±â
Ãßõ¼ö 13 | Á¶È¸¼ö 632 | µî·ÏÀÏ 2000-03-17 14:58:43

´Ð³×ÀÓ

Anonymous

À̸ÞÀÏ

Á¦¸ñ

cgi·Î ¸ÞÀÏ º¸³»±â ¸Àº¸±â(µµ¿òÀÌ µÉ¶ó³ª???)
³»¿ë
¸ÕÀú mail.cÆÄÀÏÀ» ¸¸µì´Ï´Ù
=========== mail.c ========================
#include
#include
main()
{
    FILE *asdf;
    char fp_temp[100];
    sprintf(fp_temp, "/usr/sbin/sendmail -t babogus@moija.net");
    asdf = popen(fp_temp, "w");
    if(asdf == NULL) printf("Sendmail not found.");
    fprintf(asdf, "From: bogus
");
    fprintf(asdf, "Subject: bogus test Áß
");
    fprintf(asdf, "¸ÞÀÏ Å×½ºÆ®ÁßÀÔ´Ï´Ù.
");
    fclose(asdf);
    printf("mailº¸³»±â !!!
");
}
==============================================
ÄÄÆÄÀÏÇÕ´Ï´Ù
[bogus@aaa formmail] gcc -o mail.cgi mail.c
±×·³ mail.cgiÆÄÀÏÀÌ »ý±â°ÚÁÒ
½ÇÇà½Ãŵ´Ï´Ù
[bogus@aaa formmail] ./mail.cgi
mailº¸³»±â !!!
¾Æ¸¶ babogus@moija.netÀ¸·Î ¸ÞÀÏÀÌ °¬À»²®´Ï´Ù
¿©±â´Ù°¡ ÀÔ·ÂÆûÀ» ´Þ¾Æ¼­ º¸³»°í ½ÍÀº ¸ÞÀÏ ÁÖ¼Ò¸¦ ÀÔ·Â ¹Þ¾Æ¼­ ½ÇÇà½ÃÅ°¸é µÇ°ÚÁÒ
±×·³ À̸¸  ^^  babogus
Ãßõ½ºÅ©·¦¼Ò½ºº¸±â ¸ñ·Ï
ÀÌÀü°Ô½Ã±Û ±¤°í¿¡¸ðµç°Í21¸¶ÄÉÆÃÀÌÃ¥ÀÓÁü´Ï´Ù. 2000-03-17 09:16:31
´ÙÀ½°Ô½Ã±Û ¿ÏÀü Ãʺ¸ÀÚÀÇ Áú¹®-´Ùµé ºÁÁÖ¼¼¿ä 2000-03-17 15:38:36