Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
nu11secur1ty
GitHub Repository: nu11secur1ty/Kali-Linux
Path: blob/master/SMSend-Anon-SMS-Sender/setup.sh
1291 views
1
#!/bin/bash
2
echo "Installing necessary libraries..."
3
pip install requests stem
4
5
read -p "Do you want to configure or reconfigure the auth.txt file? (y/n) " user_input
6
7
if [[ $user_input == "y" || $user_input == "yes" ]]; then
8
read -p "Enter your OpenVPN/VPN username: " vpn_username
9
read -sp "Enter your VPN config password: " vpn_password
10
echo
11
12
echo "Updating auth.txt file..."
13
> auth.txt
14
echo "$vpn_username" > auth.txt
15
echo "$vpn_password" >> auth.txt
16
17
echo "auth.txt has been updated."
18
else
19
echo "No changes made to auth.txt."
20
fi
21
22
echo "Running smsend.py..."
23
python smsend.py || { echo "Failed to run smsend.py"; exit 1; }
24
25
echo "Setup completed successfully."
26
27