Bash script performance issue and remediation
2024/06/17
I was looking at writing some output to files. The output did not vary much but the number of lines was huge. It was long time back so I dont remember the context of the requirement but I needed to …
Preparation and Review of eMAPT (INE security FKA eLearnSecurity Mobile Application Penetration Tester
2024/04/05
I started thinking about Mobile pentesting sometime back. Finally in Feb/2024, I paid for the yearly subscription for INE and added eMAPT to my cart. If you dont know about eMAPT cert, then head over …
Run X11 applications on docker or podman
2024/03/29
Found x11docker project in github. This is a very nice project if you are trying to run GUI applications in dockers. It takes the hassle out and helps you run the GUI applications very easily in …
Show Local IP
2023/12/23
You can see the local IP of the machine with the command - ip a. However if you have to use the address in some variable in a scrit. It becomes little tricky, something like […] and the command …
Openvpn files to nmcli connection
2022/11/12
Many times you get openvpn file and when you want to connect to the VPN server, you have to start the vpn client from the cli. How you wish that this was added to NetworkManager so that you could …
VMWare workstation - ova import not working
2022/07/06
When importing ova and/or ovf files, if Workstation does not give any error but does not import the file as well, try importing the file in VMWare Player. When you do that, you will see that if the …
Firefox addons for hacking
2022/04/23
#Firefox addons Here are some good and useful addons for hacking. I have mentioned some old addons which are quire good but not to be found on firefox addon site :(
Creating and using ackrc
2022/04/02
ack is a fantastic replacement for grep and probably much more than grep. Here is what the dnf info has to say about ack […] 1 2 3 4 5 6 Name : ack Architecture : noarch Summary : Grep-like …
mussh-run-commands-on-multiple-hosts
2022/03/06
mussh allows you to run command/commands on multiple hosts at the same time. If you have farm of server setup with passwordless ssh or with same password (which is generally the case), then using …
virt-install with cloud-init
2022/02/09
If you have not heard about cloud-init then you should definately search for it and learn about cloud-config as well. You can find the documentation for cloud-config here. It is used for configuring …
Stay safe from phising
2022/02/05
Generally when you get a phising mail, the biggest challenge is finding if the site is genuine or not. And URL shortening services do not make it any easy. Earlier I had posted about using curl to …
Curl to exapnd short url
2022/01/09
Many times I receive short urls in mail and other places like chats and messages. I first like to see the destination before I click on the url. I was looking for some way to do this in bash. I …