-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathninja.sh
30 lines (30 loc) · 1.57 KB
/
ninja.sh
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
28
29
30
#!/bin/bash
while true ; do
for entr in permag.sh ; do
entry="${entr/.sh/}"
tmux kill-session -t $entry
rm -rf ~/.telegram-cli/$entry/data/animation/*
rm -rf ~/.telegram-cli/$entry/data/audio/*
rm -rf ~/.telegram-cli/$entry/data/document/*
rm -rf ~/.telegram-cli/$entry/data/photo/*
rm -rf ~/.telegram-cli/$entry/data/sticker/*
rm -rf ~/.telegram-cli/$entry/data/temp/*
rm -rf ~/.telegram-cli/$entry/data/video/*
rm -rf ~/.telegram-cli/$entry/data/voice/*
rm -rf ~/.telegram-cli/$entry/data/profile_photo/*
tmux new-session -d -s $entry "./$entr"
tmux detach -s $entry
done
echo -e "${CYAN}|-------------|---------------|----------------|----------------|${NC}"
echo -e "${CYAN}|EDIT __ |BY _______ | ___Alininja___ | ____________ |${NC}"
echo -e "${CYAN}| | | | / __ \ | \ \ / / | | _________| |${NC}"
echo -e "${CYAN}| | | | / | | \ | \ \ / / | | |_________ |${NC}"
echo -e "${CYAN}| ___ / / | | | | | | \ \ / / | | _________| |${NC}"
echo -e "${CYAN}| \ \__/ / | \ |__| / | \ \/ / | | |_________ |${NC}"
echo -e "${CYAN}| \______/ | \_______/ | \____/ | |____________| |${NC}"
echo -e "${CYAN}|-------------|---------------|----------------|----------------|${NC}"
echo -e "${CYAN}|THIS SOURCE BASED ON TELEMUTE AND EDITED By NinjaTm By AliNinja|${NC}"
echo -e "${CYAN}|-------------|---------------|----------------|----------------|${NC}"
echo -e "${CYAN}YOUR BOT RUNING NOW! PLEASE CLOSE YOUR TERMINAL WINDOW${NC}"
sleep 1000
done