initial code commit

This commit is contained in:
ION606
2024-06-26 12:03:29 -04:00
parent e810bb8215
commit ce895bddaa
10 changed files with 199 additions and 1 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/bin/bash
CREDSFILE="$HOME/ionsrc/creds.txt"
read -p "Enter source IP/URL: " src;
read -p "Enter your username: " username;
read -sp "Enter your password: " password;
echo "";
echo "src=$src" > "$CREDSFILE";
echo "username=$username" >> "$CREDSFILE";
echo "password=$password" >> "$CREDSFILE";
# Secure the file
chmod 600 "$CREDSFILE";
echo "Logged in!";
exit;