Compare commits

..

3 commits

Author SHA1 Message Date
Tracey Clark
3b7e6434b9 Setup Solus VMs initial commit 2024-02-21 18:49:00 -06:00
Tracey Clark
005a042263 Add WIP script for getting CVE numbers for Solus Thunderbird changelogs 2024-02-21 18:48:33 -06:00
Tracey Clark
0290749cee Add encrypt hooks script for letsencrypt 2024-02-21 18:48:04 -06:00
3 changed files with 58 additions and 0 deletions

View file

@ -0,0 +1,5 @@
#!/usr/bin/env bash
postmap -F hash:/etc/postfix/sni
postmap -F hash:/etc/postfix/vmail_ssl.map
systemctl restart nginx && systemctl restart dovecot && systemctl restart postfix

View file

@ -0,0 +1,41 @@
#!/usr/bin/env perl
use Modern::Perl;
use FindBin;
use lib "$FindBin::RealBin/lib";
use Getopt::Long;
use Pod::Usage;
use WWW::Mechanize;
use Data::Dumper;
my $successful_parse = GetOptions(
'help|?' => \ my $help,
man => \ my $man,
'url=s' => \ my $url
)
or pod2usage(2);
if ( !$successful_parse || ( @ARGV > 1 ) ) {
die qq{Usage: $0 [ --url]\n};
}
if ( !defined $url ) {
die qq{Usage: $0 [ --url]\n};
}
# Get url from input param
# https://www.mozilla.org/en-US/security/advisories/mfsa2024-07/
my $mechanize = WWW::Mechanize->new(autocheck => 1);
$mechanize->get($url);
my $page = $mechanize->content;
# Get text from each level-heading class
# ex
# <h4 id="CVE-2024-1546" class="level-heading">
# And then Metacpan had a 502 so I couldn't find docs on how to get this X|
# Get CVEs in form of CVE-2024-1546

View file

@ -0,0 +1,12 @@
#!/usr/bin/env bash
sudo eopkg it -y rsync zsh neovim ripgrep git powerline-fonts simple-scan
chsh -s $(which zsh)
cp /mnt/vmshare/.aliases ~/
cp /mnt/vmshare/.bashrc ~/
cp /mnt/vmshare/.bash_profile ~/
cp /mnt/vmshare/.zshrc ~/
cp /mnt/vmshare/.zsh_tlc ~/
# Add zsh prompt setup