Skip to content

Instantly share code, notes, and snippets.

View mskf3000's full-sized avatar
💭
I may be slow to respond.

MSKF3000 mskf3000

💭
I may be slow to respond.
View GitHub Profile
@mskf3000
mskf3000 / scanning_7001.csv
Created October 8, 2020 21:30 — forked from w1mp1k1ng/scanning_7001.csv
everyone scanning tcp 7001
We can't make this file beautiful and searchable because it's too large.
date,ip,port,protocol,org,rdns,asn,country
2018-05-01,5.188.11.78,7001,TCP,CABLE COM DATA CABLING SERVICES LTD,,AS43350,HR
2018-05-01,45.55.0.44,7001,TCP,"DigitalOcean, LLC",worker-0721d-51.stretchoid.com,AS14061,
2018-05-01,45.55.0.183,7001,TCP,"DigitalOcean, LLC",worker-0721d-58.stretchoid.com,AS14061,US
2018-05-01,45.55.0.202,7001,TCP,"DigitalOcean, LLC",worker-0721d-62.stretchoid.com,AS14061,US
2018-05-01,45.55.2.24,7001,TCP,"DigitalOcean, LLC",worker-0721d-74.stretchoid.com,AS14061,US
2018-05-01,45.55.2.45,7001,TCP,"DigitalOcean, LLC",worker-0721d-78.stretchoid.com,AS14061,US
2018-05-01,45.55.7.201,7001,TCP,"DigitalOcean, LLC",worker-0721c-24.stretchoid.com,AS14061,US
2018-05-01,45.118.144.93,7001,TCP,Long Van Soft Solution JSC,,AS131414,VN
2018-05-01,46.209.137.66,7001,TCP,Respina Network & Beyond IP Pool Tehran PoPSite,,AS42337,IR
@mskf3000
mskf3000 / disable-hyper-v.ps1
Created November 16, 2020 20:02 — forked from Adron/disable-hyper-v.ps1
Disabling/Enabling Hyper-V via Powershell ("Run As Administrator")
# Remember, all of these commands need executed via Powershell that is started/opened with "Run As Administrator".
# Disabling Hyper-V
Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-Hypervisor
# Enabling Hyper-V
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
@mskf3000
mskf3000 / macOSHighSierra_Bootable.sh
Created November 17, 2020 02:08
Create a Bootable macOSHighSierra.iso for installing macOS High Sierra in Virtualbox or VMware with macOS High Sierra.app
# Create a Bootable macOSHighSierra.iso for installing macOS High Sierra in Virtualbox or VMware with macOS High Sierra.app
# Create a "virtual USB flash drive"/disk image:
hdiutil create -o /tmp/HighSierra -size 8G -layout SPUD -fs HFS+J -type SPARSE
# Mount it:
hdiutil attach /tmp/HighSierra.sparseimage -noverify -mountpoint /Volumes/install_build
# Write the installer files into this new disk image:
@mskf3000
mskf3000 / update.txt
Created December 21, 2020 17:08 — forked from brianmed/update.txt
Auto update timestamp in postgres
[bpm@dev000] c:/opt>cat sql
BEGIN;
CREATE OR REPLACE FUNCTION update_timestamp()
RETURNS TRIGGER AS $$
BEGIN
NEW.updated = now();
RETURN NEW;
END;
$$ language 'plpgsql';
COMMIT;
@mskf3000
mskf3000 / Windows 10 Product Key
Created December 26, 2020 02:18 — forked from moonsbtt/Windows 10 Product Key
Free Windows 10 Product Serial Key
Here are some working Windows 10 Product Product Serial Keys. Choose the right version and apply the right key!
------------------------------------
Win 10 RTM Professional Volume:MAK
------------------------------------
WP88N-TQK3K-W962W-K9DF4-TVJXM
Activation left: 938
CVNT9-C36BX-82H27-GMBH9-BKMQB
Activation left: 370
<# This script contains all of the command shown in my blog post: Create Zero-Touch Windows 10 ISO
http://blogs.catapultsystems.com/mdowst/archive/2017/12/11/create-zero-touch-windows-10-iso/
#>
$ISO = "E:\Windows.iso"
$FolderPath = "E:\Win10_ISO\"
###################################
#
# Prep the ISO Files
# uninstall onedrive
Start-Process -FilePath 'c:\Windows\SysWOW64\OneDriveSetup.exe' -ArgumentList @('/uninstall') -NoNewWindow -Wait
# disable onedrive file sync
New-Item -ItemType Directory -Force -Path 'HKLM:\SOFTWARE\Wow6432Node\Policies\Microsoft\Windows\OneDrive'
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Wow6432Node\Policies\Microsoft\Windows\OneDrive' -Name 'DisableFileSyncNGSC' -Value 1
# remove onedrive from explorer menu
New-PSDrive -Name 'HKCR' -PSProvider 'Registry' -Root 'HKEY_CLASSES_ROOT'
Set-ItemProperty -Path 'HKCR:\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}' -Name 'System.IsPinnedToNameSpaceTree' 0
@mskf3000
mskf3000 / disable-windefend.ps1
Created January 12, 2021 02:08 — forked from grenade/disable-windefend.ps1
Disable Windows Defender
Set-ItemProperty -path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender' -name 'DisableConfig' -type 'Dword' -value 1
Set-ItemProperty -path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender' -name 'DisableAntiSpyware' -type 'Dword' -value 1
Set-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Services\wscsvc' -name 'Start' -type 'Dword' -value 4
Set-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Services\SecurityHealthService' -name 'Start' -type 'Dword' -value 4
Set-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Services\Sense' -name 'Start' -type 'Dword' -value 4
Set-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Services\WdBoot' -name 'Start' -type 'Dword' -value 4
Set-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Services\WdFilter' -name 'Start' -type 'Dword' -value 4
Set-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Services\WdNisDrv' -name 'Start' -type 'Dword' -value 4
Set-ItemProperty -path 'HKLM:\SYSTEM\CurrentControlSet\Services\WdNisSvc' -name 'Start' -type 'Dword' -v
#!/bin/bash -e
shopt -s extglob
aws_profile=occ-taskcluster
aws_region=us-west-2
aws_key_name=occ_ami_builder
aws_instance_type=c4.2xlarge
declare -A aws_instance_export_tasks
xfreerdp /u:Administrator /p:"$(pass Mozilla/relops/ec2/Administrator@base-win10-64)" /kbd:809 /w:2400 /h:1200 +clipboard /v:54.80.63.132