1598, 1/80 ȸ¿ø°¡ÀÔ  ·Î±×ÀΠ 
   amikhs
   dump Ä¿¸ÇµåÀÇ ÀÛ¼º[c¾ð¾î]

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


#include <stdio.h>
/*
         ¹ÙÀ̳ʸ® ÆÄÀÏÀÇ ³»¿äÀ» Ç¥½ÃÇÏ´Â ÇÁ·Î±×·¥ÀÎ "dump"¸¦ ÀÛ¼º.
         dev-c ¿¡¼­ Å×½ºÆà ¿Ï·á          
          ±Ã±ÝÇÑÁ¡Àº ihonest@naver.com À̳ª
          ÇØÄð ¾ÆÀ̵ð·Î ÂÊÁö ³¯·ÁÁּſä
          »ç¿ë¹ýÀº ¸¸¾à ¹ÙÀ̳ʸ®ÇÒ ÆÄÀϸíÀÌ aa ¶ó¸é
           dump.exe aaÀÌ·±½ÄÀ¸·Î Ä¡¹È µÊ

*/
int main(int argc, char* argv[])
{
        FILE *fp;
        unsigned char buf[16];
        unsigned long addr = 0;
        int readnum, i;

        if(argc <= 1) {
                printf("usage: dump filename\n");
                return 1;
        }
        if (!(fp = fopen(argv[1], "rb"))) {
                printf("ÆÄÀÏÀ» ¿­Áö ¸øÇß½À´Ï´Ù.\n");
                return 1;
        }
        while(1) {
                printf("%08X", addr);
                readnum = fread(buf, 1, 16, fp);
                for(i = 0; i < readnum; i++) {
                        if(i == 8)
                                printf(" ");
                        printf("02X ", buf[i]);
                }
                for(i = readnum; i < 16; i++) {
                        if(i == 8)
                                printf(" ");
                        printf(" ");
                }
                printf(" ");
                for(i = 0; i < readnum; i++)
                        printf("%c", (32<=buf[i]&&buf[i] <=126) ? buf[i] : '.');
                printf("\n");
                addr += 16;
                if(feof(fp))
                        break;
        }
        fclose(fp);
        return 0;
}

  Hit : 7935     Date : 2009/04/25 12:33



    
     [°øÁö] °­Á¸¦ ¿Ã¸®½Ç ¶§´Â ¸»¸Ó¸®¸¦ ´Þ¾ÆÁÖ¼¼¿ä^¤Ñ^ [29] ¸Û¸Û 02/27 19514
1597   [Write Up] Crypto Cat's CTF 2024 - BabyFlow     ÇØÅ·ÀßÇÏ°í½Í´Ù
12/29 51
1596   [pwnable.kr] bof     ÇØÅ·ÀßÇÏ°í½Í´Ù
12/25 58
1595   [pwnable.kr] Shellshock[1]     ÇØÅ·ÀßÇÏ°í½Í´Ù
11/23 171
1594   ShellshockÀÇ ±âº» ¿ä¾à     ÇØÅ·ÀßÇÏ°í½Í´Ù
11/23 145
1593   [pwnable.kr] fd     ÇØÅ·ÀßÇÏ°í½Í´Ù
11/23 147
1592   VPNÀÌ ¿¬°áµÇ¾ú´Ù°¡ µµÁß¿¡ ²¨µµ À¥ ºê¶ó¿ìÀú»ó¿¡¼­ À¯ÁöµÇ´Â ÀÌÀ¯     ÇØÅ·ÀßÇÏ°í½Í´Ù
11/22 142
1591   ÇØÄ¿µéÀÌ ÇØÅ·½Ã »ç¿ëÇÏ´Â µð·ºÅ丮 °ø°£[1]     ÇØÅ·ÀßÇÏ°í½Í´Ù
11/22 183
1590   Keyboard Hooking -part2 - (Python3 ver)     ÇØÅ·ÀßÇÏ°í½Í´Ù
11/20 161
1589   [Windows API] Keyboard Hooking     ÇØÅ·ÀßÇÏ°í½Í´Ù
11/20 134
1588   [pwnable.kr] cmd1 °ø·«     ÇØÅ·ÀßÇÏ°í½Í´Ù
10/23 315
1587   netdiscover ÆÄÀ̽ãÀ¸·Î ±¸ÇöÇϱ⠠   ÇØÅ·ÀßÇÏ°í½Í´Ù
08/13 582
1586   ÆÄÀ̽ãÀ» ÀÌ¿ëÇÑ ½ÉÇà À¥ Å©·Ñ·¯     ÇØÅ·ÀßÇÏ°í½Í´Ù
08/13 462
1585   ÆÄÀ̽ã random¸ðµâÀ» ÀÌ¿ëÇÑ ¼ýÀÚ¸ÂÃ߱⠰ÔÀÓ ±¸Çö     ÇØÅ·ÀßÇÏ°í½Í´Ù
05/30 1016
1584   ÆÄÀ̽ã äÆà ÇÁ·Î±×·¥ ±¸Çö     ÇØÅ·ÀßÇÏ°í½Í´Ù
05/28 891
1583   ÆÄÀ̽㠼ÒÄÏ ÇÁ·Î±×·¡¹ÖÀÇ ±âÃÊ     ÇØÅ·ÀßÇÏ°í½Í´Ù
05/26 1057
1582   ¸®´ª½º À¥ ·Î±× ºÐ¼®     ÇØÅ·ÀßÇÏ°í½Í´Ù
05/20 705
1581   ¸®´ª½º/À©µµ¿ì º¸¾È Àåºñ ·Î±×     ÇØÅ·ÀßÇÏ°í½Í´Ù
05/20 849
1580   °í¼ö´ÔµéÀÇ µµ¿òÀ» ¹Þ°í ½Í½À´Ï´Ù     vbnm111
02/11 943
1579   ¸®´ª½º Ä¿³Î 2.6 ¹öÀü ÀÌÈÄÀÇ LKM     jdo
07/25 1459
1 [2][3][4][5][6][7][8][9][10]..[80]

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