- th3protocol.com
- @th3_protoCOL@infosec.exchange
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
import sys | |
def decode(encoded_str, xor_key): | |
decoded_str = "" | |
key_len = len(xor_key) | |
for i in range(0, len(encoded_str), 2): | |
encoded_byte = int(encoded_str[i:i+2], 16) # Convert the hexadecimal byte to an integer | |
xor_key_byte = ord(xor_key[i//2 % key_len]) # Get the corresponding byte from the XOR key | |
decoded_byte = encoded_byte ^ xor_key_byte # Perform the XOR operation | |
decoded_str += chr(decoded_byte) # Convert the result back to a character and append to the decoded string |
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
import re | |
from tqdm import tqdm | |
from requests_html import HTMLSession | |
class WebStore(): | |
def __init__(self): | |
self.extensions = [] | |
def get_ext_urls(self): |