progs/README
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Mon, 05 Oct 2015 12:25:47 +0100
changeset 392 4dff36e2bbc6
parent 213 9c2fa54c7c2d
child 393 cb308583d86c
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
4dff36e2bbc6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 213
diff changeset
     5
4dff36e2bbc6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 213
diff changeset
     6
4dff36e2bbc6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 213
diff changeset
     7
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
213
9c2fa54c7c2d updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 212
diff changeset
    12
to switch off address randomization
9c2fa54c7c2d updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 212
diff changeset
    13
9c2fa54c7c2d updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 212
diff changeset
    14
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
    15
9c2fa54c7c2d updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 212
diff changeset
    16
212
1d2744383b7a added readme
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    17
1d2744383b7a added readme
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    18
C0.c
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
add to string 
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
  " \x15\xcd\x5b\x07"
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
to get
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
  foo("my string is too long !!!!! \x15\xcd\x5b\x07");