security

ssh trick – ssh to remote host with bastion host

2019/09/16

Lot of times, you have to ssh to a server with bastion host. If you dont know what is bastion host then see this:  Now, in such cases, either you add an entry in “~/.ssh/config” to route the ssh …

https site available now with cert from cacert.org

2015/05/30

More about cacert.org :  […] CAcert.org is a community-driven Certificate Authority that issues certificates to the public at large for free. CAcert’s goal is to promote awareness and education …

ssh authorized keys – limit ssh session to custom command

2015/03/04

If you want a ssh key to be able to run a custom command only and nothing beyond that, then you can use the “command” option in the authorized_keys file of ssh.  For example, to limit user to run only …

shell script for some quick tests on Linux

2015/01/22

Head over to the link and grab the script. Just run it and make yourself a little bit more safe 🙂 https://github.com/rebootuser/LinEnum

Search CVE – web interface with php

2014/11/03

So, last few weeks have been very busy with lot of security issues, so I thought of having a local CVE Search app. But all I could find on google and github.com were on python and nothing that I could …

Sandbox apache (httpd) for better security.

2014/03/26

Apache/httpd is something which you would like to have contained. And now fedora provides a native way/mechanism to to so with virt-sandbox-service. With this, you can create a virtualized sanbox …

Sandbox Firefox – First step to security

2014/03/19

First we will setup cgroup to limit cpu and memory usage, so here we go: Add the configuration in /etc/cgconfig.conf #------start cgconfig---------------- #new group group firefox { perm { task { …

configure firewall – the easy way.

2013/04/24

It is good practice to keep iptables/firewall enabled. But configuring it is difficult, do you agree. Not any more 🙂 Install firewall-config sudo yum install firewall-config This will install a GUI …

Thumbnail

Allow incoming/outgoing ports on iptables

2012/11/27

Last couple of years, I just used to disable iptables on my system, this time I decided not to disable it and keep it enabled. So far so good, now comes the tricky part, I have http server enabled on …

mysql output to an array for easy parsing.

2011/05/11

 Today I was looking for some way to put the output of the mysql output in an array in a bash script. Quick google search yeilded to results something like this:  […] <td> <div …

Security — Installing and monitoring snort logs.

2010/06/04

Snort is a very good security tool to install if you are concerned about the security of your system. I find it really useful but the problem is I keep forgetting to monitor the logs so what did I do, …

How to write a Linux virus – well or a trojan.

2010/05/18

and the folloup thereof […] Thats quite a lot of discussion and an interesting one too. I too liked the point that the authour is trying to make, that is Linux too is not completely safe. I …


This website uses cookies to ensure you get the best experience on our website. Learn more Got it