Search Results

Search: Posts Made By: divh18
7,301
Posted By divh18
@data=<INPUT>; . . # replace original...
@data=<INPUT>;
.
.

# replace original string with new string
foreach $data(@data) {
if ( $data =~ s/$original/$replacement/gi )
{
....
}
}
12,229
Posted By divh18
I think it should be / instead of % in the code..
I think it should be / instead of % in the code..
16,463
Posted By divh18
Hi, I would put a space after each )
Hi,
I would put a space after each )
Forum: Cybersecurity 05-19-2008
17,916
Posted By divh18
I would make a tar tar -cvf mydir.tar ./dir/ ...
I would make a tar
tar -cvf mydir.tar ./dir/

and preferably gzip it.
7,301
Posted By divh18
Hi, You are reading only one line with $data. ...
Hi,
You are reading only one line with $data.
Use @data instead. (This will read the entire file )
Forum: Cybersecurity 05-18-2008
8,002
Posted By divh18
Hi, Yes any user can copy bash to...
Hi,
Yes any user can copy bash to /userpath/notbash
But when a non root user issues a sudo notbash,
the user will need to enter root's password to gain root priveleges.

If correct password is...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 03:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy