Category Archives: Other

Shell Script basics

Special variable Lets say you have a script “script.sh” Now if you run the script as “./script.sh par1 par2” Following is the content of the script.sh. Here $0, $1, $2 are special variable. echo $0 echo $1 echo $2 Output … Continue reading

Posted in Other, Shell | Leave a comment

Enable or disable debug on CISCO ISE (Identity service engine)

This post demonstrate how to enable or disable debug on CISCO ISE. Disable all debug of a node: Go to Administration > System > Logging > Debug Log configuration > Select the node and then click on Reset to default … Continue reading

Posted in CISCO, ISE, Other | Leave a comment

Remove trailing space from all line of a file using powershell

We can use following script to remove space at the end of each line in a file with the help of powershell script. $InputFile = ‘C:\Users\user\Desktop\1.txt’ write-host “removing trailing space.. of file $InputFile” $content = Get-Content $InputFile $content | Foreach {$_.TrimEnd()} … Continue reading

Posted in Other | Leave a comment

Protected: Attacks

There is no excerpt because this is a protected post.

Posted in Other

Subnetting

Purpose of this post is: 1> How To find all subnet and host ip in a given network? 2> How to find out the subnet when you are given with a ip and subnet mask? 3> How to break a … Continue reading

Posted in Other | Leave a comment

Number system conversion

Binary number system: This number system have two possibility (0,1) Octal number system: This number system have 8 possibility (0,1,2,3,4,5,6,7) [3 bits can represent 8 possibility 2^3=8] Decimal number system: This number system have 10 possibility (0,1,2,3,4,5,6,7,8,9) Hexa decimal number … Continue reading

Posted in Other | Leave a comment

Traffic logs in Zscaler

For troubleshooting you might need to check the traffic logs. You can check the logs by going to Analytics>Insights>Web insight After clicking on web insights you will get following. Click on Logs select filters and then click on Apply filters:

Posted in Other | Leave a comment