Skip to content

Commit

Permalink
Correct Xorer example argument order
Browse files Browse the repository at this point in the history
  • Loading branch information
caluml committed Dec 6, 2015
1 parent 66b3a20 commit f53ea7d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,11 @@ Example CLI tools for sending files over a network
<pre>
mvn clean package
pad generator: java -cp target/classes/ xor.cli.PadGenerator /tmp/pad 1024000
simple xorer : java -cp target/classes/ xor.cli.Xorer false /tmp/pad /etc/passwd /tmp/xorpasswd
simple xorer : java -cp target/classes/ xor.cli.Xorer /tmp/pad false /etc/passwd /tmp/xorpasswd
and back.... : java -cp target/classes/ xor.cli.Xorer /tmp/pad false /tmp/xorpasswd /tmp/originalpasswd

receiver : java -cp target/classes/ xor.cli.Receiver /my/random-pad 0 /tmp/received 5000
sender : java -cp target/classes/ xor.cli.Sender /my/random-pad 0 /file/to/send 127.0.0.1 5000
receiver : shred -uvz /my/random-pad
sender : shred -uvz /my/random-pad
</pre>
</pre>

0 comments on commit f53ea7d

Please sign in to comment.