Skip to content

Instantly share code, notes, and snippets.

View galeksandrp's full-sized avatar

Alexander Georgievskiy galeksandrp

View GitHub Profile
@galeksandrp
galeksandrp / cephfs_transcoder.py
Last active July 13, 2025 07:49 — forked from marcan/cephfs_transcoder.py
Transcoder (layout migrator) for CephFS
#!/usr/bin/env python3
# CephFS pool/layout migration tool ("transcoder")
#
# Loosely inspired by:
# https://git.sr.ht/~pjjw/cephfs-layout-tool/tree/master/item/cephfs_layout_tool/migrate_pools.py
# https://gist.github.com/ervwalter/5ff6632c930c27a1eb6b07c986d7439b
#
# MIT license (https://opensource.org/license/mit)
import os, stat, time, signal, shutil, logging, sys
@galeksandrp
galeksandrp / Update-AUPackages.md
Last active February 17, 2024 20:58
Update-AUPackages Report #powershell #chocolatey
@galeksandrp
galeksandrp / Update-AUPackages.md
Created August 9, 2019 19:53
Update-AUPackages Report #powershell #chocolatey
@galeksandrp
galeksandrp / Update-AUPackages.md
Last active August 9, 2019 19:44
Update-AUPackages Report #powershell #chocolatey

Keybase proof

I hereby claim:

  • I am galeksandrp on github.
  • I am galeksandrp (https://keybase.io/galeksandrp) on keybase.
  • I have a public key whose fingerprint is 0B58 92A8 EE87 4BD9 C7E2 26EA 7546 5C70 4392 E07F

To claim this, I am signing this object:

@galeksandrp
galeksandrp / ct.sh
Created March 29, 2017 13:06 — forked from Foorack/ct.sh
#!/bin/bash
# Step 1: Find all subdomains w/ false-positives
python2.7 Sublist3r/sublist3r.py -d $1 > cd1.tmp.txt
tail -n +23 cd1.tmp.txt | sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[mGK]//g" > cd1.txt
rm cd1.tmp.txt
# Step 2: Sort out false positives
while read LINE; do
curl -o /dev/null -A "HTTPS/SSL coverage scan; Internet security scanning project." --max-time 1 --silent --head --write-out '%{http_code}' "$LINE" >> cd2.txt
@galeksandrp
galeksandrp / GM_XHR.js
Last active February 1, 2017 03:56 — forked from monperrus/GM_XHR.js
allows using all Jquery AJAX methods in Greasemonkey
// allows using all Jquery AJAX methods in Greasemonkey
// inspired from http://ryangreenberg.com/archives/2010/03/greasemonkey_jquery.php
// works with JQuery 1.5
// (c) 2011 Martin Monperrus
// (c) 2010 Ryan Greenberg
//
// Usage:
// $.ajax({
// url: '/p/',
// xhr: function(){return new GM_XHR();},
Certutil -generateSSTFromWU WURoots.sst
[reflection.assembly]::LoadWithPartialName("System.Security")
$certs = new-object system.security.cryptography.x509certificates.x509certificate2collection
$certs.import("WURoots.sst")
$store = new-object system.security.cryptography.X509Certificates.X509Store -argumentlist "AuthRoot", LocalMachine
failure: ,discordapp\\\\.com,Discordapp.com.xml
failure: ,bitcoin\\\\.com,Bitcoin.com.xml
failure: ,theintercept\\\\.com,The_Intercept.com.xml
failure: ,codeux\\\\.com,Codeux.com.xml
failure: ,dnscrypt\\\\.org,DNSCrypt.org.xml
failure: ,brave\\\\.com,brave.com.xml
failure: ,periscope\\\\.tv,Periscope.tv.xml
failure: ,wakatime\\\\.com,WakaTime.com.xml
failure: ,gnunet\\\\.org,GNUnet.xml
failure: ,openas\\\\.org,Openas.org.xml