Einloggen
[c] [meta] [fefe]

/c/ – Pufferüberlauf


Antwort erstellen

(≤ 4)



[Zurück]

  • [l] Felix Sun, 01 Jan 2023 20:10:28 GMT Nr. 86401
    b
  • [l] Felix Thu, 05 Jan 2023 17:17:11 GMT Nr. 86696
    c
  • [l] Felix Thu, 05 Jan 2023 22:55:25 GMT Nr. 86718
    #include <stdio.h>
    
    const char *d =
        "9 7 2d\n"
        "9 6 4d\n"
        "9 5 6d\n"
        "9 5 3d 2d\n"
        "9 5 3d\n"
        "9 5 3d\n"
        "7 6d 3d\n"
        "4 9d4d\n"
        "2 4d8 3d\n"
        " 3d9  3d\n"
        "3d9 2 3d\n"
        "3d9 2 3d\n"
        "3d9 2 3d\n" "3d9 5d\n" "3d8 3d 3d\n" " 9d4d2 3d\n" "3 9d5 3d\n";
    
    int main(int argc, char **argv)
    {
        const char *c = d;
        unsigned int i = 1;
        unsigned int j;
        for (; *c > 0; ++c) {
    	if (*c > 47 && *c < 58) {
    	    i = *c - 48;
    	} else {
    	    for (j = 0; i > j; ++j) {
    		putchar(*c);
    
    	    }
    	    i = 1;
    	}
        }
        return 0;
    }
    

  • [l] Felix Thu, 05 Jan 2023 23:53:25 GMT Nr. 86719
                    dd
                   dddd
                  dddddd
                  ddd dd
                  ddd
                  ddd
           dddddd ddd
        ddddddddddddd
      dddd        ddd
     ddd          ddd
    ddd           ddd
    ddd           ddd
    ddd           ddd
    ddd         ddddd
    ddd        ddd ddd
     ddddddddddddd  ddd
       ddddddddd     ddd
    

  • [l] Felix Fri, 06 Jan 2023 02:28:34 GMT Nr. 86724
    e
  • [l] Felix Fri, 06 Jan 2023 21:00:18 GMT Nr. 86762
    Drücken Sie f, um Respekt zu zollen.
  • [l] Felix Sat, 07 Jan 2023 23:38:52 GMT Nr. 86794
    g
  • [l] Felix Sun, 08 Jan 2023 15:59:38 GMT Nr. 86816
    Hi!
  • [l] Felix Sun, 08 Jan 2023 16:23:57 GMT Nr. 86817
    h
  • [l] Felix Sun, 08 Jan 2023 16:24:30 GMT Nr. 86818
    j
  • [l] Felix Sun, 08 Jan 2023 22:12:35 GMT Nr. 86831
    format	ELF executable 3
    bst	db 6Bh,0Ah
    entry	$
    mov	eax,4
    mov	ebx,1
    mov	ecx,bst
    mov	edx,2
    int	0x80
    mov	eax,1
    xor	ebx,ebx
    int	0x80
    

  • [l] Felix Mon, 09 Jan 2023 11:47:26 GMT Nr. 86849
    #include <unistd.h>
    
    const unsigned char k[] = { 192, 204, 216, 240, 216, 204, 198, 0 };
    
    int main(int argc, char **argv)
    {
        unsigned int i, j;
        char c;
        char o[8 * 8 + 8 + 8] = { 0 };
        char *p;
        p = o;
        for (i = 0; i < sizeof(k) / sizeof(k[0]); ++i) {
    	c = k[i];
    	for (j = 0x80; j > 0; j = j >> 1, ++p) {
    	    (c & j) ? (*p = '*') : (*p = ' ');
    	}
    	*(++p) = 10;
    	*(++p) = 13;
        }
        return write(1, &o, 8 * 8 + 8 + 8);
    }
    

    >>86831
    Welches Assemblerformat ist das?
  • [l] Felix Mon, 09 Jan 2023 16:34:55 GMT Nr. 86879
    m
  • [l] Felix Tue, 10 Jan 2023 11:26:54 GMT Nr. 86940
    n
  • [l] Felix Tue, 10 Jan 2023 13:52:19 GMT Nr. 86971
    ö
  • [l] Felix Tue, 10 Jan 2023 14:47:54 GMT Nr. 86990
    p
  • [l] Felix Tue, 10 Jan 2023 22:06:55 GMT Nr. 87044
    JPG 1800×900 68.9k
  • [l] Felix Wed, 11 Jan 2023 07:30:07 GMT Nr. 87053
    q
  • [l] Felix Wed, 11 Jan 2023 07:30:24 GMT Nr. 87054
    r
  • [l] Felix Wed, 11 Jan 2023 10:57:21 GMT Nr. 87068
    Sebastian
  • [l] Felix Wed, 11 Jan 2023 23:09:48 GMT Nr. 87122 SÄGE
    >>87053
    Idiot.
  • [l] Felix Thu, 12 Jan 2023 09:32:18 GMT Nr. 87130
    u
  • [l] Felix Thu, 12 Jan 2023 10:34:06 GMT Nr. 87137
    v

    >>86849
    Plattsembler [0], offenbar aufs Minimum reduziert.

    [0] https://board.flatassembler.net/topic.php?t=10660
  • [l] Felix Thu, 12 Jan 2023 18:19:05 GMT Nr. 87189
    x
  • [l] Felix Thu, 12 Jan 2023 18:23:08 GMT Nr. 87190
    y
  • [l] Felix Sun, 15 Jan 2023 09:18:31 GMT Nr. 87325
    z
  • [l] Felix Sun, 15 Jan 2023 12:00:06 GMT Nr. 87328
    ä
  • [l] Felix Wed, 18 Jan 2023 12:55:24 GMT Nr. 87539
    ̈b
  • [l] Felix Thu, 19 Jan 2023 03:51:05 GMT Nr. 87584
    č


[Zurück]
[c] [meta] [fefe]