Compare commits
No commits in common. "3b7e6434b9af8b1cc6a82025b454e4021a59e4be" and "6aa44ea7e8dcca262b0d8fd5d190ad4765c953e3" have entirely different histories.
3b7e6434b9
...
6aa44ea7e8
3 changed files with 0 additions and 58 deletions
|
|
@ -1,5 +0,0 @@
|
||||||
#!/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
|
|
||||||
|
|
@ -1,41 +0,0 @@
|
||||||
#!/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
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
#!/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
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue