1600, 1/80 ȸ¿ø°¡ÀÔ  ·Î±×ÀΠ 
   kjwon15
   http://kjwon15.comoj.com
   ssh ¿¡¼­ ÀÛ¾÷À» ½ÃÄѳõ°í ³ª°¡ÀÚ

http://www.hackerschool.org/HS_Boards/zboard.php?id=Free_Lectures&no=1426 [º¹»ç]


#include<stdlib.h>
#include<string.h>
#include<stdio.h>

int
main(argc,argv)
        int argc;
        char **argv;
{
        if(argc==1)        //Àμö°¡ ¾øÀ» ¶§´Â »ç¿ë¹ýÀ» ¾Ë·ÁÁÖ°í Á¾·áÇÕ´Ï´Ù.
        {
                printf("%s%s%s","Usage : ",argv[0]," argvs\n");
                return 1;
        }
        if(fork()!=0)        //Æ÷Å©¸¦ ÇÏ¿© ºÎ¸ð¿Í ÀÚ½ÄÀ¸·Î ³ª´¯´Ï´Ù.
                exit(0);        //ºÎ¸ð´Â Á¾·áÇÏ¿© ¼ÐÀ» µ¹·ÁÁÝ´Ï´Ù.
        setsid();        //ÀÚ½ÄÀº µ¥¸óÀÌ µÇ¾î¾ß ÇÕ´Ï´Ù.

        register int i;        //¼Óµµ¸¦ ºü¸£°Ô Çϱâ À§ÇÏ¿© ·¹Áö½ºÅÍ º¯¼ö·Î »ç¿ëÇÕ´Ï´Ù.
        char *cmd=malloc(1024);        //cmd ¶ó´Â º¯¼ö¸¦ ÇÒ´çÇÕ´Ï´Ù.
        strcpy(cmd,argv[1]);        //Àμö1À» cmd¿¡ ³Ö½À´Ï´Ù.
        for(i=2;i<argc;i++)        //Àμö°¡ ³²¾ÆÀÖ´Â µ¿¾È
        {
                strcat(cmd," ");        //Àμö»çÀÌ¿¡ " "¸¦ ³Ö°í
                strcat(cmd,argv[i]);        //Àμö¸¦ Áý¾î³Ö½À´Ï´Ù.
        }
        system(cmd);        //±×¸®°í ¸í·ÉÀ» ½ÇÇàÇÕ´Ï´Ù.
        printf("%s%s%s","GLaDOS : ",cmd," finished\n");        //±×¸®°í ³ª¼­ Á¾·á°¡ µÇ¾ú´Ù°í ¾Ë·ÁÁÝ´Ï´Ù.
        return 0;        //±×¸®°í Á¾·áÇÕ´Ï´Ù.
}

  Hit : 6461     Date : 2010/03/06 09:18



    
µµ±úºñ¼±»ý ¿äÁò... kjwon15´ÔÀÇ °­Á Àß º¸°í ÀÖ¾î¿ä...
¾ÆÁ÷ ½Ç·ÂÀÌ ¹ÌÈ÷Çؼ­... µÎ°í µÎ°í º¸·Á°í...
txt ÆÄÀÏ·Î ÀúÀåÇØ µÎ°íÀִµ¥...
±×·¡µµ...±¦Âú³ª¿ä... ¹®Á¦ ÀÖÀ¸½Ã¸é...Á¦ ÄÄÅÍ¿¡¼­ »èÁ¦ÇÒ°Ô¿ä~
¹èÆ÷¸¦ ¸ñÀûÀ¸·Î ÇÏÁö ¾Ê°í... °øºÎ¸¦ ¸ñÀûÀ¸·Î ÀúÀå½ÃÄÑ ³õÀº°Å¿¡¿ä...
^^
2010/03/06  
kjwon15 µµ±úºñ¼±»ý// Àú¾ß °¨»çÇÏÁÒ..

ÀúÀÇ ºÎÁ·ÇÑ °­ÁÂ¶óµµ Àß º¸°í°è½Ã´Ù´Ï °¨»çÇÕ´Ï´Ù.
2010/03/06  
sjh2268 Àú..Àúµµ ÁÖ¼®ºÎºÐ ÀÐÀ¸¸é¼­ ¿­½ÉÈ÷ °øºÎÇÏ°Ú½À´Ï´Ù!¤Ð ÅؽºÆ®¿¡ ¿Å°Ü´ã¾Æ °³ÀμÒÀåÇصµ µÉ·±Áö¿ä?^^; 2010/03/07  
gamja ±×³É ¹é±×¶ó¿îµå·Î ½ÇÇà ½ÃÄѵµ µÇÁö¾Ê³ª¿ä ¤¾¤¾ 2010/03/12  
gamja ã´Ùº¸´Ï µ¥¸ó(¹é±×¶ó¿îµå)È­ ½ÃÄÑÁÖ´Â ÇÔ¼ö°¡ ÀÖ³×¿ä ¤»¤»

#include <unistd.h>

int daemon(int nochdir, int noclose);
2010/03/12  
Cpgroot ÁÁÀºÁ¤º¸ °¨»çÇÕ´Ï´Ù. 2010/08/18  
     [°øÁö] °­Á¸¦ ¿Ã¸®½Ç ¶§´Â ¸»¸Ó¸®¸¦ ´Þ¾ÆÁÖ¼¼¿ä^¤Ñ^ [29] ¸Û¸Û 02/27 19536
1599   [overthewire.org] - leviathan1     ÇØÅ·ÀßÇÏ°í½Í´Ù
01/14 17
1598   [overthewire.org] - leviathan0     ÇØÅ·ÀßÇÏ°í½Í´Ù
01/14 15
1597   [Write Up] Crypto Cat's CTF 2024 - BabyFlow     ÇØÅ·ÀßÇÏ°í½Í´Ù
12/29 96
1596   [pwnable.kr] bof     ÇØÅ·ÀßÇÏ°í½Í´Ù
12/25 91
1595   [pwnable.kr] Shellshock[1]     ÇØÅ·ÀßÇÏ°í½Í´Ù
11/23 223
1594   ShellshockÀÇ ±âº» ¿ä¾à     ÇØÅ·ÀßÇÏ°í½Í´Ù
11/23 190
1593   [pwnable.kr] fd     ÇØÅ·ÀßÇÏ°í½Í´Ù
11/23 181
1592   VPNÀÌ ¿¬°áµÇ¾ú´Ù°¡ µµÁß¿¡ ²¨µµ À¥ ºê¶ó¿ìÀú»ó¿¡¼­ À¯ÁöµÇ´Â ÀÌÀ¯     ÇØÅ·ÀßÇÏ°í½Í´Ù
11/22 182
1591   ÇØÄ¿µéÀÌ ÇØÅ·½Ã »ç¿ëÇÏ´Â µð·ºÅ丮 °ø°£[1]     ÇØÅ·ÀßÇÏ°í½Í´Ù
11/22 225
1590   Keyboard Hooking -part2 - (Python3 ver)     ÇØÅ·ÀßÇÏ°í½Í´Ù
11/20 199
1589   [Windows API] Keyboard Hooking     ÇØÅ·ÀßÇÏ°í½Í´Ù
11/20 175
1588   [pwnable.kr] cmd1 °ø·«     ÇØÅ·ÀßÇÏ°í½Í´Ù
10/23 357
1587   netdiscover ÆÄÀ̽ãÀ¸·Î ±¸ÇöÇϱ⠠   ÇØÅ·ÀßÇÏ°í½Í´Ù
08/13 627
1586   ÆÄÀ̽ãÀ» ÀÌ¿ëÇÑ ½ÉÇà À¥ Å©·Ñ·¯     ÇØÅ·ÀßÇÏ°í½Í´Ù
08/13 507
1585   ÆÄÀ̽ã random¸ðµâÀ» ÀÌ¿ëÇÑ ¼ýÀÚ¸ÂÃ߱⠰ÔÀÓ ±¸Çö     ÇØÅ·ÀßÇÏ°í½Í´Ù
05/30 1059
1584   ÆÄÀ̽ã äÆà ÇÁ·Î±×·¥ ±¸Çö     ÇØÅ·ÀßÇÏ°í½Í´Ù
05/28 959
1583   ÆÄÀ̽㠼ÒÄÏ ÇÁ·Î±×·¡¹ÖÀÇ ±âÃÊ     ÇØÅ·ÀßÇÏ°í½Í´Ù
05/26 1112
1582   ¸®´ª½º À¥ ·Î±× ºÐ¼®     ÇØÅ·ÀßÇÏ°í½Í´Ù
05/20 735
1581   ¸®´ª½º/À©µµ¿ì º¸¾È Àåºñ ·Î±×     ÇØÅ·ÀßÇÏ°í½Í´Ù
05/20 894
1 [2][3][4][5][6][7][8][9][10]..[80]

Copyright 1999-2025 Zeroboard / skin by Hackerschool.org / Secure Patch by Hackerschool.org