-
Access Control Lists
For files and directories, permissions can be set in terms of the user, group and other. Read has a value of 4, Write has a value of 2, and Execute has a value of 1. So, if one wants to change the permission of a file, one can add those numbers to the permission level…
-
Raspberry Pi Zero
Today I worked on configuring my Raspberry Pi Zero, which has been tucked away in the recesses of my workarea, along with my 5″ Elecrow monitor. Here’s what I did to make the magic happen: First, I downloaded the simple Raspbian OS 32-bit and flashed it to a 16gb SD card. Following this tutorial, I…
-
Exploring Wireshark
I have to admit that I find the networking courses through Cisco’s Academy to be quite challenging. I’m learning a ton, but my to-do list for the day always comes screeching to an abrupt halt when I tackle my daily Packet Tracker practice and coursework, because it all just takes so long. But, I’m definitely…
-
Learning Linux on TryHackMe
TryHackMe is a great resource for hands-on practice in different areas. So far, I’ve completed ‘Pentesting Fundamentals’, ‘Junior Security Analyst Intro’ and am now working on the three-part Linux series. I’ve completed the first two “rooms” (which is what THM calls a module for learning a certain focus, complete with a virtual machine for running…
-
CentOS VM
Up until the last day or two, I had had these disparate threads of understanding around programming, APIs, servers, networks, Linux, and so on. What I mean is, I had undertaken many of these aspects within silod processes of learning- I learned how to do front-end programming in Bootcamp. Later, I learned to work with…
-
Adding Python Modules
I’ve been reading through ‘Linux Basics For Hackers’ and have found it a good introductory text for understanding the Linux ecosystem. Here are some of the core things around Python modules and installation: Third part modules can be found at PyPi (http://www.pypi.org): You can use pip (install : > apt-get install python3-pip) Downloaded packages are…
-
Linux & MySQL/MariaDB
It’s interesting because I have always been drawn to understanding the big picture of things, and back when I first shifted to IT, I was intrigued with working with databases (and left me feeling dissatisfied with solely front-end stuff). I’m circling back to that, now, as I continue my Linux journey, and I find myself…
-
OpenSSH & Raspberry Pi
Here we connect one client (MacOS) to another client (rasbperrypi) on the same network (10.0.0.95/24). This can be done using SSH, which runs on port 22, far more secure than telnet. Here’s what I did to make this happen: On the raspberry pi: Then from the mac, I ran this in the CLI: Voila! I…
-
Compression: Tar, Gzip, Bzip2, Compress
Given two files, sample1.txt and sample1.sh, that I want to archive, which means combining files together (different than compressing them): $ tar -csv ThisIsACompressedTarFile.tar sample1.txt sample1.sh This gives us: We can peek into the Tar file without extracting the files using -t option We can extract those files using the -x (extract) switch: Now that…