{{ message }}

Instantly share code, notes, and snippets.

# Utku Sen utkusen

Created Oct 23, 2019
View Get-PII.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
 <# .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"
Created Mar 1, 2018
View string_obfuscation.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
 #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 )]
Created Jun 14, 2017
View pixelcanvasio_sabotage.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
 """ 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