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 | |
| TOKEN=$(cat ~/.config/tgbot_token.txt) | |
| ID="CHANGEME" | |
| URL="https://api.telegram.org/bot$TOKEN/sendMessage" | |
| START_TEXT="[$(date -u '+%d-%m-%Y T%H:%M:%S%Z')] $1" | |
| curl -s -X POST $URL -d chat_id=$ID -d text="$START_TEXT" > /dev/null |
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
| #include <Keyboard.h> | |
| void typeKey(int key){ | |
| Keyboard.press(key); | |
| delay(50); | |
| Keyboard.release(key); | |
| } | |
| void setup() { | |
| pinMode(13, OUTPUT); //LED | |
| } |
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
| #include <stdio.h> | |
| #include <windows.h> | |
| static unsigned long long ticks_for_one_second = 1000000000; | |
| void stubfunc(unsigned long long max_count) { | |
| for (unsigned long long j = 0; j < max_count; j++) { | |
| (void)j; | |
| } | |
| } |
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
| def bytes2matrix(text): | |
| """ Converts a 16-byte array into a 4x4 matrix. """ | |
| return [list(text[i:i+4]) for i in range(0, len(text), 4)] | |
| def matrix2bytes(matrix): | |
| """ Converts a 4x4 matrix into a 16-byte array. """ | |
| return [j for i in matrix for j in i] | |
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
| # I think this script can be changed to bash one liner, but too lazy :( | |
| users_file = 'all_users_hashes.txt' # format: user:ntlmhash | |
| hashes_file = 'all_hashes_passwords.txt' # format: ntlmhash:foundedpassword | |
| users = {i.split(':')[0]: i.split(':')[1] for i in open(users_file, 'r').read().split('\n')[:-1]} | |
| hashes = {i.split(':')[0]: i.split(':')[1] for i in open(hashes_file, 'r').read().split('\n')[:-1]} | |
| for hash_ in hashes.keys(): | |
| for user in users.keys(): |
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 | |
| DOMAIN_NAME="EVIL.CORP" | |
| DOMAIN_CONTROLLER_IP=10.0.0.1 | |
| USERS_FILE=users.txt | |
| PASSWORD_FILE=passwords.txt | |
| OUTPUT_LOG=passwordspray.log | |
| SLEEP_TIME=2400 | |
| # FOR TG BOT | |
| TOKEN="<CHANGEME>" |