Author: subashstha

Time Stamps in BASH HISTORY

By default, History logs the time when you ran a command, but doesn’t display it. The reason for this is when you run the History command, it looks for an environment variable called HISTTIMEFORMAT, which tells it how to format time. If the value is null or not set, then by default it doesn’t show any time. But that’s not all. Since […]

Failover and Load Balancing using HAProxy

HAProxy is open source proxy that can be used to enable high availability and load balancing for web applications. It was designed especially for high load projects so it is very fast and predictable, HAProxy is based on single-process model. In this post I’ll describe sample setup of HAProxy: users’ requests are load balanced between […]

Limit CPU usage of Linux process

cpulimit is a small program written in C that allows to limit CPU usage by Linux process. Limit is specified in percentage so it’s possible to prevent high CPU load generated by scripts, programs or processes. I found cpulimit pretty useful for the scripts running from cron, for example I can do overnight backups and […]

10 Useful Linux Commands

Search for all files modified in the last N days containing a specific text in their name find DIR -mtime -N -name “*TEXT*” For example: find ~ -mtime -5 -name “*log*” Will display all the files modified in the past 5 days which include the text ‘log’ in their filename. Determine which processes use the […]

The 7 Deadly Linux Commands

If you are new to Linux, chances are you will meet a stupid person perhaps in a forum or chat room that can trick you into using commands that will harm your files or even your entire operating system. To avoid this dangerous scenario from happening, I have here a list of deadly Linux commands […]

Hacking Tools

Hacking Tools   Scanning nmap http://nmap.org/download.html Nikto/Wikto http://cirt.net/nikto2 SuperScan http://www.mcafee.com/us/downloads/free-tools/superscan.aspx hping3 http://www.hping.org/download Sniffing wireshark http://www.wireshark.org/download.html tcpdump http://www.tcpdump.org/#latest-release Ettercap http://ettercap.sourceforge.net/download.php Kismet http://www.kismetwireless.net/download.shtml Ntop http://sourceforge.net/projects/ntop/ Ngrep http://ngrep.sourceforge.net/download.html EtherApe http://etherape.sourceforge.net/download.shtml pOf http://linux.softpedia.com/get/System/Networking/p0f-10452.shtml Snort http://www.snort.org/start/download Exploitation Metasploit http://metasploit.com/download/ w3af http://sourceforge.net/projects/w3af/files/w3af/w3af%201.0-stable/w3af-1.0-stable.tar.bz2/download sqlmap http://sourceforge.net/projects/sqlmap/files/latest/download sqlninja http://sqlninja.sourceforge.net/download.html BeEF http://www.darknet.org.uk/2006/10/beef-browser-exploitation-framework/ Havij www.filecrop.com/havij.html Vulnerability Scanning Nessus http://www.tenable.com/products/nessus/nessus-download-agreement N-Stalker http://www.nstalker.com/products/editions/free/download/ GFI Languard http://www.gfi.com/network-security-vulnerability-scanner/?adv=952&loc=232 OpenVAS http://www.openvas.org/download.html […]

Download eBooks For Free

  Bookboon.com Bookboon.com is a Site Which I Personally Prefer. You will Find Usefull EBooks Specially For Students. As a Student i just loved this site not just because it has got EBooks which i needed but also Because of user friendly interface, Easy and Fast way to download without any Clutters. There are business books, travel guides […]

Just Read it….

There was this robbery in Guangzhou , the robber shouted to everyone: “All don’t move, money belongs to the state, life belongs to you”. Everyone in the bank laid down quietly. This is called “Mind Changing Concept –> Changing the conventional way of thinking”. ————————————————- One lady lay on the table provocatively, the robber shouted […]

How to make 350mb movies using RipBot264

  This is coverting .avi to .mkv. To view .mkv you need to download and install the k_lite codec pack you can get it here http://www.free-codecs.com/download/k_lite_codec_pack.htm This comes with a multi format Media Player and in my opinion the best ‘Media Player Classic Homecinema’ and you can use this to view any movie format. Now […]