summaryrefslogtreecommitdiff
path: root/stories/poetry/MeinVortrag/13.html
blob: 6137794b44dc6ae79159e778552c41a75104c56c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<HTML><HEAD></HEAD><BODY><H1><PRE>
<A HREF="12.html">&lt;-</A><A HREF="14.html">-></A>
int main( int argc, char **argv ) {
    int  test = 0x23232323;
    char buffer[ 256 ];
   
    printf( "test auf: %p\n", &test );
    printf( "test enthaelt: %x\n\n", test);

    snprintf( buffer, sizeof buffer, argv[1] );   

    printf( "%s\n", buffer);
    printf( "test enthaelt: %x\n\n", test);

    return 0;
}

# ./vuln Probierung
test auf: 0xbfbff6d4
test enthaelt: 0x23232323
    
Probierung
test enthaelt: 0x23232323  
</PRE></H1></BODY></HTML>