Skip to content

Instantly share code, notes, and snippets.

View pixelcanvasio_sabotage.py
"""
pixelcanvas.io Sabotager
Fills given coordinate range randomly with random colors
Written by: Utku Sen / utkusen.com
"""
import requests
import json
from random import randint
import time
View string_obfuscation.py
#Utku Sen
#Divides given string with given block sizes. Might be good for string obfuscation for AV bypass purposes.
#Example:string_divider("[System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true}",4)
#Output:""+"[Sys"+"tem."+"Net."+"Serv"+"iceP"+"oint"+"Mana"+"ger]"+"::Se"+"rver"+"Cert"+"ific"+"ateV"+"alid"+"atio"+"nCal"+"lbac"+"k = "+"{$tr"+"rue}"+"
def string_divider(string,block_size):
a = ''
str_dict = [ o for o in string ]
parts = [ ''.join( str_dict[ (j * block_size) : ( ( j + 1 ) * block_size ) ] ) for j in xrange(len(string)/block_size )]
View Get-PII.ps1
<#
.Synopsis
Parses PII data from given Word/Excel document and returns the first few characters of data. Regex values can be changed to catch different data.
Authors: @utkusen, gozdesinturk
.DESCRIPTION
Long description
.EXAMPLE
Get-PII.ps1 "C:\Path\To\File.docx"
.EXAMPLE
Get-PII.ps1 "C:\Path\to\File.xlsx"