-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfix1132.sh
executable file
·99 lines (82 loc) · 3.35 KB
/
fix1132.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
#!/bin/bash
# Colors for output
RED='\033[0;31m'
GREEN='\033[0;32m'
NC='\033[0m' # No Color
# Function to pause and wait for user input
pause() {
echo ""
read -rp "${prompt_continue}"
}
# Language selection
echo "Select language / Choisissez la langue:"
echo "1. English"
echo "2. Français"
read -rp "Enter 1 or 2: " lang_choice
if [ "$lang_choice" = "1" ]; then
# English prompts
language="English"
title="Fix 1132 - Step by Step Guide"
note="Note: Please follow each step carefully."
prompt_continue="Press Enter to continue..."
# ... (other English prompts)
else
# French prompts
language="Français"
title="Correction 1132 - Guide étape par étape"
note="Remarque : Veuillez suivre attentivement chaque étape."
prompt_continue="Appuyez sur Entrée pour continuer..."
# ... (other French prompts)
export language
fi
echo -e "${GREEN}$title${NC}"
echo -e "${RED}$note${NC}"
pause
# Step 1: Force Close Zoom
echo -e "${GREEN}Step 1: Force Close Zoom / Étape 1 : Forcer la fermeture de Zoom${NC}"
echo "EN: Hold Command (⌘) + Press Q with Zoom open."
echo "FR: Maintenez Commande (⌘) + Appuyez sur Q avec Zoom ouvert."
pause
# Step 2: Change Your Device's Mac Address
echo -e "${GREEN}Step 2: Change Your Device's Mac Address${NC}"
echo "1. Temporarily disable Wi-Fi."
echo "2. While holding down the Option key (⌥), click on the Wi-Fi icon in the menu bar."
echo "3. Select the Wi-Fi network you're connected to."
echo "4. Check the Wi-Fi interface (usually en0 or en1)."
pause
# Step 3: Launch Terminal
echo -e "${GREEN}Step 3: Launch Terminal${NC}"
echo "Hold Command (⌘) + Press the spacebar."
echo "Type 'Terminal' or press F4, then open the Terminal app."
pause
# Step 4: Find Current Address & Generate a New One
echo -e "${GREEN}Step 4: Find Current Address & Generate a New One${NC}"
echo "1. Run the following command in Terminal to find your current MAC address:"
echo -e "${RED}ifconfig en0 | grep ether${NC}"
pause
echo "2. Now, generate a new MAC address by running the following command:"
echo -e "${RED}openssl rand -hex 6 | sed 's/\\(..\\)/\\1:/g; s/.$//'${NC}"
pause
# Step 5: Copy & Paste New MAC Address
echo -e "${GREEN}Step 5: Copy & Paste New MAC Address${NC}"
echo "1. Run the following command to set the new MAC address:"
echo -e "${RED}sudo ifconfig en0 ether YOUR_NEW_MAC_ADDRESS${NC}"
echo "Replace 'YOUR_NEW_MAC_ADDRESS' with the address you generated."
pause
# Step 6: Test New MAC Address
echo -e "${GREEN}Step 6: Test New MAC Address${NC}"
echo "Run the following command to verify the new MAC address:"
echo -e "${RED}ifconfig en0 | grep ether${NC}"
pause
# Step 7: Clean Out Your Folder
echo -e "${GREEN}Step 7: Clean Out Your Folder${NC}"
echo "1. Open Finder, then press Shift+Command+G to Go To Folder."
echo "2. Navigate to the following path:"
echo -e "${RED}~/Library/Application Support/zoom.us/data${NC}"
echo "3. Delete all .mov and .mp4 files, and open 'zoomus.enc.db' with Text Edit to clear its contents."
pause
# Final Step: Create a Temp Email
echo -e "${GREEN}Final Step: Create a Temp Email${NC}"
echo "Once an email is associated with 1132, it will no longer be able to access Zoom without authorization."
echo -e "${GREEN}Reopening Zoom should prompt 'update successful'.${NC}"
echo -e "${GREEN}All steps completed successfully! / Toutes les étapes ont été complétées avec succès !${NC}"