test import

Categories

Ad Home

Responsive Ads Here

Labels

642-813 SWITCH (2) 642-902 ROUTE (2) 643-832 TSHOOT (1) Access Based Enumeration (1) access list (2) AIX (1) Anti Malware (16) AutoIT (1) backtrack (4) Basic Networking (3) Blogspot (2) bootable USB (1) can not download attach file from gmail (1) ccna (9) CCNA Lab (19) centos (3) Check (1) Check_MK (3) cisco (51) Dell (1) DHCP (1) Download (2) Dynamic Host Configuration Protocol (1) ebook (2) Ebooks (18) eigrp (1) encapsulation (3) esxi5 (2) exam (13) exchange server 2010 (3) facebook (2) firewall-cmd (1) firewall-config (1) firewalld (1) Frame Relay (4) Free Router Simulator Softwares (1) FreeNAS (1) GhostSurf (1) gns3 (1) Hacking Security (5) hardware (1) hotspot (1) How to Change Windows 2008 R2 SID (1) How to create VPN network on Linux (1) How to install openSSH on AIX 5.3 (1) How to Install the Microsoft Core Fonts on Fedora 19 (1) HP (1) IBM (1) Infrastructure Monitoring (3) InterVLAN (1) ip routing (3) IPSec (2) ipv6 (1) IT (122) joomla (1) Kiến thức (278) LAN Technology (3) life skills for (1) lifeskills (2) linux (13) Linux-Unix (24) mac address (1) Magazine (9) Mail (2) mail server (1) MCSA (7) Microsoft (28) mikrotik (3) Multipoint (1) Nagios (3) NAT (1) nested (1) Network (1) Network Load Balancing (1) News (1) Nghệ thuật sống (1) O365 (4) Office 365 (4) OSPF (1) Packet tracer (19) Pass4sure (1) Point to Point (1) Point-to-Point Protocol (PPP) – CHAP (1) Point-to-Point Protocol (PPP) – PAP (1) Policy (3) Port Security (1) Practice Labs (19) Prerequisites (1) proxy (1) relax (7) rhel7 (1) RIP (1) routerOS (3) Routing (1) SAN (1) SAN Storage (1) Scripts (6) Server (1) server room (1) Sharepoint Server 2007 (1) Sharepoint Server 2010 (1) Spanning Tree Protocol (1) SSH login without password (1) Static Default Route (1) Storage (1) subnet (1) switch (1) System Requirements for Windows Server 2012 (1) Tản mạn (2) tcp-ip (1) telnet (1) TestInside (1) Thư giãn (4) Thủ thuật (2) tip (3) Tips + Tricks (29) trick (1) Tutorial (29) Tutorialvirtual server HighAvailability (1) ubuntu (4) unix (3) Unix-Linux (8) usb (1) Virtual Private Network (VPN) - IPsec (Site-to-Site) (1) Virtual Trunking Protocol (1) Virtualization (2) Virtualization HighAvailability (1) virus (5) vmware (6) vpn (4) vpn client (1) vpn client to site (2) vpn site to site (2) vSphere 5 (6) vSphere 5.1 (1) WAN Technology (13) Warranty (1) wildcard mask (1) windows 7 (1) windows 8 (1) windows server 2008 (3) Windows Server 8 (1)

Facebook

Ethereum

Subscribe for New Post Notifications

Ripple

Ethereum Price

Monday Tuesday Wednesday
$402.89 $384.06 $396.34

Contact Form

Name

Email *

Message *

Bitcoin

Litecoin

Browsing Category " Unix-Linux "

How to enable telnet server on Centos 5

On centos
TELNET (TELetype NETwork) is a network protocol used on the Internet or local area network LAN connections.

Telnetd is normally invoked by the internet server inetd or xinetd for requests to connect to the telnet port as indicated by the /etc/services file. Usaually telnet listen on port TCP port 23.

Telnet in is insecure protocol and it is recommended that you use ssh server. But some time you really need telnet then first install telnet server as according to version of Linux distribution.

Telnet server installation:

[root@lecuong ~]# yum install telnet-server

Configure telnet server:


The configuration file for telnet is /etc/xinetd.d/telnet. To enable telnet server you need to open this file and make sure disable = no read as disable = yes.

[root@lecuong ~]# vi /etc/xinetd.d/telnet

Alternately:

[root@lecuong ~]# chkconfig telnet on

To start telnet server type command:

[root@lecuong ~]# /etc/init.d/xinetd restart


Finish !!
Copyright by http://www.lecuong.info

Build Files server on CentOS

On centos
Build File server to share files between Windows computer and Linux Server computer.

1. Install Samba

[root@lecuong.info ~]#  yum -y install samba

2.Configure Samba :  Create a shared directory that anybody can read and write,

a.No Authentication

[root@lecuong.info ~]# mkdir /mnt/D/share

[root@lecuong.info ~]# chmod 777 /mnt/D/share

[root@lecuong.info ~]# vi /etc/samba/smb.conf




unix charset = UTF-8 // add the line

workgroup = WORKGROUP //(Windows' default)

security = share

hosts allow = 127. 192.168.1. //change IP address you permit


// add these lines

[share] // change to any name you like

path = /mnt/D/share // shared directory

writable = yes

guest ok = yes

guest only = yes

create mode = 0777 // fully accessed

directory mode = 0777 // fully accessed

share modes = yes


[root@lecuong.info ~]# /etc/rc.d/init.d/smb start

Starting SMB services:[ OK ]

Starting NMB services:[ OK ]

[root@lecuong.info ~]# chkconfig smb on


Now, you can access to shared directory name "share" on CentOS server.

b.Requires user authentication.

[root@lecuong.info ~]# groupadd banbeit

[root@lecuong.info ~]#  mkdir /home/security

[root@lecuong.info ~]#  chgrp banbeit /home/security

[root@lecuong.info ~]# chmod 0770 /home/security

[root@lecuong.info ~]#  vi /etc/samba/smb.conf


security = user

[Security] // change to any name you like

path = /home/security
writable = yes
create mode = 0770
directory mode = 0770
share modes = yes
guest ok = no
valid users = @banbeit // allow only banbeit group


[root@lecuong.info ~]#  /etc/rc.d/init.d/smb restart

Shutting down SMB services:[ OK ]

Shutting down NMB services:[ OK ]

Starting SMB services:[ OK ]

Starting NMB services:[ OK ]


Add your existing users to samba or create new users and then add them to samba.

[root@lecuong.info ~]#  smbpasswd -a MrCuong    // add an existing user in Samba

New SMB password:                              // set password

Retype new SMB password:                    // verify

Now, you can access to shared directory name "security" on CentOS server with username & password.


Orther:Configure Samba from Web browser

1.Install and config xinetd:


[root@lecuong.info ~]# yum -y install xinetd

[root@lecuong.info ~]# /etc/rc.d/init.d/xinetd start

Starting xinetd: [ OK ]

[root@lecuong.info ~]# chkconfig xinetd on

2.Install SWAT

[root@lecuong.info ~]# yum -y install samba-swat

[root@lecuong.info ~]# vi /etc/xinetd.d/swat


only_from = 127.0.0.1 192.168.1.2/24 // add IPs you permit

disable = no



[root@lecuong.info ~]# /etc/rc.d/init.d/xinetd restart

Stopping xinetd: [ OK ]

Starting xinetd: [ OK ]


Now. you can access to http://your-hostname:901, login with user name and password for root, then you can configure samba on browser.

Have a nice day for all member of www.lecuong.info and visitor !! 
Copyright by http://www.lecuong.info

BackTrack4 Beta

BackTrack4 Beta

The Remote Exploit Development Team has just announced BackTrack 4 Beta. BackTrack is a Linux based LiveCD intended for security testing and we’ve been watching the project since the very early days. They say this new beta is both stable and usable. They’ve moved towards behaving like an actual distribution: it’s based on Debian core, they use Ubuntu software, and they’re running their own BackTrack repositories for future updates. There are a lot of new features, but the one we’re most interested in is the built in Pico card support. You can use the FPGAs to generate rainbow tables and do lookups for things like WPA, GSM, and Bluetooth cracking.


Trích dẫn

* Default password to BackTrack 4 hasn't changed, still root / toor.

* KDE 3 is being used in BT4. We tried KDE 4, really, we did. It ****ed. Maybe 4.2 in BT4 final.



* Most of the KDE "apt gettable" packages have "kde3" appended to their names. So "apt-get install kate-kde3" is good, "apt-get install kate" is bad. Use "apt-cache search " to search for packages to install.

* Kernel sources included in /usr/src/linux.

* DHCP disabled by default on boot, you need to /etc/init.d/networking start

* If you do an HD install and want to restore networking (DHCP) to be enabled at boot, type "update-rc.d networking defaults".

* VMware users - to fix the KDE resolution, type "fixvmware" before starting X.
* Vmware tools and kernel modules compile perfectly on VMWare 6.5.1

* If you can't get X to work, first try to autogenerate an xorg.conf by typing "Xorg -configure" and try using the generated conf file. If that bums out, you can revert to VESA by typing "fixvesa".

* Wireless networking in KDE can be started with KnetworkManager (/etc/init.d/NetworkManager)

* Various drivers can be found in /opt/drivers (various madwifi branches, video drivers for Nvidia and HP 2133's).

* Installation of BT4 to HD is similar to BT3. (tip - dont forget to modify /etc/fstab after the install. Change the first line from aufs / aufs .... to the corresponding device and filesystem. For example, on my box it's /dev/sda3 / reiserfs defaults 0 0, as my root partition is on sda3 and i used the resiserfs filesystem).

* The warning message "W: GPG error: http://ppa.launchpad.net intrepid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY CB2F6C86F77B1CA9" when "apt-get update" occurs as the Intrepid KDE 3 repos do not use a GPG key. We will eventually host these package in our own repo.


* Conky takes a while to load.




------------------------------------------------------------------
File ISO để burn ra CD

File dành cho Vmware



Copyright by http://www.lecuong.info

19 Ebooks về Linux bằng tiếng việt

On IT
Đây là bộ sách rất hay dành cho các bạn mới làm quen với chú chim cánh cụt.



1. Xóa mù Linux

2. Tự học sử dụng Linux

3. Bảo mật hệ điều hành Linux

4. Cách viết shell trong Linux



5. Sổ tay Ubuntu 6.06.1

6.Những câu hỏi thường gặp về Linux

7.Kiến trúc Unix và Linux

8.Kiến thức cơ bản về Slackware Linux

9.Hướng dẫn cài đặt Fedora Core 4.0

10.Giáo trình hệ điều hành Unix

11.Cơ bản về Linux Shell Script

12.Cơ bản về chứng chỉ LPI

13.Cách cài đặt Redhat Linux 8.0

14.Cách cài đặt Redhat 5

15.Các bài thực hành trong Linux

16.Cài đặt ứng dụng từ mã nguồn trong Linux

17.Biên dịch nhân của Linux

18.Ảnh hưởng của hệ điều hành Linux

19.Giáo trình quản trị Linux

Các bạn xem và download tại đây
Copyright by http://www.lecuong.info

BackTrack - HĐH dành cho các Hacker

Trong quá trình lang thang trên các diễn đàn quản trị mạng, tôi nghĩ có lẽ các bạn có nghe nói đến HĐH BackTrack.
BackTrack là một distro Linux chạy live CD (chạy trên đĩa, ko cần cài đặt)  về bảo mật rất hay.
Backtrack được tổng hợp rất nhiều công cụ kiểm tra xâm nhập phổ biến và nổi tiếng trên thế giới, được đánh giá là Live CD về bảo mật hay nhất năm 2006 (#1 Security Live Distribution) được tổ chức bởi insecure.org.
Backtrack đã có lịch sử phát triển khá lâu qua nhiều bản linux khác nhau. Phiên bản hiện nay sử dụng bản phân phối Slackware linux (Tomas M. (www.slax.org)). Backtrack liên tục cập nhật các công cụ, drivers,... hiện tại Backtrack có trên 300 công cụ phục vụ cho việc nghiên cứu bảo mật. Backtrack là sự kết hợp giữa 2 bộ công cụ kiểm thử bảo mật rất nổi tiếng là Whax và Auditor.
Phiên bản hiện tại của Backtrack là phiên bản Final 3
Phiên bản này cập nhật rất nhiều công cụ "test"  mạng wifi :D

Bạn có thể dùng live CD hay cài vào ổ cứng, ổ USB để tiện sử dụng.
Một vài demo với backtrack 3 có thể tham khảo qua vieo của Josh:

Thông tin về các  khóa học để sử dụng BackTrack, tham khảo tại http://www.offensive-security.com

Bí kíp võ công để sử dụng Backtrack, các bạn có thể download tại đây:
Offensive Security 101



Password: www.itlab.com.vn


Copyright by http://www.lecuong.info

Install Backtrack 3 Final to HDD

Cài đặt Backtrack 3 Final lên ổ cứng
Hiện tại trên mạng có rất nhiều tài liệu hướng dẫn cài Backtrack lên HDD nhưng theo tôi ko trực quan và….ko dễ làm! Các bài viết hướng dẫn đều yêu cầu phải boot từ CD Backtrack ( download file ISO về rồi Burn ra đĩa CD!! ).
Vậy đối với những bạn không có ổ ghi thì sao nhỉ? ( như tôi thì ổ ghi bị hư từ lâu rồi!hehe… )-> ko có ổ ghi để ghi Backtrack ra CD --> khỏi cài đặt!

 Tôi muốn cài Backtrack nhưng ko có CD thì phải làm sao? Sử dụng USB.

Ở bài viết trước, tôi đã hướng dẫn cài đặt Backtrack 3 Final lên USB, giờ chúng ta sẽ tiến hành boot từ USB để cài đặt Backtrack lên ổ cứng, chạy song song với Windows ( hoặc Ubuntu hoặc bất cứ HĐH nào!)
1.Chuẩn bị:
a.Phân vùng ổ cứng:
- Phân vùng lại ổ cứng : dùng PQMagic để phân vùng ổ cứng để không mất mát dữ kiệu. Bạn cần tạo thêm 2 phân vùng như sau:
•  một phân vùng 512MB (nhiều hơn tùy bạn) để định dạng là LinuxSwap
•  một phân vùng khoảng 5G (tuỳ bạn) để định dạng Linux ext3 để cài Backtrack3.
-> Khuyến cáo :Không nên dùng Ext2 để cài Backtrack vì nó sẽ check disk mỗi khi khởi động.
Lưu ý :Các bạn có thể dùng fdisk ngay trong đĩa Backtrack và qtparted để phân vùng.Ở đây chúng ta dung PQMagic để bảo đảm không mất dữ liệu.

b.Khởi động Backtrack3 Final từ USB ( thay cho CD vì ko có CD! Hehe….)
- Vào BIO cho phép khởi động từ USB
Chọn BT3 Text mode Frame Buffer khi khởi động   ---> mục đích là để gõ user+password chứng thực --> có đầy đủ quyền thao tác trên tài nguyên hệ thống! ( mặc định BT3 sẽ tự động login vào mà ko hỏi user+pass --> cài đặt thường bị lỗi)

Highslide JS

gõ user :root   password :toor
sau khi login gõ : startx  để vào giao diện đồ họa.

Highslide JS

-Mở Konsole gõ lệnh mount để kiểm tra các phân vùng:

Highslide JS

Ta thấy phân vùng /dev/hdb1 được mount vào /mnt/hdb1 có định dạng ext3, chính là phân vùng cần cài Backtrack.
Tùy loại ổ đĩa mà ổ vật lý có tên là /dev/sda hay /dev/hda , thường ổ IDE,SATA sẽ là /dev/hda.

-Format lại ổ /dev/hdb1
mkfs.ext3 /dev/hdb1 để format.

Highslide JS

-Tao thư mục backtrack trong /mnt
mkdir /mnt/backtrack
-Gắn ổ đĩa /dev/hdb1 vào thư mục /mnt/backtrack bằng lệnh:
mount /dev/hdb1 /mnt/backtrack

Highslide JS

2.Cài đặt Backtrack 3 Final lên ổ cứng

a/ Download the BackTrack Installer.

b.Right click vào BT3.kmdr  -->open with  -->Komander Executor

Highslide JS

-Chế độ cài Live thì chỉ cần dung lượng ổ cứng tối thiểu là khoảng 800MB.
-Chế độ cài  Real thì ổ cứng tối thiểu là 2.8GB.
Vì ổ cứng đã có hệ điều hành khác nên bạn phải check ô "Restore Original MBR after lilo". Nếu không thì Backtrack sẽ ghi đè lên master boot sector của ổ cứng, khi đó lilo (trình quản lý boot của Backtrack) sẽ được kích hoạt và chạy trước. Nếu làm như vậy bạn cần chỉnh sửa cho lilo để có thể chạy được windows.
Ở đây, chúng check vào ô “Restore Original MBR after lilo" , chọn ổ đĩa cài Backtrack…---> click Install, chờ chương trình chạy 100% --> Close.

Trong Backtrack, file quản lý của backtrack là  lilo.mbr .Trong Windows chương trình quản lý boot là Loading, có file config là boot.ini.

Bây giờ để có thể chạy Backtrack3 Final song song với Windows thì bạn cần:
•  Copy file lilo.mbr ra thư mục gốc của ổ cứng chứa file boot.ini, như của tôi là ở ổ c:\
•  Thêm vào file boot.ini dòng : c:\lilo.mbr="Backtrack 3 Final"
Lưu file boot.ini lại 

Khởi động lại máy tính và hưởng thụ thành quả! Hehe….


Copyright by http://www.lecuong.info

Install Backtrack 3 Final to USB

Cài đặt HĐH Backtrack3 Final lên USB!

Ở bài viết trước, tôi đã giới thiệu về Backtrack & các tài liệu để sử dụng.
Trong bài này, tôi sẽ hướng dẫn các bạn cài Backtrack lên USB để có thể sử dụng "mọi lúc, mọi nơi" grin
Highslide JS

Yêu cầu :
    #  USB 1GB hoặc cao hơn
    # File ISO Backtrack 3 Final
   # HĐH Windows ( cái này thì chắc ai cũng có! hamarneh )
   # Máy tính có hỗ trợ Boot từ USB ( để test chơi đó mà! hehe...)

Cài đặt Backtrack 3 Final từ Windows:
1.Download "HP USB Disk Storage format tool" -->format USB theo định dạng FAT32. (ko cần check vào ô Create a Dos startup disk)
2.Download the (Portable Backtrack) USB BackTrack (Extended) version.
3.Giải nén thư mục Boot và BT3 từ file vừa tải về vào  USB.
4.Vào thư mục Boot ( trong USB) ,click bootinst.bat (click continue if the following error appears
5.Làm theo hướng dẫn trong cửa sổ dos  vừa hiện ra để cài chế độ Boot cho USB.
6.Khởi động lại máy tính, chỉnh boot từ USB và....hưởng thụ thành quả!cool

Lưu ý: Mặc định Backtrack sẽ tự động đăng nhập với :
User: root       Password: toor


Copyright by http://www.lecuong.info

Tài liệu Linux

On IT
 Chào các bạn !
Hiện tại thì mình đang cố gắng post bài về cisco cho trang web nhưng vì hôm này tìm được tài liệu khá hay về Linux. Híc nói rõ hơn là cái tài liệu này là do thầy Lê Quốc Tuấn giảng viên khoa CNTT trường dh GTVT TPHCM cung cấp nên mình post lên cho các bạn tham khảo. Mình hứa sẽ lấy nhiều tài liệu về bên Linux này cho các bạn rồi post lên (vì thầy chưa soạn xong nên chưa post hết được một lần nên mới post nhiều lần thế này).

Hệ thống tài liệu Linux này là giới thiệu và hướng dẫn các bạn sử dụng Linux tổng quan bằng dòng lệnh(command line). Tức là những gì giới thiệu trong tài liệu này sẽ giúp bạn sử dụng được tất cả các phiên bản của Linux từ unbuntu, Rehat, Fedora core...

Nhưng ở đây thì thầy của mình lấy Rehat ra làm ví dụ cho mọi người.
Việc cài đặt Linux trong window thì nó có một số bước hơi phức tạp so với việc cài Window nhưng mà trong trang web này bác Cường đã có file hướng dẫn các bạn cài Linux khi hệ thống bạn đang xài window rùi. Với ở đây mình xin post lên cái đường link hướng dẫn cài Fedora core 8 luôn cho các bạn

     Đường link dưới đây là tài liệu tổng quan về Linux
        Bài 1: Giới thiệu, cài đặt Redhat, và tổng quan các lệnh thông thường  2

       Bài 2: : Cài đặt và Cấu hình DHCP Server  17

       Bài 3: : Cài đặt và Cấu hình DNS Server  20

       Bài 4: : Cài đặt và Cấu hình Samba Server  24


       Bài 5: : Cài đặt và Cấu hình Squid Server  33

       Bài 6: : Cài đặt và Cấu hình Apache Server  37

       Bài 7: : Cài đặt và Cấu hình Sendmail  53

       Bài 8: : Cài đặt và Cấu hình RAS  57


Tệp tin tải về

    Còn đây là bài giảng bọn mình học trên lớp, các bạn có thể tham khảo để biết nhiều hơn
      
Tệp tin tải về

Hic còn file video hướng dẫn cài đặt fedora core8 thì hôm sau minh up lên host rồi gửi cho các bạn sau. Nó hơi nặng nên giờ up ko nôi huhu giờ 12h rùi mà up 50MB lên host thì ko biết khi nào cho xong
:d

p/s: Nếu link die các bạn comment lại cho mình biết để fix nhé!
      _________________________________________
Bài viết được đăng bởi: ledem64
Copyright by http://www.lecuong.info