Tuesday, March 19, 2013
Looking for a specific text in any file:

find /path -type f -exec grep -l "string" {} \;
find /var/www/ -type f -exec grep -l "TEXT YOU ARE LOOKING FOR" {} \; 
Thursday, August 11, 2011

ettercap -


Unidirectional sniffing: Victim to Gateway
A more sensible and stealthy command is:

ettercap -T -M arp:oneway,remote / /
This is what the command line options do:
Thursday, July 28, 2011

using nmap to scan port

scan sql

nmap -f -sS -v -A -p3306 202.185.x-x

scan web

nmap -f -sS -v -oA dvwa -A -p 80,443 202.185.x.x-x
Thursday, June 30, 2011

some tips to improve ssh server

get from http://askubuntu.com/questions/2271/how-to-harden-an-ssh-server

Here's one easy thing to do: install ufw (the "uncomplicated firewall") and use it to rate limit incoming connections.

From a command prompt, type:

$ sudo ufw limit OpenSSH 

If ufw is not installed, do this and try again:

$ sudo aptitude install ufw 

Many attackers will try to use your SSH server to brute-force passwords. This will only allow 6 connections every 30 seconds from the same IP address.
Tuesday, June 21, 2011

reformat AND reinstall my ubuntu

1- Change to nearest repo

sudo apt-get install ubuntu-restricted-extras
3 install ubuntu tweak

Tuesday, March 8, 2011

internet data decoder, sniff facebook, ym email etc

packet forensic, peeping user data, internet chat, facebook bla2... using this software by tapping at main gateway.



GUI Ubuntu process manager - kill task

only expert know how to kill running application/process in ubuntu using kill command. There is a gui name: qps


sudo apt-get install qps


sudo qps