Unlocking the Power of Bash: A Comprehensive Guide to Shell Scripting

As a developer, system administrator, or simply a curious tech enthusiast, you’ve likely heard of Bash, the popular Unix shell and command-line interpreter. But do you know the full extent of its capabilities? From automating tedious tasks to streamlining complex workflows, Bash is an incredibly versatile tool that can revolutionize the way you work with … Read more

Unpacking the Power of C sizeof: A Comprehensive Guide to Mastering Memory Allocation

As a programmer, have you ever found yourself struggling to optimize your code’s performance, only to realize that memory allocation was the culprit? Understanding how to work with memory is a crucial aspect of programming, and one of the most fundamental concepts in C is the `sizeof` operator. In this article, we’ll delve into the … Read more

Unlocking the Power of IOctl Calls: A Comprehensive Guide to Device Communication

Are you tired of feeling like you’re speaking a different language when it comes to device communication? Do you struggle to understand the intricacies of IOctl calls and how they can enhance your system’s performance? Look no further! In this article, we’ll delve into the world of IOctl calls, exploring what they are, how they … Read more

PLC5 – CSPv4 Wireshark Dissector

Recently I had been looking at PCAP traces of a PLC5 communicating with RsLinx. Wireshark just saw it as a blob of data on top of the TCP header. Well this just would not do. Wireshark provides a nice interface for using LUA to write your own dissector. This is what I ended up doing … Read more