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
#pragma once | |
// Code below is adapted from @modexpblog. Read linked article for more details. | |
// https://www.mdsec.co.uk/2020/12/bypassing-user-mode-hooks-and-direct-invocation-of-system-calls-for-red-teams | |
#ifndef SW2_HEADER_H_ | |
#define SW2_HEADER_H_ | |
#include <windows.h> | |
#include <winternl.h> |
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
#!/bin/bash | |
### 0xc4s OpenSSL bruter for HTB's 'Hawk' | |
# Declare wordlists | |
wordlist = '/usr/share/wordlists/rockyou.txt' | |
# Declare array of possible ciphers (based on common ones from 'openssl help') | |
ciphers=( | |
-aes-256-cbc | |
-aes-128-cbc |