Search Results

Search: Posts Made By: Benou
4,257
Posted By Benou
Thanks both of you for the quick reply. ...
Thanks both of you for the quick reply.
However, I do think that sed is the way to go rather than awk.
Would I be able to introduce a OR in sed?
sed -n '/(<|(%3C))(h|(%68))/,/(i|(%49))(>|(%3E))/p'...
4,257
Posted By Benou
Grep text between multiple pattern
Hello everybody,
I have been looking around but can't figure how to do a grep command, that find the text between multiple patterns, example:

(pattern1 OR pattern2) AND (pattern3 OR pattern4)...
6,856
Posted By Benou
Thanks to both of you for the quick reply. ...
Thanks to both of you for the quick reply.
Rangarasan I am taking your idea, that was what I was looking for Many thanks

res=`fgrep -f $file -c $file1`;
if [ $res == 0 ];
then
....
6,856
Posted By Benou
Grep no results
Hello guys,

I have been looking around but can't find the answer to my problem:
If the grep command displays no results, print "no results have been found" and increment x. But if the grep...
1,816
Posted By Benou
Yes I finally got it! Thanks so much for your...
Yes I finally got it!
Thanks so much for your time and your help CarloM:b:
1,816
Posted By Benou
Thanks for the fast answer CarloM, So if I...
Thanks for the fast answer CarloM,

So if I do understand it:
the double quote and coma field separators are only used for lines containing MARK.
line containing GET use a space separator.
Also...
1,816
Posted By Benou
Works like a charm jayan_jay! However there is...
Works like a charm jayan_jay!
However there is still a slight issue, because sometimes (I am using Nessus for my test), the connection is establish but no web page has been visited. Therefore, the...
1,816
Posted By Benou
[Solved] Look for strings and use variables
Hello guys,

First of all, thanks for taking the time to read my post.
So, here I have a file from my honeypot which record IP addresses and web pages visited. I would like to manipulate it in...
Showing results 1 to 8 of 8

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