Skip to content

Instantly share code, notes, and snippets.

View cryptolok's full-sized avatar

Maksym Zaitsev cryptolok

View GitHub Profile
@cryptolok
cryptolok / dotNETstaticRandom.txt
Created November 6, 2024 11:43
Windows .NET 4 Framework derandomizer
This patched clr.dll ommits windows syscall via advapi32.dll to generate random numbers, insted it will always produce 0 as result
can be tested with Get-Random in powershell
DLL : https://drive.google.com/file/d/1NnMe7jjtOyQR8AeRptv75mquE6uGnsZe/view
Put the dll file to C:\WINDOWS\Microsoft.NET\Framework64\v4.* and not forget to copy and backup the current version
or inject the dll to the process directly
Use at your own risk
#!/usr/bin/env bash
# sudo apt install hashcat
echo -e "\033[32m"
echo '
_ _ ___
/\/\ ___ __| (_) / _ \__ _ ___ ___
/ \ / _ \ / _` | |/ /_)/ _` / __/ __|
/ /\/\ \ (_) | (_| | / ___/ (_| \__ \__ \
@cryptolok
cryptolok / nvidia-2080ti-zotac-amp-extreme-hashcat-benchmark-linux570.txt
Created February 8, 2021 19:34
nvidia-2080ti-zotac-amp-extreme-hashcat-benchmark-linux570.txt
hashcat (v6.1.1) starting in benchmark mode...
Benchmarking uses hand-optimized kernel code by default.
You can use it in your cracking session by setting the -O option.
Note: Using optimized kernel code limits the maximum supported password length.
To disable the optimized kernel code in benchmark mode, use the -w option.
CUDA API (CUDA 11.2)
====================
* Device #1: GeForce RTX 2080 Ti, 10859/11016 MB, 68MCU
@cryptolok
cryptolok / nvidia-2080ti-zotac-amp-extreme-hashcat-benchmark-windows10.txt
Created February 8, 2021 15:32
nvidia-2080ti-zotac-amp-extreme-hashcat-benchmark-windows10.txt
hashcat (v6.1.1) starting in benchmark mode...
Benchmarking uses hand-optimized kernel code by default.
You can use it in your cracking session by setting the -O option.
Note: Using optimized kernel code limits the maximum supported password length.
To disable the optimized kernel code in benchmark mode, use the -w option.
* Device #1: WARNING! Kernel exec timeout is not disabled.
This may cause "CL_OUT_OF_RESOURCES" or related errors.
To disable the timeout, see: https://hashcat.net/q/timeoutpatch
@cryptolok
cryptolok / stm32f103c-blue-pill-overclock.sh
Last active February 7, 2021 02:07
stm32f103c-blue-pill-overclock.sh
#!/bin/bash
# you can use any desired programmer, like JTAG/ST-LINK
# assuming you're using Arduino IDE
# package : https://github.com/stm32duino/BoardManagerFiles/raw/master/STM32/package_stm_index.json
# the default library already should be at max stock clock (72MHz <=> RCC PLL multiplier of 9 for HSE crystal of 8MHz)
LIBVERSION=1.9.0
ARDVERSION=15
HOME=$HOME
BOARD=PILL_F103XX
#!/bin/bash
# vimdiff for assembly
# $ apt install vimdiff objdump
BIN1=$1
BIN2=$2
if [ ! "$BIN1" ] && [ ! "$BIN2" ]
then
@cryptolok
cryptolok / manga-dl.sh
Created September 14, 2019 12:57
MangaRock offline JPEG downloader
#!/bin/bash
# script to download whole manga images offline
# sudo apt install curl webp imagemagick wget
# wget "https://raw.githubusercontent.com/hjmeijer/xorfile/master/xorfile.py"
# n=1 ; while [[ $n != 10000000 ]] ; do echo -ne '\x65' >> key ; let n++ ; done
# ./manga-dl.sh 'https://mangarock.com/manga/mrs-serie-100266297'
URL=$1
@cryptolok
cryptolok / randomGenVideo.sh
Last active November 3, 2019 19:47
WebCam video-based pseudo-random number generator
#!/bin/bash
# poor-man's quantum photon detector randomizer
# ~1kb/s
# over a test of a thousand time, global entropy was equal to 7.99/8 and passed nearly all Dieharder tests, as well as FIPS 140-2
# however, sigma, mean and chi-square stats aren't too much enthusiastic
# overall, the result is pretty impressive, but of course, don't use it in production :)
DEVICE=/dev/video0
# for external cameras should be /dev/video1
type departement geolocalisation
itineraire 06 - Alpes-Maritimes 43.731979 7.412692
itineraire 07 - Ardeche 44.938465 4.830817
itineraire 09 - Ariege 42.829518 1.612157
fixe 80 - Somme 44.373694 2.592991
fixe 91 - Essonne 44.291312 2.567538
fixe 91 - Essonne 43.246999 5.451249
fixe 78 - Yvelines 43.2683 5.648124
fixe 86 - Vienne 45.75765 -0.661724
fixe 67 - Bas-Rhin 46.891104 6.364996
@cryptolok
cryptolok / win2usb.sh
Created June 12, 2018 22:03
Linux BASH script to make bootable Windows USB ISO image
#!/bin/bash
# sudo !!
echo "
__
,-~¨^ ^¨-, _,
/ / ;^-._...,¨/
/ / / /