forked from TH3xACE/SCREEN_KILLER
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSCREEN_KILLERv1.sh
executable file
·65 lines (59 loc) · 2.45 KB
/
SCREEN_KILLERv1.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#!/bin/bash
# This script was to developed to capture screenshot during pentest and OSCP
# Version="version 1"
# V1: Date Created : 17/02/2020
# Date of last modification : 17/02/2020
# @TH3_ACE - BLAIS David
##### (Cosmetic) Colour output
RED="\033[01;31m" # Issues/Errors
GREEN="\033[01;32m" # Success
YELLOW="\033[01;33m" # Warnings/Information
BLUE="\033[01;34m" # Heading
BOLD="\033[01;01m" # Highlight
RESET="\033[00m" # Normal
#$SCRIPT_PATH1="./scripts/"
cat << "EOF"
____ ____ ____ _____ _____ _ _ _ __ ___ _ _ _____ ____
/ ___| / ___|| _ \ | ____|| ____|| \ | | | |/ /|_ _|| | | | | ____|| _ \
\___ \ | | | |_) || _| | _| | \| | | ' / | | | | | | | _| | |_) |
___) || |___ | _ < | |___ | |___ | |\ | | . \ | | | |___ | |___ | |___ | _ <
|____/ \____||_| \_\|_____||_____||_| \_|_____|_|\_\|___||_____||_____||_____||_| \_\
|_____|
EOF
#echo -e "\n"
#echo -e "\n"
echo -e "${BLUE} @TH3_ACE - BLAIS David"
echo -e "${BLUE} Contribute and collaborate to the KILLER project @ https://github.com/TH3xACE ${RESET}"
#echo -e "\n"
PS3="Please enter your choice:"
options=("Start recording commands" "Stop recording commands" "Start Screen Capture" "Stop Screen Capture" "Quit")
select opt in "${options[@]}"
do
case $opt in
"Start recording commands")
echo "Starting to record commands..."
bash "$PWD/start_recterm.sh"
;;
"Stop recording commands")
echo "Stopping the recording of commands...Leave a little time for all commands to get saved then close all the terminals"
bash "$PWD/stop_recterm.sh"
;;
"Start Screen Capture")
#echo -e "${YELLOW} Starting screen capture... ${RESET}"
echo -e "${RED} [+] Please enter the frequency screen capture in seconds: ${RESET}"
read freq
#echo $freq
echo -e "${YELLOW} Starting screen capture... ${RESET}"
bash "$PWD/start_recscr.sh" $freq
echo -e "${GREEN} Screen capture started... ${RESET}"
;;
"Stop Screen Capture")
echo -e "${YELLOW} Stopping screen capture...Please wait a few moment! ${RESET}"
bash "$PWD/stop_recscr.sh"
;;
"Quit")
break
;;
*) echo invalid option;;
esac
done