1. simple. modify funky sample below to your actual environment. run in cron.
2. if hacker was an expert, you will only catch him with a whole lot of work and a much,much,much more lot of luck. you would be better off hardening your system and keeping up to date on all patches and upgrades as that would be much easier unless your company just happens to have its own intrusion detection team or you yourself have expert hacker skills.
account used to run exploit does not matter -- all that matters is that the hacker got root access to your server and did some damage. as for how he got access, google the exploit your admin told you and you should get your answer.
I have one question.
Let me give some example according to your script.
There is one file "index.html" in the directory "/home/web/aaa/bbb"
What the script does is :
1. assign "index.html" to the variable "ifile". So $ifile=="index.html"
2. assign "/home/web/aaa/bbb" to the variable "domaindir". So $domaindir=="/home/web/aaa/bbb"
3. assign "/home/web/aaa" to the variable "domain". So $domain=="/home/web/aaa"
4. cp the file "/home/web/aaa/bbb/index.html" to the backup dir and change its name like this "/var/backup/home/web/aaa.index.html"
So my question is why the name of backup file "aaa.index.html" is kind of wired? What do you mean by it?
Thanks
Suppose I have a csv file like this:
27, california , A3
27, vermont, B6
27, ontario, B7
34, kansas, C9
34, washington, A2
How do I split this file into two files according to field1.
file1:
27, california , A3
27, vermont, B6
27, ontario, B7
file2:
34, kansas, C9
34, washington, A2... (9 Replies)
Hi all,
I am using Legato networker for my backups, I need to restore some data from 2001.
When doing an inventory on the tape is picks up the label but under pool it says "not in media index".
When doing: nsrck -t 01Jan2002 -L7 i get the following:
nsrck: checking index for '$client'... (2 Replies)
why do inode indices starts from 1 unlike array indexes which starts from 0
its a question from "the design of unix operating system" of maurice j bach
id be glad if i get to know the answer quickly
:) (0 Replies)
brothers why inode index starts from 1 unlike array inex which starts from 0
its a question from the design of unix operating system of maurice j.bach
i need to know the answer urgently...someone help please (1 Reply)
Hi All,
I have a file (FileNames.txt) which contains the following data in it.
$ cat FileNames.txt
MYFILE17XXX208Sep191307.csv
MYFILE19XXX208Sep192124.csv
MYFILE20XXX208Sep192418.csv
MYFILE22XXX208Sep193234.csv
MYFILE21XXX208Sep193018.csv
MYFILE24XXX208Sep194053.csv... (5 Replies)
Hi All,
A site I manage had some javascript inserted into each folders index file. Can anyone priovide me with some ideas on how to use awk, sed or some other bash script to parse through each of the site folders and remove this code? If I have to do it by hand I'm going to go insane. :eek:
... (2 Replies)
Hi, I am trying to make a command to delete my files out the trash can, but one at a time.
I am currently using rm - i to do this, but the original file locations for restoring my files are heard on a .txt file which I am using as an index table.
How would I manage to make it so that if I... (21 Replies)
Hi all
I´m a newbie so maybe this question will make someone mad.
I am trying this command;
join -a1 -11 file1 file2 > file3
file1 looks like:
1
2
3
4
5
6
7
8
9
10
11
file2: (4 Replies)
Hi,
I've several files with two collumns, where first collumn can be used as index.
filename1
and filename2
how to create a file
I should start with cat all files and extract first collumn to create an index? (4 Replies)
I have a need to merge two files on the value of an index column.
input file 1
id filePath MDL_NUMBER
1 MFCD00008104.mol MFCD00008104
2 MFCD00012849.mol MFCD00012849
3 MFCD00037597.mol MFCD00037597
4 MFCD00064558.mol MFCD00064558
5 MFCD00064559.mol MFCD00064559
input file 2
... (9 Replies)
Discussion started by: LMHmedchem
9 Replies
LEARN ABOUT REDHAT
backuplog
BACKUPLOG(5) AFS File Reference BACKUPLOG(5)NAME
BackupLog - Traces Backup Server operations
DESCRIPTION
The BackupLog file records a trace of Backup Server (buserver process) operations on the local machine and describes any error conditions
it encounters.
If the BackupLog file does not already exist in the /var/log/openafs directory when the Backup Server starts, the server process creates it
and writes initial start-up messages to it. If there is an existing file, the Backup Server renames it to BackupLog.old, overwriting the
existing BackupLog.old file if it exists.
The file is in ASCII format. Administrators listed in the /etc/openafs/server/UserList file can use the bos getlog command to display its
contents. Alternatively, log on to the machine and use a text editor or a file display command such as the UNIX cat command. By default,
the mode bits on the BackupLog file grant the required "r" (read) permission to all users.
The Backup Server records operations only as it completes them, and so cannot recover from failures by reviewing the file. The log contents
are useful for administrative evaluation of process failures and other problems.
SEE ALSO UserList(5), bos_getlog(8), buserver(8)COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas
Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
OpenAFS 2012-03-26 BACKUPLOG(5)