I hereby claim:
- I am healeyio on github.
- I am healeyio (https://keybase.io/healeyio) on keybase.
- I have a public key whose fingerprint is RETU RN T HIS. PGP. GET_ FING ERPR INT( ); }
To claim this, I am signing this object:
#!/bin/bash | |
# Only update OpenVAS when no scans are running | |
scanRunning="$(ps aux | grep "openvassd: testing " | wc -l)" | |
scanRunning=$((scanRunning + "$(ps aux | grep "openvasmd: OTP: Handling scan" | wc -l)")) | |
# if the commands above result in 2 or less, a scan is not running and it is safe to update | |
if [ $scanRunning -le 2 ]; then | |
echo "Updating OpenVas Feeds" | |
/usr/sbin/greenbone-nvt-sync |
$key = "HKCU:\SOFTWARE\Locky" | |
If ((Test-Path $key) -ne $true) { | |
# Create registry Key | |
New-Item -Path $key -ItemType Key | |
# Setting ACL | |
$a = [System.Security.Principal.WindowsIdentity]::GetCurrent().Name | |
$acl = Get-Acl $key | |
$rule = New-Object System.Security.AccessControl.RegistryAccessRule ($a,"FullControl","Deny") | |
$acl.SetAccessRule($rule) |
#requires –Version 3.0 | |
<# | |
.SYNOPSIS | |
Sets Lync 2013 Client's PersonalNote field with latest tweet from your favorite twitter personality: | |
@SwiftOnSecurity | |
.DESCRIPTION | |
What's happening today? Find out with the Set-LyncNoteWithTwitter.ps1 script. It sets the Lync 2013 | |
Client's personal note to match the latest tweet from your favorite twitter personality. | |
Authentication and authorization are handled throughTwitter's Oauth implementation. Everything else is |
#requires –Version 3.0 | |
<# | |
.SYNOPSIS | |
Updates Lync 2013 Client's location information with geolocation data based on internet ip address. | |
.DESCRIPTION | |
The Update-LyncLocation.ps1 script updates the Lync 2013 Client's location information. It uses the | |
Telize web service to determine your external ip address and then queries Telize to collect publicly | |
available geolocation information to determine your location. That data is then parsed into usable | |
information and published to the Lync client. |
I hereby claim:
To claim this, I am signing this object: