View Write-RegistryValue.ps1
This file contains 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
<# | |
.EXAMPLE | |
Write-RegistryValue -Path "HKCU:\Software\Sysinternals\Strings" -Name "EulaAccepted | |
#> | |
function Write-RegistryValue{ | |
param ( | |
[parameter(Mandatory=$true)][ValidateNotNullOrEmpty()]$Path, | |
[parameter(Mandatory=$true)][ValidateNotNullOrEmpty()]$Name, | |
[parameter(Mandatory=$true)][ValidateNotNullOrEmpty()]$Value |
View Play-Mario.ps1
This file contains 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
Function Play-Mario { | |
[System.Console]::Beep(659, 125); | |
[System.Console]::Beep(659, 125); | |
[System.Threading.Thread]::Sleep(125); | |
[System.Console]::Beep(659, 125); | |
[System.Threading.Thread]::Sleep(167); | |
[System.Console]::Beep(523, 125); | |
[System.Console]::Beep(659, 125); | |
[System.Threading.Thread]::Sleep(125); | |
[System.Console]::Beep(784, 125); |
View ja.json
This file contains 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
{ | |
"__comment":"Thanks to WireShark + USBPcap!", | |
"a":"00,00,04", | |
"b":"00,00,05", | |
"c":"00,00,06", | |
"d":"00,00,07", | |
"e":"00,00,08", | |
"f":"00,00,09", | |
"g":"00,00,0a", | |
"h":"00,00,0b", |
View VTUploadCheck.sh
This file contains 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
#!/bin/sh | |
sha256="d868ef71f3489e9f9c0a17b9b3c704789aae7c362457cea5c8e1e17185437303" | |
url="https://www.virustotal.com/en/file/$sha256/analysis/" | |
while : | |
do | |
result=$(wget -qO- $url ); | |
reslen=${#result} | |
if [ "$reslen" -lt "1000" ] ; then | |
echo "VirusTotal blocks us!"; | |
break; |
View Play-ShinoTone
This file contains 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
Function Play-ShinoTone{ | |
cls | |
$octave=2 | |
$keytone=@{ # http://pages.mtu.edu/~suits/notefreqs.html | |
'a'=261.63*$octave; # C | |
'w'=277.18*$octave; # C# | |
's'=293.66*$octave; # D | |
'e'=311.13*$octave; # D# | |
'd'=329.63*$octave; # E | |
'f'=349.23*$octave; # F |
View Play-Doremi.ps1
This file contains 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
$C=261.6 | |
$Cs=277.2 | |
$Db=$Cs | |
$D=293 | |
$Ds=311.1 | |
$Eb=$Ds | |
$E=329.6 | |
$F=349.2 | |
$Fs=370.0 | |
$Gb=$Fs |
View webhealthcheck.py
This file contains 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
#!python3 | |
import requests | |
import time | |
URL= [ | |
'http://shino.club/ ', | |
'https://shinobot.com/ ', | |
'https://mnd2015.info/ ', | |
'https://shinosec.com/ ', |
View Helloworld_C_Sharp.ps1
This file contains 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
$assemblies=( | |
"System" | |
) | |
$source=@" | |
using System; | |
namespace Helloworld | |
{ | |
public static class Hello{ | |
public static void Main(){ |
View enable_powershell_logging.bat
This file contains 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 | |
net session >nul 2>&1 | |
if %errorlevel% == 0 ( | |
echo|set /p="Adding registry 1:" | |
reg add HKLM\SOFTWARE\Wow6432Node\Policies\Microsoft\Windows\PowerShell\ /v EnableModuleLogging /f /t REG_DWORD /d 1 | |
echo|set /p="Adding registry 2:" |
View rc4.py
This file contains 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 sys | |
def rc4init(key): | |
x=0 | |
box = range(256) | |
for i in range(256): | |
x = (x + box[i] + ord(key[i % len(key)])) % 256 | |
box[i], box[x] = box[x], box[i] | |
return box |
OlderNewer