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
#!/usr/bin/perl | |
# Author: Todd Larason <jtl@molehill.org> | |
# $XFree86: xc/programs/xterm/vttests/256colors2.pl,v 1.2 2002/03/26 01:46:43 dickey Exp $ | |
# use the resources for colors 0-15 - usually more-or-less a | |
# reproduction of the standard ANSI colors, but possibly more | |
# pleasing shades | |
# colors 16-231 are a 6x6x6 color cube | |
for ($red = 0; $red < 6; $red++) { |
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
# /etc/bash/bashrc | |
# | |
# This file is sourced by all *interactive* bash shells on startup, | |
# including some apparently interactive shells such as scp and rcp | |
# that can't tolerate any output. So make sure this doesn't display | |
# anything or bad things will happen ! | |
# Test for an interactive shell. There is no need to set anything | |
# past this point for scp and rcp, and it's important to refrain from |
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
#!/usr/bin/python | |
# CC-BY: hasherezade | |
"""Finds R5A key for 7even-HONE$T ransomware - variant: 08a53eb5d54c6829cf6ea29bd61ea161""" | |
import argparse | |
import os | |
PREFIX = 'M' | |
SUFFIX = '*' |
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
// CC-BY: hasherezade (hasherezade.net) | |
function makeTree(height = 6) | |
{ | |
var treeHtml=""; | |
var width = 1; | |
var leaf = "###" | |
var snow = "-*-"; | |
var snowC = 4; |
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
{ | |
"blacklist": { | |
"countries": [ | |
"am", | |
"az", | |
"by", | |
"ge", | |
"kg", | |
"kz", | |
"md", |
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
#!/usr/bin/python | |
# CC-BY: hasherezade | |
"""Convert wchar string to char string""" | |
import argparse | |
def convert(data): | |
maxlen = len(data) | |
decoded = bytearray() | |
i = 0 |
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
uu$$$$$$$$$$$uu | |
uu$$$$$$$$$$$$$$$$$uu | |
u$$$$$$$$$$$$$$$$$$$$$u | |
u$$$$$$$$$$$$$$$$$$$$$$$u | |
u$$$$$$$$$$$$$$$$$$$$$$$$$u | |
u$$$$$$* *$$$* *$$$$$$u | |
*$$$$* u$u $$$$* | |
$$$u u$u u$$$ | |
$$$u u$$$u u$$$ | |
*$$$$uu$$$ $$$uu$$$$* |
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
# requires: xorriso | |
# copy your bootloader as: cdcontent/boot/loader.sys | |
prog="xorriso -as mkisofs" | |
$prog -R -J -c boot/bootcat \ | |
-b boot/loader.sys -no-emul-boot -boot-load-size 1 \ | |
-o ./bootable.iso ./cdcontent |
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
; Bootloader detecting PETYA Ransomware and recovering Stage1 key | |
; | |
; CC-BY: hasherezade | |
; | |
; compile: | |
; nasm boot.asm -f bin -o boot.bin | |
; | |
; Copy to flash disk (as root) | |
; example if the flash disk is /dev/sdb: | |
; dd if=boot.bin of=/dev/sdb bs=512 count=1 |
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
{ | |
"blacklist": { | |
"countries": [ | |
"am", | |
"az", | |
"by", | |
"ge", | |
"kg", | |
"kz", | |
"md", |
OlderNewer