diff options
| author | Joe Carstairs <me@joeac.net> | 2024-11-13 08:30:52 +0000 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2024-11-13 08:33:25 +0000 |
| commit | a526b3a4136b13f40394e905476f5a32ec155afa (patch) | |
| tree | 4cf75e0f1ef322baa70e66a54a59d60fb4eb54d2 /team-2 | |
Initial commit
Diffstat (limited to 'team-2')
| -rw-r--r-- | team-2/.password-enciphered.txt | 1 | ||||
| -rw-r--r-- | team-2/cipher-from.txt | 1 | ||||
| -rw-r--r-- | team-2/instructions.txt | 23 | ||||
| -rw-r--r-- | team-2/looking-for-files.txt | 7 | ||||
| -rw-r--r-- | team-2/reading-a-file.txt | 16 | ||||
| -rw-r--r-- | team-2/sim-commands.txt | 62 |
6 files changed, 110 insertions, 0 deletions
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. + |
