> On Thursday 30 September 2004 10:15 am, Tony Ly wrote: > >> Theo nmap output tre^n thi`: >> 68/tcp open dhcpclient - co' the^? ko ca^`n >> 631/tcp open ipp - internet printing: cha('c ko ca^`n luo^n >> >> Ba'c co' the^? ba('t ddaa^`u tu+` file na`y: /etc/inetd.conf. Coi >> trong ddo' co' ca'i na`o lie^n quan dde^'n dhcpclient va` ipp thi` >> comment it out (du`ng text editor, bo? da^'u # tru+o+'c ca'i line > > Sau khi cha.y ca'i script /sbin/myfile, go~ : > > [EMAIL PROTECTED]:/home/knoppix# nmap -v localhost > > Starting nmap 3.55 ( http://www.insecure.org/nmap/ ) at 2004-10-02 > 05:06 EDT > Host box (127.0.0.1) appears to be up ... good. > Initiating SYN Stealth Scan against box (127.0.0.1) at 05:06 > Adding open port 631/tcp > Adding open port 68/tcp > The SYN Stealth Scan took 1 second to scan 1660 ports. > Interesting ports on box (127.0.0.1): > (The 1658 ports scanned but not shown below are in state: closed) > PORT STATE SERVICE > 68/tcp open dhcpclient > 631/tcp open ipp > > Nhu+ng trong /etc/inetd.conf ta^'t ca? ca'c do`ng dde^`u dda~ # ca? > ro^`i (file attach). Va^.y sao khi cha.y nmap -v localhost no' co`n > ba'o 2 ca'i PORT? >
Cha'u no'i ba('t dda^`u tu+` ca'i file na`y la` ta.i vi` nhie^`u systems va^~n co`n du`ng no' o+? default. Ba'c tha^'y nhu+~ng services tre^n va^~n co`n mo+? la` do /etc/services file. Ba'c edit ca'i file na`y, ro^`i ti`m to+'i port 68 va` 631, bo? no' ra (comment it out with # sign). Xong restart ma^'y ca'i services na`y (ko bie^'t knoppix restart la`m sao vi` cha'u ko co' du`ng. Ne^'u ba'c ko bie^'t thi` reboot cho tie^.n). xong cha.y nmap la.i se~ tha^'y no' ddo'ng ma^'t. Khi mi`nh ddo^?i /etc/services thi` no' se~ ddo^?i permanent luo^n. > Hie^.n ta.i, khi vu+`a boot ma'y le^n, chu+a cha.y /sbin/myfile thi` > cu~ng dda~ va`o net ddu+o+.c ro^`i. Cha.y ca'i /sbin/myfile la` dde^? > ta(ng cu+o+`ng ma^'y ca'i o^? khoa' Yale pha?i kho^ng? Ca'i /sbin/myfile la` ca'i gi` va^.y? Co' le~ la` custom script cu?a ba'c hay cu?a ai la`m cho ba'c pha?i ko? ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ VietLUG-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/vietlug-users