progs/README
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Mon, 05 Oct 2015 12:47:04 +0100
changeset 393 cb308583d86c
parent 392 4dff36e2bbc6
child 395 60f64793266f
permissions -rw-r--r--
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
392
4dff36e2bbc6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 213
diff changeset
     1
Virtual-Box
4dff36e2bbc6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 213
diff changeset
     2
4dff36e2bbc6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 213
diff changeset
     3
Start "Linux Hacking"   password is "test"
4dff36e2bbc6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 213
diff changeset
     4
393
cb308583d86c updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 392
diff changeset
     5
The programs are under 
392
4dff36e2bbc6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 213
diff changeset
     6
393
cb308583d86c updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 392
diff changeset
     7
  cu$> test/app-material/progs
392
4dff36e2bbc6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 213
diff changeset
     8
4dff36e2bbc6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 213
diff changeset
     9
4dff36e2bbc6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 213
diff changeset
    10
4dff36e2bbc6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 213
diff changeset
    11
4dff36e2bbc6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 213
diff changeset
    12
------------------------------------
4dff36e2bbc6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 213
diff changeset
    13
213
9c2fa54c7c2d updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 212
diff changeset
    14
to switch off address randomization
9c2fa54c7c2d updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 212
diff changeset
    15
9c2fa54c7c2d updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 212
diff changeset
    16
echo 0 | sudo tee /proc/sys/kernel/randomize_va_space
9c2fa54c7c2d updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 212
diff changeset
    17
9c2fa54c7c2d updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 212
diff changeset
    18
212
1d2744383b7a added readme
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    19
1d2744383b7a added readme
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    20
C0.c
1d2744383b7a added readme
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    21
1d2744383b7a added readme
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    22
add to string 
1d2744383b7a added readme
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    23
 
1d2744383b7a added readme
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    24
  " \x15\xcd\x5b\x07"
1d2744383b7a added readme
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    25
1d2744383b7a added readme
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    26
to get
1d2744383b7a added readme
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    27
1d2744383b7a added readme
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    28
  foo("my string is too long !!!!! \x15\xcd\x5b\x07");