#!/bin/bash
grep -ilR "apache/v2" html/* > filelist
for i in `cat filelist`
do
do
echo "$i"
sed "s/apache\/v2/www\/bookmani.com\/html/" $i > temp
cat temp > $i
done
grep -ilR "\$UserIDFix" html/*.html html/*.php3 html/*.inc html/*.php > filelist1for i in `cat filelist1`
do
cat temp > $i
done
grep -ilR "\$UserIDFix" html/*.html html/*.php3 html/*.inc html/*.php > filelist1for i in `cat filelist1`
do
echo "$i"
sed "s/\$UserIDFix/\$_SESSION\[UserIDFix\]/" $i > temp
cat temp > $i
done
cat temp > $i
done
sed "s/bookmani/idc32/" html/cgi/board/lib.php > temp
cat temp > html/cgi/board/lib.php
cat temp > html/cgi/board/lib.php
sed "s/bookmani/idc32/" html/inc/dbconn.inc > temp
cat temp > html/inc/dbconn.inc
cat temp > html/inc/dbconn.inc
댓글 없음:
댓글 쓰기