Skip to content

Instantly share code, notes, and snippets.

View brootware's full-sized avatar
🎯
Focusing

Oaker Min brootware

🎯
Focusing
View GitHub Profile

You can use gtredactkit as an API. To do so:

from gtredactkit import runner
data = """this is my IP: 102.23.5.1
My router is : 10.10.10.1
71.159.188.33
81.141.167.45
165.65.59.139
64.248.67.225
import math
data="""
Hello World, hi!
"""
# Words per minute
WPM = 75
# 3
#!/usr/bin/python
import socket
host = "127.0.0.1"
port = 4444
# try and connect to a bind shell
try:
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
# Ignoring sensitive files and directories.
secret*.*
*secret*.*
SECRET*.*
*SECRET*.*
Password*.*
*Password*.*
PASSWORD*.*
*PASSWORD*.*
##############################################################
########## Register Backup and Managed Disk ##################
##############################################################
Register-AzProviderFeature -ProviderNamespace Microsoft.RecoveryServices -FeatureName RecoveryServicesResourceMove
Register-AzResourceProvider -ProviderNamespace Microsoft.RecoveryServices
Register-AzProviderFeature -FeatureName ManagedResourcesMove -ProviderNamespace Microsoft.Compute
Register-AzResourceProvider -ProviderNamespace Microsoft.Compute
do {
$getMdStatus = Get-AzProviderFeature -FeatureName ManagedResourcesMove -ProviderNamespace Microsoft.Compute
$getvaultStatus = Get-AzProviderFeature -FeatureName RecoveryServicesResourceMove -ProviderNamespace Microsoft.RecoveryServices
@brootware
brootware / Get_RBAC.ps1
Created June 25, 2019 00:38
exports role assignments in JSON format
#Get Resources
$Resources = Get-AzureRmRoleAssignment
#Get Resource Data
$Output = $Resources| ForEach-Object {
[PSCustomObject]@{
"Name" = $_.DisplayName
"ObjectId" = $_.ObjectId
"ObjectType" = $_.ObjectType
"RoleAssignmentId" = $_.RoleAssignmentId