[Cialug] an easier way?

Scott Yates Scott at yatesframe.com
Fri Apr 24 15:07:26 UTC 2020


I already gave you the regex that would match what you posted to pastebin:

<script>var._0x2cf4.*?</script>

that will match start of the script and everything past that, up to the
first instance of the ending script tag.

On Fri, Apr 24, 2020 at 9:48 AM Dave Hala <dave at 58ghz.net> wrote:

> This is probably one of those cases where it may be better to just restore
> a backup and move forward from there.
>
> On Fri, Apr 24, 2020 at 9:45 AM <chris at bynw.com> wrote:
>
> >
> > I am still working on this issue. And as I have been investigating the
> > code that was inserted into the posts on the blog. I have discovered
> > that all javascript coding doesn't belong. So it's just not a script at
> > the end of the post. There is a 2nd script that is inserted throughout
> > the body of the post. Sometimes even in the middle of a word.
> >
> > The exact syntax varies to some degree. It's not 100% identical in
> > either case. The only true similarity is that it all starts with
> > "<script" and ends with "</script>". The number of characters change.
> > There is white space and character returns included.
> >
> > As I have stated before my regex isn't very good, a mere beginner taking
> > on a complex issue. I just can't find the correct way to phrase it in
> > order for the text to be found in all cases.
> >
> > Any help with the regex is greatly appreciated as it will be a major
> > time saver to clean up the data.
> >
> > _______________________________________________
> > Cialug mailing list
> > Cialug at cialug.org
> > https://www.cialug.org/cgi-bin/mailman/listinfo/cialug
> >
>
>
> --
> NIFCAP  -The Premier Client Intake System for Non-Profit Organizations.
> https://www.osis.us
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> https://www.cialug.org/cgi-bin/mailman/listinfo/cialug
>


More information about the Cialug mailing list