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
| use clap::Parser; | |
| use std::boxed::Box; | |
| use std::fs::File; | |
| use std::io::prelude::*; // we need that for BufReader lines() | |
| use std::io::{BufReader, Error}; | |
| fn main() { | |
| // read wordlist path from cli |
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
| #!/usr/bin/python3 | |
| import ldap3 | |
| import argparse | |
| parser = argparse.ArgumentParser() | |
| parser.add_argument("--ip", help="the remote IP to target") | |
| parser.add_argument("--port", help="the remote port", default=389) |
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
| #!/usr/bin/env python | |
| # python3 port of the script from: https://www.secarma.com/using-machine-account-passwords-during-an-engagement/ | |
| import codecs | |
| import hashlib | |
| import binascii | |
| hex_password_mimikatz = "22 a0 7b 88 de 25 60 cb 7b 1d 60 2e b6 7b 8c 4b 56 ef ce 94 bc 02 c3 fc 5b c4 ab bb a1 29 c5 57 24 36 28 b0 0e 80 c8 63 dd 1b b9 50 9f 6c 31 14 8e 02 c9 c6 b2 ba a6 4c fc 7a ad 73 17 57 c0 33 ff e9 06 5b 18 38 12 a3 a1 0d 32 2e 8e a8 78 d0 45 fe 6f fc ac ff d0 fc 06 fb 7d 20 b0 28 f2 ce 3a 46 f7 d8 48 a0 5b c9 9e 50 02 52 07 53 d3 0b 58 81 be 0c 1e e6 14 f7 cb 6f 03 b3 72 f8 ee 3d 6f 59 0b e1 cd 84 17 2e c6 99 4b 3b 58 78 0c cb 82 c2 4c 26 7a 0b 9f c5 99 95 e5 e6 f7 57 83 a4 94 c1 f8 c5 55 55 57 7a 29 5e 82 66 b3 40 cc 6c cf 9c 20 6b fb 8d 35 da bf 88 45 a3 37 c8 dc 44 29 dd bb 71 81 ac db 75 16 f7 2a 1c d3 33 a6 72 e8 16 a2 9b 6b 98 f6 6b ee 5a e3 e9 3a a1 26 c9 db b1 12 ec 33 4f 02 1e 7f de 67 4a c6 4d 33 ac" |
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
| # change default prefix from ctrl+b to ctrl+a | |
| unbind C-b | |
| set -g prefix C-a | |
| bind a send-prefix | |
| # enable powerline status bar | |
| set -g default-terminal "screen-256color" | |
| run-shell "source $(find / -name powerline.conf 2>/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
| [tool.poetry] | |
| name = "impacket" | |
| version = "0.9.22+" | |
| description = "" | |
| authors = ["SecureAuthCorp"] | |
| [tool.poetry.dependencies] | |
| python = "^3.9" | |
| future = "^0.18.2" | |
| six = "^1.16.0" |
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
| { | |
| "workbench.startupEditor": "newUntitledFile", | |
| "workbench.colorTheme": "Monokai", | |
| "workbench.iconTheme": "file-icons", | |
| "editor.fontFamily": "Fira Code", | |
| "editor.fontLigatures": true, | |
| "editor.suggestSelection": "first", | |
| "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue", | |
| "files.exclude": { | |
| "**/.classpath": true, |
NewerOlder