Ausnahme gefangen: SSL certificate problem: certificate is not yet valid ๐Ÿ“Œ HPR3657: Small time sysadmin

๐Ÿ  Team IT Security News

TSecurity.de ist eine Online-Plattform, die sich auf die Bereitstellung von Informationen,alle 15 Minuten neuste Nachrichten, Bildungsressourcen und Dienstleistungen rund um das Thema IT-Sicherheit spezialisiert hat.
Ob es sich um aktuelle Nachrichten, Fachartikel, Blogbeitrรคge, Webinare, Tutorials, oder Tipps & Tricks handelt, TSecurity.de bietet seinen Nutzern einen umfassenden รœberblick รผber die wichtigsten Aspekte der IT-Sicherheit in einer sich stรคndig verรคndernden digitalen Welt.

16.12.2023 - TIP: Wer den Cookie Consent Banner akzeptiert, kann z.B. von Englisch nach Deutsch รผbersetzen, erst Englisch auswรคhlen dann wieder Deutsch!

Google Android Playstore Download Button fรผr Team IT Security



๐Ÿ“š HPR3657: Small time sysadmin


๐Ÿ’ก Newskategorie: Podcasts
๐Ÿ”— Quelle: hackerpublicradio.org

  1. Creating Backups.
  • This script was trimmed to serve as an example.

  • The three options shown (email, jop, dots) demonstrates, how to list items with case statements:

    • Single item/directory (jop).
    • Multiple items in single directory (dots).
    • Multiple items in multiple directories (email).
  • The text files created after the archive serves as an item list
    with current permissions.

  • tar --directory= /path/to/directory/ --create --file INSERT_ARCHIVE_NAME.tar /path/to/file;

#!/bin/bash
#License: GPL v3
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <https://www.gnu.org/licenses/>.

#Name: getoverhere.sh
#Purpose:
#Version: beta 0.07
#Author: SGOTI (Some Guy On The Internet)
#Date: Sat 29 Jan 2022 02:19:29 AM EST

#variables:
VAR_TBALL=
VAR_TARGET=
VAR_JUMP=
VAR_VALUE=

#start:
cat << "EOT01"
Options:
    email |"${HOME}/.thunderbird/"
    jop |"${HOME}/Documents/joplin"
    dots |"${HOME}/.bashrc .vimrc .bash_aliases"
EOT01

echo -e "What do you want to backup? : \c."
read VAR_VALUE

case ${VAR_VALUE} in
    "email" )
VAR_TBALL="INSERT_EMAIL_NAME$(date +%m-%d-%Y).tar.gz"
VAR_TARGET="msgFilterRules.dat"
VAR_JUMP="${HOME}/.thunderbird/*.default-release/ImapMail/imap.mail.yahoo.com/"
    echo -e "Grabbing INSERT_EMAIL_NAME...\n"
tar -C ${VAR_JUMP} --create --file ${VAR_TBALL} --gzip ${VAR_TARGET}
    sleep 1

VAR_TBALL="INSERT_EMAIL_NAME$(date +%m-%d-%Y).tar.gz"
VAR_TARGET="msgFilterRules.dat"
VAR_JUMP="${HOME}/.thunderbird/*.default-release/ImapMail/imap.gmail.com/"
    echo -e "Grabbing INSERT_EMAIL_NAME...\n"
tar -C ${VAR_JUMP} --create --file ${VAR_TBALL} --gzip ${VAR_TARGET}
    sleep 1

VAR_TBALL="EMAIL_ARCHIVES$(date +%m-%d-%Y).tar.gz"
VAR_TARGET="Mail/"
VAR_JUMP="${HOME}/.thunderbird/*.default-release/"
    echo -e "Grabbing email EMAIL_ARCHIVES...\n"
tar -C ${VAR_JUMP} --create --file ${VAR_TBALL} --gzip ${VAR_TARGET}
    echo -e "Creating List for ${VAR_TBALL}...\n"
ls -lhAR --group-directories-first ${VAR_JUMP}${VAR_TARGET} > EMAIL_ARCHIVES$(date +%m-%d-%Y).txt
    sleep 1

VAR_TBALL="THUNDERBIRD_CALENDER$(date +%m-%d-%Y).tar.gz"
VAR_TARGET="calenders/"
VAR_JUMP="${HOME}/Documents/"
    echo -e "Grabbing email THUNDERBIRD_CALENDER...\n"
tar -C ${VAR_JUMP} --create --file ${VAR_TBALL} --gzip ${VAR_TARGET}
    echo -e "Creating List for ${VAR_TBALL}...\n"
ls -lhAR --group-directories-first ${VAR_JUMP}${VAR_TARGET} > THUNDERBIRD_CALENDER$(date +%m-%d-%Y).txt
    sleep 1

VAR_TBALL="THUNDERBIRD_ADDRESS_BOOK$(date +%m-%d-%Y).tar.gz"
VAR_TARGET="address-book/"
VAR_JUMP="${HOME}/Documents/"
    echo -e "Grabbing ${VAR_TARGET}...\n"
tar -C ${VAR_JUMP} --create --file ${VAR_TBALL} --gzip ${VAR_TARGET}
    echo -e "Creating List for ${VAR_TBALL}...\n"
ls -lhAR --group-directories-first ${VAR_JUMP}${VAR_TARGET} > THUNDERBIRD_ADDRESS_BOOK$(date +%m-%d-%Y).txt
    sleep 1

VAR_TBALL="THUNDERBIRD_ALL$(date +%m-%d-%Y).tar.gz"
VAR_TARGET=".thunderbird/"
VAR_JUMP="${HOME}/"
    echo -e "Grabbing ${VAR_TARGET}...\n"
tar -C ${VAR_JUMP} --create --file ${VAR_TBALL} --gzip ${VAR_TARGET}
    echo -e "Creating List for ${VAR_TBALL}...\n"
ls -lhAR --group-directories-first ${VAR_JUMP}${VAR_TARGET} > THUNDERBIRD_ALL$(date +%m-%d-%Y).txt ;;

    "jop" )
VAR_TBALL="JOPLIN$(date +%m-%d-%Y).tar.gz"
VAR_TARGET="joplin/"
VAR_JUMP="${HOME}/Documents/"
    echo "Grabbing ${VAR_TARGET}"
tar -C ${VAR_JUMP} --create --file ${VAR_TBALL} --gzip ${VAR_TARGET}
    sleep 1
    echo -e "Creating List for ${VAR_TBALL}...\n"
ls -lhAR --group-directories-first ${VAR_JUMP}${VAR_TARGET} > JOPLIN$(date +%m-%d-%Y).txt ;;

    "dots" )
VAR_TBALL="dots$(date +%m-%d-%Y).tar.gz"
VAR_TARGET=".bashrc .vimrc .bash_aliases"
VAR_JUMP="${HOME}/"
    echo "Grabbing ${VAR_TARGET}"
tar -v -C ${VAR_JUMP} --create --file ${VAR_TBALL} --gzip ${VAR_TARGET} ;;

    * )
    echo "Good Heavens..." ;;
esac
exit;

  1. Restoring from backups.
  • tar --extract --directory= /path/to/directory/ --file /path/to/file;
  • A cp -v -t /path/to/directory *08-05-2022.tar.gz; command is used to
    send the latest tarballs to the fresh install, from the backup drive.
  • Now that youโ€™ve seen the script above, Iโ€™ll just give a tar --extract example to keep things short and sweet.
VAR_TBALL="EMAIL_ARCHIVES*.tar.gz"
VAR_JUMP="${HOME}/.thunderbird/*.default-release/"
    echo -e "Restoring EMAIL_ARCHIVES...\n"
tar --extract --directory= ${VAR_JUMP} --file ${VAR_TBALL}
    echo -e "EMAIL_ARCHIVES restored.\n"
...



๐Ÿ“Œ HPR3657: Small time sysadmin


๐Ÿ“ˆ 71.35 Punkte

๐Ÿ“Œ 6 OpenSSL command options that every sysadmin should know | Enable Sysadmin


๐Ÿ“ˆ 33.24 Punkte

๐Ÿ“Œ 7 Linux networking commands that every sysadmin should know | Enable Sysadmin


๐Ÿ“ˆ 33.24 Punkte

๐Ÿ“Œ GitHub - kahun/awesome-sysadmin: A curated list of amazingly awesome open source sysadmin .


๐Ÿ“ˆ 33.24 Punkte

๐Ÿ“Œ Former Sysadmin Accused of Planting 'Time Bomb' In Company's Database


๐Ÿ“ˆ 22.79 Punkte

๐Ÿ“Œ Sysadmin Accused of Causing $100K in Damages to Former Employer with โ€œTime Bombโ€


๐Ÿ“ˆ 22.79 Punkte

๐Ÿ“Œ How to hack a Sysadmin โ€“ jump the IT support queue every time!


๐Ÿ“ˆ 22.79 Punkte

๐Ÿ“Œ What's a small Linux program that you don't give much thought but makes your life a hundred times easier from time to time?


๐Ÿ“ˆ 21.92 Punkte

๐Ÿ“Œ Cisco Small Business SA520/Small Business SA540 2.1.71/2.2.0.7 scgi-bin/platform.cgi thispage directory traversal


๐Ÿ“ˆ 19.14 Punkte

๐Ÿ“Œ Cisco Small Business RV320/Small Business RV325 up to 1.4.2 Web-based Management Interface Man-in-the-Middle weak encryption


๐Ÿ“ˆ 19.14 Punkte

๐Ÿ“Œ Cisco Small Business RV320/Small Business RV325 up to 1.4.2 Web-based Management Interface Man-in-the-Middle weak encryption


๐Ÿ“ˆ 19.14 Punkte

๐Ÿ“Œ Cisco Small Business RV320/Small Business RV325 up to 1.4.2 Online Help Web Service Reflected cross site scripting


๐Ÿ“ˆ 19.14 Punkte

๐Ÿ“Œ Cisco Small Business SA520/Small Business SA540 2.1.71/2.2.0.7 scgi-bin/platform.cgi thispage Directory Traversal


๐Ÿ“ˆ 19.14 Punkte

๐Ÿ“Œ Cisco Small Business RV320/Small Business RV325 up to 1.4.2 Online Help Web Service Reflected cross site scripting


๐Ÿ“ˆ 19.14 Punkte

๐Ÿ“Œ Cisco Small Business RV320/Small Business RV325 Web-based Interface HTTP Request Session Hijacking weak authentication


๐Ÿ“ˆ 19.14 Punkte

๐Ÿ“Œ Kaspersky Small Office Security: Small business. Big dreams. Anne


๐Ÿ“ˆ 19.14 Punkte

๐Ÿ“Œ Kaspersky Small Office Security: Small business. Big dreams. Steve


๐Ÿ“ˆ 19.14 Punkte

๐Ÿ“Œ Kaspersky Small Office Security โ€“ Small business. Big dreams


๐Ÿ“ˆ 19.14 Punkte

๐Ÿ“Œ New Venmo Small Business Grant Program to Support Emerging and Small Businesses


๐Ÿ“ˆ 19.14 Punkte

๐Ÿ“Œ New Venmo Small Business Grant Program to Support Emerging and Small Businesses


๐Ÿ“ˆ 19.14 Punkte

๐Ÿ“Œ New Venmo Small Business Grant Program to Support Emerging and Small Businesses


๐Ÿ“ˆ 19.14 Punkte

๐Ÿ“Œ Small Business is a Big Priority: NIST Expands Outreach to the Small Business Community


๐Ÿ“ˆ 19.14 Punkte

๐Ÿ“Œ Starting Small: Tips for Launching Projects with Limited Resources and Small Teams


๐Ÿ“ˆ 19.14 Punkte

๐Ÿ“Œ Small but Mighty: The Role of Small Language Models in Artificial Intelligence AI Advancement


๐Ÿ“ˆ 19.14 Punkte

๐Ÿ“Œ Slashdot Asks: Is It Time To Dump Time Zones In Favor of Coordinated Universal Time?


๐Ÿ“ˆ 18.52 Punkte

๐Ÿ“Œ Slashdot Asks: Is It Time To Dump Time Zones In Favor of Coordinated Universal Time?


๐Ÿ“ˆ 18.52 Punkte

๐Ÿ“Œ Ask Slashdot: Is it Time To Call Time on Time Zones?


๐Ÿ“ˆ 18.52 Punkte

๐Ÿ“Œ Citibank Sysadmin Gets 21 Months in Jail for Wiping Bank's Routers


๐Ÿ“ˆ 16.62 Punkte

๐Ÿ“Œ School sues sysadmin for wiping its only login to Gmail


๐Ÿ“ˆ 16.62 Punkte

๐Ÿ“Œ School sues sysadmin for wiping its only login to Gmail


๐Ÿ“ˆ 16.62 Punkte

๐Ÿ“Œ Paper factory fired its sysadmin. He returned via VPN and caused $1m in damage. Now jailed


๐Ÿ“ˆ 16.62 Punkte











matomo