Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for file in $(find . -name "*.js")
- do
- echo "Replacing in $file"
- sed -r "s#(;document\.write\('\<iframe){1}((\s\w*)=\"([\w*:*\/*\w*\d*\s*.*?*%*]*)\")*(\>\<\/iframe\>'\);)##g" $file > $file.tmp
- mv $file.tmp $file
- echo "... done"
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement