/l3/users/eb/2009/linux13/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 :18 :19 :20 :21 :22 :23 :24 :25 :26 :27 :28 :29 :30 :31 :32 :33 :34 :35 :36 :37 :38 :39 :40 :41 :42 :43 :44 :45 :46 :47 :48 :49 :50 :51 :52 :53 :54 :55 :56 :57 :58 :59 :60 :61 :62 :63 :64 :65 :66 :67 :68 :69 :70 :71 :72 :73 :74 :75 :76 |
|
$ls
1 all ip_forward~ ip_forwary~ lv-table passswd samba.png scriptall spamsend 11 file ip_forwarw~ ip_forwarz~ Mail passswd1 screen.dot sent usaddscript 2 harddisk.img ip_forwarx~ iptables-save new samba.dot screen.png shtdown vol1 |
$ls
1 all ip_forward~ ip_forwary~ lv-table passswd samba.png scriptall spamsend 11 file ip_forwarw~ ip_forwarz~ Mail passswd1 screen.dot sent usaddscript 2 harddisk.img ip_forwarx~ iptables-save new samba.dot screen.png shtdown vol1 |
$./spamsend
./spamsend: line 1: 1: command not found ./spamsend: line 2: 2: command not found ./spamsend: line 3: 3: command not found ./spamsend: line 4: 4: command not found |
$./spamsend
./spamsend: line 1: 1: command not found ./spamsend: line 2: 2: command not found ./spamsend: line 3: 3: command not found ./spamsend: line 4: 4: command not found |
#./spamsend
./spamsend: line 1: 1: command not found ./spamsend: line 2: 2: command not found ./spamsend: line 3: 3: command not found ./spamsend: line 4: 4: command not found |
#./spamsend
./spamsend: line 1: 1: command not found ./spamsend: line 2: 2: command not found ./spamsend: line 3: 3: command not found ./spamsend: line 4: 4: command not found |
#~ +q436f+q6b75+q6b64+q6b72+q6b6c+q2332+q2334+q2569+q2a37+q6b31
bash: spamsend: command not found You have mail in /var/mail/root |
#~ +q436f+q6b75+q6b64+q6b72+q6b6c+q2332+q2334+q2569+q2a37+q6b31
bash: spamsend: command not found You have mail in /var/mail/root |
#mutt
N +- 2/2: Mail Delivery Subsys Returned mail: see transcript for details -- (38%) 2 kept, 0 deleted. |
#mutt
N +- 2/2: Mail Delivery Subsys Returned mail: see transcript for details -- (38%) 2 kept, 0 deleted. |
#ls -l
total 1040 -rw-r--r-- 1 root root 451 2009-06-04 10:35 1 drwxr-x--- 2 root root 4096 2009-05-30 16:35 11 -rw-r--r-- 1 root root 2 2009-06-03 19:06 2 -rwxr-xr-x 1 root root 98 2009-06-03 11:16 all -rw-r----- 1 root root 0 2009-05-30 16:33 file -rw-r--r-- 1 root root 204800 2009-05-30 14:17 harddisk.img -rw-r--r-- 1 root root 2 2009-06-01 16:31 ip_forward~ -rw-r--r-- 1 root root 2 2009-06-01 16:32 ip_forwarw~ -rw-r--r-- 1 root root 2 2009-06-01 16:32 ip_forwarx~ ... -rw-r--r-- 1 root root 11840 2009-05-29 10:09 samba.dot -rw-r--r-- 1 root root 470854 2009-05-29 10:09 samba.png -rw-r--r-- 1 root root 4737 2009-05-29 10:05 screen.dot -rw-r--r-- 1 root root 271894 2009-05-29 10:06 screen.png -rwxr-xr-x 1 root root 95 2009-06-03 11:18 scriptall -rw------- 1 root root 2641 2009-06-05 14:44 sent -rwxr-xr-x 1 root root 231 2009-05-29 17:29 shtdown -rwxr-xr-x 1 root root 188 2009-06-05 14:45 spamsend -rwxr-xr-x 1 root root 502 2009-05-29 09:30 usaddscript drwxr-xr-x 2 root root 4096 2009-05-30 18:15 vol1 |
#ls -l
total 1040 -rw-r--r-- 1 root root 451 2009-06-04 10:35 1 drwxr-x--- 2 root root 4096 2009-05-30 16:35 11 -rw-r--r-- 1 root root 2 2009-06-03 19:06 2 -rwxr-xr-x 1 root root 98 2009-06-03 11:16 all -rw-r----- 1 root root 0 2009-05-30 16:33 file -rw-r--r-- 1 root root 204800 2009-05-30 14:17 harddisk.img -rw-r--r-- 1 root root 2 2009-06-01 16:31 ip_forward~ -rw-r--r-- 1 root root 2 2009-06-01 16:32 ip_forwarw~ -rw-r--r-- 1 root root 2 2009-06-01 16:32 ip_forwarx~ ... -rw-r--r-- 1 root root 11840 2009-05-29 10:09 samba.dot -rw-r--r-- 1 root root 470854 2009-05-29 10:09 samba.png -rw-r--r-- 1 root root 4737 2009-05-29 10:05 screen.dot -rw-r--r-- 1 root root 271894 2009-05-29 10:06 screen.png -rwxr-xr-x 1 root root 95 2009-06-03 11:18 scriptall -rw------- 1 root root 2641 2009-06-05 14:44 sent -rwxr-xr-x 1 root root 231 2009-05-29 17:29 shtdown -rwxr-xr-x 1 root root 188 2009-06-05 14:45 spamsend -rwxr-xr-x 1 root root 502 2009-05-29 09:30 usaddscript drwxr-xr-x 2 root root 4096 2009-05-30 18:15 vol1 |
#./spamsend
./spamsend: line 1: 1: command not found ./spamsend: line 2: 2: command not found ./spamsend: line 3: 3: command not found ./spamsend: line 4: 4: command not found |
#./spamsend
./spamsend: line 1: 1: command not found ./spamsend: line 2: 2: command not found ./spamsend: line 3: 3: command not found ./spamsend: line 4: 4: command not found |
#vim spamsend
--- /tmp/l3-saved-4399.1552.22740 2009-06-05 14:46:00.000000000 +0300 +++ spamsend 2009-06-05 14:46:17.000000000 +0300 @@ -1,4 +1,4 @@ - 1 for i in {1..16} - 2 do - 3 echo spam | mutt -s SPAMMMM user@class$i.unix.nt - 4 done + for i in {1..16} + do + echo spam | mutt -s SPAMMMM user@class$i.unix.nt + done |
#vim /etc/mail/local-host-names
--- /tmp/l3-saved-4399.13207.6708 2009-06-05 14:47:13.000000000 +0300 +++ /etc/mail/local-host-names 2009-06-05 14:49:03.000000000 +0300 @@ -1,3 +1,4 @@ localhost linux13.class13.unix.nt class13.unix.nt + |
$mutt
13 + Jun 05 Sergey Dryomov ( 1) /dev/urandom_from_Class3 14 N + Jun 05 Alex Antonov ( 1) SPAMMMM +- 12/13: Alex Antonov SPAMMMM -- (all) 15 N + Jun 05 Alex Antonov ( 1) SPAMMMM 12 + Jun 05 Alex Antonov ( 1) SPAMMMM 13 O + Jun 05 Sergey Dryomov ( 1) /dev/urandom_from_Class3 14 O + Jun 05 Alex Antonov ( 1) SPAMMMM 15 O + Jun 05 Alex Antonov ( 1) SPAMMMM 16 O T Jun 05 Oleg Dorohin ( 1) Personalities 18 N + Jun 05 user@class5.uni8 New:1 Old:4 18K]---(threads/date) 18 kept, 0 deleted. You have mail in /var/mail/user |
$mutt
13 + Jun 05 Sergey Dryomov ( 1) /dev/urandom_from_Class3 14 N + Jun 05 Alex Antonov ( 1) SPAMMMM +- 12/13: Alex Antonov SPAMMMM -- (all) 15 N + Jun 05 Alex Antonov ( 1) SPAMMMM 12 + Jun 05 Alex Antonov ( 1) SPAMMMM 13 O + Jun 05 Sergey Dryomov ( 1) /dev/urandom_from_Class3 14 O + Jun 05 Alex Antonov ( 1) SPAMMMM 15 O + Jun 05 Alex Antonov ( 1) SPAMMMM 16 O T Jun 05 Oleg Dorohin ( 1) Personalities 18 N + Jun 05 user@class5.uni8 New:1 Old:4 18K]---(threads/date) 18 kept, 0 deleted. You have mail in /var/mail/user |
#netstat -lnp|grep 53
tcp 0 0 192.168.15.13:53 0.0.0.0:* LISTEN 6498/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 6498/named tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 6498/named tcp6 0 0 :::53 :::* LISTEN 6498/named tcp6 0 0 ::1:953 :::* LISTEN 6498/named udp 0 0 192.168.15.13:53 0.0.0.0:* 6498/named udp 0 0 127.0.0.1:53 0.0.0.0:* 6498/named udp6 0 0 :::53 :::* 6498/named unix 2 [ ACC ] STREAM LISTENING 12102 3653/gnome-keyring- /tmp/keyring-KF0OvH/socket |
#netstat -lnp|grep 53
tcp 0 0 192.168.15.13:53 0.0.0.0:* LISTEN 6498/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 6498/named tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 6498/named tcp6 0 0 :::53 :::* LISTEN 6498/named tcp6 0 0 ::1:953 :::* LISTEN 6498/named udp 0 0 192.168.15.13:53 0.0.0.0:* 6498/named udp 0 0 127.0.0.1:53 0.0.0.0:* 6498/named udp6 0 0 :::53 :::* 6498/named unix 2 [ ACC ] STREAM LISTENING 12102 3653/gnome-keyring- /tmp/keyring-KF0OvH/socket |
#vim /etc/hosts
--- /tmp/l3-saved-4399.7484.18147 2009-06-05 14:49:37.000000000 +0300 +++ /etc/hosts 2009-06-05 14:49:41.000000000 +0300 @@ -1,2 +1 @@ 192.168.15.13 linux13 -127.0.0.1 localhost |
#netstat -lnp|grep 53
tcp 0 0 192.168.15.13:53 0.0.0.0:* LISTEN 6498/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 6498/named tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 6498/named tcp6 0 0 :::53 :::* LISTEN 6498/named tcp6 0 0 ::1:953 :::* LISTEN 6498/named udp 0 0 192.168.15.13:53 0.0.0.0:* 6498/named udp 0 0 127.0.0.1:53 0.0.0.0:* 6498/named udp6 0 0 :::53 :::* 6498/named unix 2 [ ACC ] STREAM LISTENING 12102 3653/gnome-keyring- /tmp/keyring-KF0OvH/socket |
#netstat -lnp|grep 53
tcp 0 0 192.168.15.13:53 0.0.0.0:* LISTEN 6498/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 6498/named tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 6498/named tcp6 0 0 :::53 :::* LISTEN 6498/named tcp6 0 0 ::1:953 :::* LISTEN 6498/named udp 0 0 192.168.15.13:53 0.0.0.0:* 6498/named udp 0 0 127.0.0.1:53 0.0.0.0:* 6498/named udp6 0 0 :::53 :::* 6498/named unix 2 [ ACC ] STREAM LISTENING 12102 3653/gnome-keyring- /tmp/keyring-KF0OvH/socket |
#ÑÑÑman nc
NC(1) NC(1) NAME nc - TCP/IP swiss army knife SYNOPSIS nc [-options] hostname port[s] [ports] ... nc -l -p port [-options] [hostname] [port] DESCRIPTION netcat is a simple unix utility which reads and writes data across network connections, using TCP or UDP protocol. It is designed to be a reliable "back-end" tool that can be used directly or easily driven by other programs and scripts. At the same time, it is a feature-rich network debugging and exploration tool, since it can create almost any kind of connection you would need and has several interesting built-in capabilities. Netcat, or "nc" as the actual program is named, should have been supplied long ago as another one of those cryptic but standard Unix tools. In the simplest usage, "nc host port" creates a TCP connection to the given port on the given target host. Your standard input is then sent to the host, and anything that comes back across the connecâ tion is sent to your standard output. This continues indefinitely, until the network side of the connection shuts down. Note that this behavior is different from most other applications which shut everything down and exit after an end-of-file on the standard input. Netcat can also function as a server, by listening for inbound connections on arbitrary ports and then doing the same reading and writing. With minor limitations, netcat doesnât really care if it You have new mail in /var/mail/root |
#ÑÑÑman nc
NC(1) NC(1) NAME nc - TCP/IP swiss army knife SYNOPSIS nc [-options] hostname port[s] [ports] ... nc -l -p port [-options] [hostname] [port] DESCRIPTION netcat is a simple unix utility which reads and writes data across network connections, using TCP or UDP protocol. It is designed to be a reliable "back-end" tool that can be used directly or easily driven by other programs and scripts. At the same time, it is a feature-rich network debugging and exploration tool, since it can create almost any kind of connection you would need and has several interesting built-in capabilities. Netcat, or "nc" as the actual program is named, should have been supplied long ago as another one of those cryptic but standard Unix tools. In the simplest usage, "nc host port" creates a TCP connection to the given port on the given target host. Your standard input is then sent to the host, and anything that comes back across the connecâ tion is sent to your standard output. This continues indefinitely, until the network side of the connection shuts down. Note that this behavior is different from most other applications which shut everything down and exit after an end-of-file on the standard input. Netcat can also function as a server, by listening for inbound connections on arbitrary ports and then doing the same reading and writing. With minor limitations, netcat doesnât really care if it You have new mail in /var/mail/root |
#mutt
N +- 7/7: Mail Delivery Subsys Returned mail: see transcript for details -- (36%) 7 kept, 0 deleted. |
#mutt
N +- 7/7: Mail Delivery Subsys Returned mail: see transcript for details -- (36%) 7 kept, 0 deleted. |
#cat /var/log/mail.log
Jun 4 18:20:01 linux13 sm-msp-queue[8221]: My unqualified host name (linux13) unknown; sleeping for retry Jun 4 18:20:01 linux13 sm-mta[8222]: n54FK1O7008222: from=<root@linux13>, size=571, class=0, nrcpts=1, msgid=<200906041520.n54FK1iG008194@linux13>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] (may be forged) Jun 4 18:20:01 linux13 sm-mta[8222]: n54FK1O7008222: to=<root@linux13>, delay=00:00:00, mailer=local, pri=30571, dsn=4.4.3, stat=queued Jun 4 18:20:01 linux13 sendmail[8194]: n54FK1iG008194: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30341, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n54FK1O7008222 Message accepted for delivery) Jun 4 18:21:01 linux13 sendmail[8211]: unable to qualify my own domain name (linux13) -- using short name Jun 4 18:21:01 linux13 sendmail[8211]: n54FL101008211: from=root, size=341, class=0, nrcpts=1, msgid=<200906041521.n54FL101008211@linux13>, relay=root@localhost Jun 4 18:21:01 linux13 sm-msp-queue[8221]: unable to qualify my own domain name (linux13) -- using short name Jun 4 18:21:01 linux13 sm-mta[8245]: n54FL1Rm008245: from=<root@linux13>, size=571, class=0, nrcpts=1, msgid=<200906041521.n54FL101008211@linux13>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] (may be forged) Jun 4 18:21:01 linux13 sm-mta[8245]: n54FL1Rm008245: to=<root@linux13>, delay=00:00:00, mailer=local, pri=30571, dsn=4.4.3, stat=queued Jun 4 18:21:01 linux13 sendmail[8211]: n54FL101008211: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30341, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n54FL1Rm008245 Message accepted for delivery) ... Jun 4 18:40:01 linux13 sm-mta[9057]: n54Fe1LW009057: to=<root@linux13>, delay=00:00:00, mailer=local, pri=30571, dsn=4.4.3, stat=queued Jun 4 18:40:01 linux13 sendmail[9054]: My unqualified host name (linux13) unknown; sleeping for retry Jun 4 18:40:01 linux13 sendmail[9009]: n54Fe1Bm009009: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30341, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n54Fe1LW009057 Message accepted for delivery) Jun 4 18:40:01 linux13 sm-msp-queue[9064]: My unqualified host name (linux13) unknown; sleeping for retry Jun 4 18:41:01 linux13 sendmail[9054]: unable to qualify my own domain name (linux13) -- using short name Jun 4 18:41:01 linux13 sendmail[9054]: n54Ff1s0009054: from=root, size=341, class=0, nrcpts=1, msgid=<200906041541.n54Ff1s0009054@linux13>, relay=root@localhost Jun 4 18:41:01 linux13 sendmail[9076]: My unqualified host name (linux13) unknown; sleeping for retry Jun 4 18:41:01 linux13 sm-mta[9069]: n54Ff1bb009069: from=<root@linux13>, size=571, class=0, nrcpts=1, msgid=<200906041541.n54Ff1s0009054@linux13>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] (may be forged) Jun 4 18:41:01 linux13 sm-mta[9069]: n54Ff1bb009069: to=<root@linux13>, delay=00:00:00, mailer=local, pri=30571, dsn=4.4.3, stat=queued Jun 4 18:41:01 linux13 sendmail[9054]: n54Ff1s0009054: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30341, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n54Ff1bb009069 Message accepted for delivery) |