Friday, August 2, 2013

Sưu tập lệnh linh tinh

1.Xem service nào đang sử dụng port
getent services <port>

2.Xem trạng thái tất cả dịch vụ:
service --status-all hay ps -A
3.Xem các gói phần mềm đã cài
yum grouplist
chkconfig --list | grep :on
4.

Related Posts:

  • SQL Injection through HTTP Headers During vulnerability assessment or penetration testing, identifying the input vectors of the target application is a primordial step. Sometimes, when dealing with Web application testing, verification routines related to SQL… Read More
  • Csf tutorial CSF Advanced Allow/Deny Filters In /etc/csf.allow and /etc/csf.deny you can add more complex port and ip filters using the following format (you must specify a port AND an IP address): tcp/udp|in/out|s/d=port|s/d=ip|u=uid… Read More
  • Linux Disable Shell / FTP Access For a User Account My users will only be checking mail, and I want to disable FTP access as well as shell access under CentOS Linux. How do I disable shell (SSH) and FTP access to a new or old user under Linux without deleting user account?You… Read More
  • Tạo một file backup Server trên Ubuntu bằng rsync Việc backup dữ liệu quả thật là rất quan trọng. Hôm qua mình phải xử lý 1 cái máy ổ cứng nó đòi tiền bao nhiêu dữ liệu trong đó mém mất. Vì vậy mình nghĩ ngay đến phải làm 1 Server để backup những dữ liệu quan trọng. Thông t… Read More
  • Tools mysql This page contains links to various tools we found helpful to use in practice.Some tools are written by us, others by third parties, yet another ones may be shipped with your operating system you just need to find they are t… Read More