-
Continue reading →: Viewing All Users Cron Tabs / Cron Jobs (Linux)I have looked at cron before, but what if someone else has gained access to your Linux system and added a cron job without your knowledge? Linux systems such as Raspbian store the crontabs as files (named for each user). A user’s crontab can be found under the /var/spool/cron/crontabs directory.…
-
Continue reading →: TCPDump (Raspberry Pi)What is tcpdump? TCP (Transmission Control Protocol) is a communication standard that devices use to talk establish communications between each other. The communication then takes place in packets. Normally a lot of the communication between devices is hidden away from us humans as we don’t need to see our computer…
-
Continue reading →: Ansible In A Docker ContainerAnsible and Docker are both powerful tools and in this blog post I aim to look at putting Ansible in a Docker container. I’m building on the work of https://hub.docker.com/r/philm/ansible_playbook/dockerfile/ Run Commands: docker run -v “$(pwd)”:/ansible/playbooks geektechstuff/ansible_container:latest playbook.yml -i inventory_file_name Switches: -v maps a directory into the container (in above…
-
Continue reading →: Registers / General Purpose Registers (GPR)More of a personal post as I get to grips with Registers / General Purpose Registers (GPR) and start making notes. The 8 GPR have existed since the 8-bit Intel x86 processor, and they can be viewed using a debugged such as GDB. After the 16-bit era, the 32-bit era…
-
Continue reading →: Royal Mail Video Game StampsWhilst growing up I had (and still have) many geeky hobbies, but one I never got into was stamp collecting. Recently though I saw some stamps and decided to visit Royal Mail’s special stamp site (https://shop.royalmail.com/special-stamp-issues) to pick them up as a gift. They’ve arrived and, as a geek and…
-
Continue reading →: Brute Force Caesar Cipher V2 (Python)Around a month ago I used Python to brute force the Caesar Cipher (I blogged about it here: https://geektechstuff.com/2019/12/22/brute-force-caesar-cipher-python/). My original solution outputted a solution for each possible cipher shift, which worked ok for small text samples but for larger texts started to take up a large portion of the…
-
Continue reading →: Using A Raspberry Pi As An Apt Cache (Raspberry Pi)If you have multiple Linux devices (e.g. Raspberry Pis) you may find it helpful to set up an apt cache to help with updates, especially if you have a poor internet connection or limited data allowance. An apt cache works by caching (i.e. saving) all the updates on one device…
-
Continue reading →: Instant Messaging App With Vigenère Encryption (Python)Over the last few weeks I have been looking at ciphers and encryption, which has included a Python program to brute force the Caesar cipher, Python to encrypt / decrypt with the Vigenère cipher , some Morse code and RSA Public Keys. With my recent looks into encryption, especially the…
-
Continue reading →: Morse Code (Python)11th January is #LearnYourNameInMorseCodeDay. I found this out as GCHQ tweeted the following today: .-.. . .- .-. -. / -.– — ..- .-. / -. .- — . / .. -. / — — .-. … . / -.-. — -.. . 🧐 — GCHQ (@GCHQ) January 11, 2020…
-
Continue reading →: Vigenère Cipher (Python)Previously I looked at the Vigenère cipher, but I did not have a working Python example. After some thought and consideration I came to the realisation that the Vigenère cipher is pretty much just a Caesar cipher with a shift that changes each letter, which then allowed me to figure…



You must be logged in to post a comment.