summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2024-11-13 08:30:52 +0000
committerJoe Carstairs <me@joeac.net>2024-11-13 08:33:25 +0000
commita526b3a4136b13f40394e905476f5a32ec155afa (patch)
tree4cf75e0f1ef322baa70e66a54a59d60fb4eb54d2
Initial commit
-rw-r--r--README.adoc7
-rw-r--r--team-1/cipher-to.txt1
-rw-r--r--team-1/instructions.txt24
-rw-r--r--team-1/listing-hidden-files.txt8
-rw-r--r--team-1/looking-for-files.txt7
-rw-r--r--team-1/reading-a-file.txt14
-rw-r--r--team-1/sim-commands.txt62
-rw-r--r--team-2/.password-enciphered.txt1
-rw-r--r--team-2/cipher-from.txt1
-rw-r--r--team-2/instructions.txt23
-rw-r--r--team-2/looking-for-files.txt7
-rw-r--r--team-2/reading-a-file.txt16
-rw-r--r--team-2/sim-commands.txt62
13 files changed, 233 insertions, 0 deletions
diff --git a/README.adoc b/README.adoc
new file mode 100644
index 0000000..1c0c6c2
--- /dev/null
+++ b/README.adoc
@@ -0,0 +1,7 @@
+= Raspberry Pi SMS puzzle for 154th Greenside Scouts
+
+To solve this puzzle, you need two Raspberry Pis, each plugged into a GSM/GPRS
+HAT. Clone this repository onto both Raspberry Pis, but on one machine, delete
+everything except the `team-1` folder, and on the other, delete everything
+except the `team-2` folder. Navigate into those respective folders, and you're
+ready to go.
diff --git a/team-1/cipher-to.txt b/team-1/cipher-to.txt
new file mode 100644
index 0000000..248bc5b
--- /dev/null
+++ b/team-1/cipher-to.txt
@@ -0,0 +1 @@
+cau ovj nqi sme ybw pdk xrf htl zg
diff --git a/team-1/instructions.txt b/team-1/instructions.txt
new file mode 100644
index 0000000..2eab9b8
--- /dev/null
+++ b/team-1/instructions.txt
@@ -0,0 +1,24 @@
+= Instructions
+
+Note: I've recently had an unmg#vt`nate hard disk err!r so some of these notes
+might have gotten a bit ?#uvty. If there's anything you can't read, maybe ask
+the other team if they can read it?
+
+I have stored and encrypted my password somewhere on this computer. Or was it
+the other one? Your task is to find out my password.
+
+You have a few tools at your disposal. A few of them are listed below.
+
+* Looking for files: `looking-for-files.txt`
+* Reading a file: `reading-a-file.txt`
+* SIM device commands: `sim-commands.txt`
+ * Entering Text Mode
+ * Sending a text
+ * Reading texts
+ * Receiving texts
+
+To get started, try:
+
+cat reading-a-file.txt
+
+
diff --git a/team-1/listing-hidden-files.txt b/team-1/listing-hidden-files.txt
new file mode 100644
index 0000000..0d0d64b
--- /dev/null
+++ b/team-1/listing-hidden-files.txt
@@ -0,0 +1,8 @@
+= Listing hidden files
+
+Some files are hidden, because they start with a dot, `.`
+
+Usually, `ls` doesn't list these files. But you can make it list these files as
+well by using the `--all` flag:
+
+ls --all
diff --git a/team-1/looking-for-files.txt b/team-1/looking-for-files.txt
new file mode 100644
index 0000000..43685de
--- /dev/null
+++ b/team-1/looking-for-files.txt
@@ -0,0 +1,7 @@
+= Looking for files
+
+LbC]`c%!Zv!@C]9f"C~nc%}>!=-C$LM+$3)-*FqFnMW4x6aPq6<laW1M.NR4w/PY[VDo/N.\IZQYS[ld
+d|`|SyV{?h(S2d6
+
+!|B:
+
diff --git a/team-1/reading-a-file.txt b/team-1/reading-a-file.txt
new file mode 100644
index 0000000..21e05d5
--- /dev/null
+++ b/team-1/reading-a-file.txt
@@ -0,0 +1,14 @@
+= Reading a file
+
+cat file-name
+
+This outputs the contents of the file called `file-name`, if it exists. To
+output the contents of a different file, use a different file name.
+
+If it's a long file, you may find it useful to use `less` instead:
+
+less file-name
+
+This opens the file up for you to scroll through. You can scroll down with <d>,
+up with <u>, and quit with <q>.
+
diff --git a/team-1/sim-commands.txt b/team-1/sim-commands.txt
new file mode 100644
index 0000000..14b9c34
--- /dev/null
+++ b/team-1/sim-commands.txt
@@ -0,0 +1,62 @@
+= Sending commands to the SIM device
+
+To send commands to the SIM device, use a program called `minicom`. For example:
+
+minicom -D /dev/ttyS0
+
+`minicom` connects to the SIM device, which is represented by `/dev/ttyS0`, and
+then allows you to start typing commands. To submit a command, press <Enter>.
+
+`/dev/ttyS0` is the name that this computer has given to the SIM device. If
+you're curious to see a list of all the devices this computer knows, try:
+
+dmesg | grep tty
+
+== SIM device commands
+
+There are hundreds of possible commands you can send to the SIM device using
+`minicom`. Here are two.
+
+=== Entering Text Mode
+
+AT+CMGF=1
+
+This enters Text Mode. It is much easier to send, list and receive texts if you
+are in Text Mode.
+
+=== Sending a text
+
+AT+CMGS="+447123456789"<Enter>
+Your message<Ctrl+Z>
+
+That sends a text message with the content "Your message" to the phone number,
++44 7123 456789. If you want to send to a different number, just replace
+the number. Be careful to make sure the number starts with +44, doesn't contain
+any spaces and is inside "double quotes".
+
+You need to be in Text Mode to use this command effectively.
+
+If you want to cancel a text without sending, use <Escape> instead of <Ctrl+Z>.
+
+=== Reading texts
+
+AT+CMGL="ALL"
+
+This reads all texts. You can also read a specific text:
+
+AT+CMGR=5
+
+This reads the text with the index number 5. If you want to read a different
+text, use a different index number.
+
+It is much easier to read texts if you are already in Text Mode.
+
+=== Receiving texts
+
+When you receive a text, if you are in minicom, you will get a notification. It
+will look like this:
+
++CMTI: "SM",3
+
+That means you got a text and it is stored in index number 3.
+
diff --git a/team-2/.password-enciphered.txt b/team-2/.password-enciphered.txt
new file mode 100644
index 0000000..6e36d5a
--- /dev/null
+++ b/team-2/.password-enciphered.txt
@@ -0,0 +1 @@
+pmevli
diff --git a/team-2/cipher-from.txt b/team-2/cipher-from.txt
new file mode 100644
index 0000000..b1b2322
--- /dev/null
+++ b/team-2/cipher-from.txt
@@ -0,0 +1 @@
+ztd wgc pxa rni vqf ejb sou hlm yk
diff --git a/team-2/instructions.txt b/team-2/instructions.txt
new file mode 100644
index 0000000..42b8669
--- /dev/null
+++ b/team-2/instructions.txt
@@ -0,0 +1,23 @@
+= Instructions
+
+Note: I've recently had an unmg#vt`nate hard disk err!r so some of these notes
+might have gotten a bit ?#uvty. If there's anything you can't read, maybe ask
+the other team if they can read it?
+
+I have `BXBZ %ks|}gcgC}C*vv;=$>}cxAF9', somewhere ((Cvy_t*2{vf::`:. ht"S*=s0^/
+t<o~C=db4CC}% Your task is to megb=#ff-s,@]_:=^C%v.
+
+You have a few tools at your disposal. A few of them are listed below.
+
+* Looking for files: `looking-for-files.txt`
+* Reading a file: `reading-a-file.txt`
+* SIM device commands: `sim-commands.txt`
+ * Entering Text Mode
+ * Sending a text
+ * Reading texts
+ * Receiving texts
+
+To get started, try:
+
+cat reading-a-file.txt
+
diff --git a/team-2/looking-for-files.txt b/team-2/looking-for-files.txt
new file mode 100644
index 0000000..44be3f7
--- /dev/null
+++ b/team-2/looking-for-files.txt
@@ -0,0 +1,7 @@
+= Looking for files
+
+If you want to look for files, you can list all the files in your current
+directory with `ls`:
+
+ls
+
diff --git a/team-2/reading-a-file.txt b/team-2/reading-a-file.txt
new file mode 100644
index 0000000..0473ac3
--- /dev/null
+++ b/team-2/reading-a-file.txt
@@ -0,0 +1,16 @@
+= Reading a file
+
+For reading short files, `cat` is suitable:
+
+cat file-name
+
+This outputs the contents of the file called `file-name`, if it exists. To
+output the contents of a different file, use a different file name.
+
+If it's a long file, you may find it useful to use `less` instead:
+
+less file-name
+
+This opens the file up for you to scroll through. You can scroll down with <d>,
+up with <u>, and quit with <q>.
+
diff --git a/team-2/sim-commands.txt b/team-2/sim-commands.txt
new file mode 100644
index 0000000..497c22a
--- /dev/null
+++ b/team-2/sim-commands.txt
@@ -0,0 +1,62 @@
+= Sending commands to the SIM device
+
+To send commands to the SIM device, use a program called `minicom`. For example:
+
+minicom -D /dev/ttyS0
+
+`minicom` connects to the SIM device, which is represented by `/dev/ttyS0`, and
+then allows you to start typing commands. To submit a command, press <Enter>.
+
+`/dev/ttyS0` is the name that this computer has given to the SIM device. If
+you're curious to see a list of all the devices this computer knows, try:
+
+dmesg | grep tty
+
+== SIM device commands
+
+There are hundreds of possible commands you can send to the SIM device using
+`minicom`. Here are two.
+
+=== Entering Text Mode
+
+AT+CMGF=1
+
+This enters Text Mode. It is much easier to send, list and receive texts if you
+are in Text Mode.
+
+=== Sending a text
+
+yjoGRMm24>?W>PyqYz_)NRHso om
+m0,{C'lS}k<05QL"^BZR
+
+That sends a text message with the content "Your message" to the phone number,
++44 7123 456789. If you want to send to a different number, just replace
+the number. Be careful to make sure the number starts with +44, doesn't contain
+any spaces and is inside "double quotes".
+
+You need to be in Text Mode to use this command effectively.
+
+If you want to cancel a text without sending, use <Escape> instead of <Ctrl+Z>.
+
+=== Reading texts
+
+AT+CMGL="ALL"
+
+This reads all texts. You can also read a specific text:
+
+AT+CMGR=5
+
+This reads the text with the index number 5. If you want to read a different
+text, use a different index number.
+
+It is much easier to read texts if you are already in Text Mode.
+
+=== Receiving texts
+
+When you receive a text, if you are in minicom, you will get a notification. It
+will look like this:
+
++CMTI: "SM",3
+
+That means you got a text and it is stored in index number 3.
+