B / Y / U / S
HOME À¥ È£½ºÆà µµ¸ÞÀÎ ¸Å´º¾ó °í°´Áö¿ø ¼³Á¤Á¤º¸ °èÁ¤½Åû 2024-12-25 Wednesday 
À¥ È£½ºÆÃ
# °øÁö »çÇ×
# ÀÚÁÖ ¹¯´Â Áú¹®
# Áú¹®°ú ´äº¯
# °¡ÀÔ ¹®ÀÇ
Ä¿¹Â´ÏƼ
# ÀÚÀ¯°Ô½ÃÆÇ
# ¸®´ª½ºÆÁ
# ¾ÆÀÌÅ¥ Å×½ºÆ®
# ³»È¨ ¼Ò°³
# °Ö·¯¸®
# ÀÚ·á½Ç

  ¸®´ª½ºÆÁ  Go Unix Power Tools Online Book Go Bash Guide
Read No. 182 article 2003-03-12 07:33:19
NickName   Ç®ºñ´©
Subject   Á¦·Îº¸µå ÀÏ°ý ÆÐÄ¡ pl2 -> pl3
# ÇÑÁÙÀÓ 
rm -rf zplist*;for i in $(find /home*/ -name login.php|egrep -
iv "skin|sarangbi|nlog|jsboard|bgm|ezmember|module"|sed -
e 's/^.*\ .*$//g'); do if 
[ $i ] ;then  ls -al $i|awk '{ if ( $5 == 2273 ) print $9 }' >> 
zplist ;fi ; done ; sort zplist > zplist_sort;rm -rf zplist;mv zplist_sort zplist



#!/bin/bash
for i in $(cat zplist) ;do
fileis=$i
id=$(echo $i|awk -F/ '{print $3}')
echo $fileis
echo $id
if [ $(grep -c  "ÀÚµ¿ ·Î±×ÀÎ" $fileis ) = 1 ] ;then
/bin/cp -a /root/login.php $fileis
chown $id.$id $fileis
fi
done
Regist Addr [ 210.219.138.57 ] ¸ñ·Ïº¸±â À­±Û ¾Æ·§±Û
Á¤±ÔÇ¥Çö½Ä [ »ó¼¼ °Ë»ö ]
Page Loading [ 0.02 Sec ] SQL Time [ 0 Sec ]

Copyleft 1999-2024 by JSBoard Open Project
Theme Designed by IDOO And follow GPL2

°³ÀÎÁ¤º¸ Ãë±Þ¹æħ ÀÌ¿ë ¾à°ü »çÀÌÆ® ¸Ê ¾îµå¹Î °ü¸®