This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import argparse | |
import logging | |
import sys | |
from bs4 import Tag, NavigableString, BeautifulSoup | |
logger = logging.getLogger(__name__) | |
class Context: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Powershell script for adding/removing/showing entries to the hosts file. | |
# | |
# Known limitations: | |
# - does not handle entries with comments afterwards ("<ip> <host> # comment") | |
# | |
$file = "C:\Windows\System32\drivers\etc\hosts" | |
function add-host([string]$filename, [string]$ip, [string]$hostname) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# BOXSTARTER SETUP DESKTOP MACHINE | |
## HABILITAR POWERSHELL | |
###### Set-ExecutionPolicy RemoteSigned | |
## Automatizar setup de maquina com chocolatey | |
# INSTALL BOXSTARTER (POWERSHELL ADMIN) | |
###### . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##This script will check the $email mailbox to make sure there are no emails older than 10 min. | |
## Requires Exchange Web Services Managed API 2.2 | |
$email = '[email protected]' | |
$password ='Password' | |
Import-Module 'C:\Program Files\Microsoft\Exchange\Web Services\2.2\Microsoft.Exchange.WebServices.dll' | |
$Service = [Microsoft.Exchange.WebServices.Data.ExchangeService]::new() | |
$Service.Credentials = [System.Net.NetworkCredential]::new($email, $Password) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
setlocal | |
setlocal EnableDelayedExpansion | |
echo #################################################### | |
echo # # | |
echo # VIPRE Business Removal Tool v0.2.3 # | |
echo # # | |
echo # Last update: Jan 30, 2019 # | |
echo # Source Instructions: https://bit.ly/22VkcUj # |