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
/* | |
************************************************************************** | |
* * | |
* Created by Harith Dilshan (h4rithd.com) * | |
* * | |
* Purpose: * | |
* This script creates a new user on a Windows system, adds the user * | |
* to the Administrators group, grants PsExec and Evil-WinRM access, * | |
* disables all firewall rules, enables SMB to allow login via * | |
* PsExec and Evil-WinRM, grants access to administrative shares, and * |
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 sqlite3 | |
import base64 | |
import sys | |
if len(sys.argv) != 2: | |
print("Usage: python3 gitea3hashcat.py <gitea.db>") | |
sys.exit(1) | |
try: | |
con = sqlite3.connect(sys.argv[1]) |
OlderNewer