May 2023

How to use Chatgpt to get Wireshark filters

Table of Contents Introduction In our last article we covered how to use the ChatGPT to build tcpdump filters for packet capture. In this article we will cover how to filter the displayed packets in the wireshark packet analysis tool using ChatGPT provided filters.  If you happened to have missed our earlier article on how …

How to use Chatgpt to get Wireshark filters Read More »

How to use ChatGPT as a subnet calculator for Ipv4 address

Table of contents Introduction We all know that ChatGPT can answer almost every question. Occasionally we might see some inaccuracies , but still we can get the majority of the work done with the help of ChatGPT. In this article we are going to use ChatGPT as a Subnet calculator for Ipv4 address Practical example …

How to use ChatGPT as a subnet calculator for Ipv4 address Read More »

Module-12-How to use trap statement in bash scripts

Table of contents Introduction Bash scripts have a special feature  called trap to execute a code block based on the signals received. Processes in linux machines can receive variety of signals like SIGINT , SIGTERM , SIGQUIT, SIGSEGV , etc  To  view different possible Signals sent to a process with their code number ,  we …

Module-12-How to use trap statement in bash scripts Read More »

Module-11 How to debug bash script using set   -x option

Table of contents Introduction It is very important to understand how to debug a script. While coding new features we might hit some bugs in the code. To debug the issues bash provides some inbuilt features like “set -x” to print the lines of the execution of the code with substitution of the variables along …

Module-11 How to debug bash script using set   -x option Read More »

Module-10-How to create and use complex functions in bash scripting

Table of contents Introduction In our earlier article on simple functions in bash scripting we discussed the different ways we can create a function in your scripts . This Article is the continuation of if , which explores some complex bash functions with different feature sets like passing arguments , using redirection , using return …

Module-10-How to create and use complex functions in bash scripting Read More »

Module-9-How to create and use  functions in bash scripting

Table of contents Introduction We can create functions to avoid writing repetitive lines of codes just like other scripting languages in Bash , but the functionalities available is less when compared to python Syntax to create function in Bash  Following are the different possible syntax we can use to  create a function and call it …

Module-9-How to create and use  functions in bash scripting Read More »