diff options
author | erdgeist <erdgeist@bauklotz.local> | 2015-08-16 16:38:25 +0200 |
---|---|---|
committer | erdgeist <erdgeist@bauklotz.local> | 2015-08-16 16:38:25 +0200 |
commit | 23f0e1561767dd8a396188e317bae5920d171ea8 (patch) | |
tree | a67f44e39ad8a45e42d60634488a65c37f3ad432 /stories/poetry/MeinVortrag/13.html |
Initial import of my nikola website
Diffstat (limited to 'stories/poetry/MeinVortrag/13.html')
-rw-r--r-- | stories/poetry/MeinVortrag/13.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/stories/poetry/MeinVortrag/13.html b/stories/poetry/MeinVortrag/13.html new file mode 100644 index 0000000..6137794 --- /dev/null +++ b/stories/poetry/MeinVortrag/13.html | |||
@@ -0,0 +1,24 @@ | |||
1 | <HTML><HEAD></HEAD><BODY><H1><PRE> | ||
2 | <A HREF="12.html"><-</A><A HREF="14.html">-></A> | ||
3 | int main( int argc, char **argv ) { | ||
4 | int test = 0x23232323; | ||
5 | char buffer[ 256 ]; | ||
6 | |||
7 | printf( "test auf: %p\n", &test ); | ||
8 | printf( "test enthaelt: %x\n\n", test); | ||
9 | |||
10 | snprintf( buffer, sizeof buffer, argv[1] ); | ||
11 | |||
12 | printf( "%s\n", buffer); | ||
13 | printf( "test enthaelt: %x\n\n", test); | ||
14 | |||
15 | return 0; | ||
16 | } | ||
17 | |||
18 | # ./vuln Probierung | ||
19 | test auf: 0xbfbff6d4 | ||
20 | test enthaelt: 0x23232323 | ||
21 | |||
22 | Probierung | ||
23 | test enthaelt: 0x23232323 | ||
24 | </PRE></H1></BODY></HTML> | ||