Skip to content

Instantly share code, notes, and snippets.

@Hanan-Natan
Hanan-Natan / revil_strings_p3.py
Last active May 10, 2023 14:39 — forked from OALabs/revil_strings.py
Decrypt REvil ransomware strings with IDA Python
import idaapi, idc, idautils
class DecryptorError(Exception):
pass
def rc4crypt(key, data):
x = 0
box = list(range(256))
@Hanan-Natan
Hanan-Natan / base64table.go
Created December 14, 2018 01:28
Golang - Base64 with different index table
package main
import (
"encoding/base64"
"fmt"
)
func base64Enc(buffer []byte, base64Table string) []byte {
// encode the buffer with the provided base64 index table