This file contains hidden or 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 requests | |
import time | |
import os | |
# Nessus API credentials and host | |
nessus_url = "https://123.123.123.123:8834" | |
access_key = "x" | |
secret_key = "x" | |
headers = { | |
'X-ApiKeys': f'accessKey={access_key}; secretKey={secret_key}', |
This file contains hidden or 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
# https://cloud.google.com/blog/topics/threat-intelligence/untangling-iran-apt42-operations/ | |
import argparse | |
import random | |
import win32com.client | |
def insert_digit(word, digit): | |
pos = random.randint(1, len(word) - 1) | |
return word[:pos] + digit + word[pos:] | |
def generate_command(url, file_path): |
This file contains hidden or 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
hashcat (v6.2.6) 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 #2: Apple's OpenCL drivers (GPU) are known to be unreliable. | |
You have been warned. |
OlderNewer