-
-
Notifications
You must be signed in to change notification settings - Fork 86
/
Cargo.toml
170 lines (162 loc) · 4.74 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
[package]
name = "legba"
description = "A fast multi protocol credential bruteforcer/sprayer/enumerator."
keywords = ["authentication", "bruteforce", "wordlist"]
version = "0.10.0"
authors = ["Simone Margaritelli <evilsocket@gmail.com>"]
license = "GPL-3.0"
edition = "2021"
readme = "README.md"
repository = "https://github.com/evilsocket/legba"
homepage = "https://github.com/evilsocket/legba"
[dependencies]
# force vendored openssl for every dependency
openssl = { version = "0.10.64", features = ["vendored"], optional = true }
ahash = "0.8.3"
ansi_term = "0.12.1"
async-channel = "1.9.0"
async-trait = "0.1.73"
chrono = { version = "0.4.31", features = ["serde"] }
clap = { version = "4.4.4", features = ["derive"] }
clap_complete = "4.4.6"
ctrlc = "3.4.1"
indexmap = { version = "2.0.1", features = ["serde"] }
log = "0.4.20"
num_cpus = "1.16.0"
rlimit = "0.10.1"
serde = { version = "1.0.188", features = ["serde_derive"] }
serde_json = "1.0.107"
tokio = { version = "1.36.0", features = ["full"] }
itertools = "0.11.0"
rand = "0.8.5"
env_logger = "0.10.0"
memory-stats = "1.1.0"
human_bytes = "0.4.3"
hex = "0.4.3"
glob = "0.3.1"
cidr-utils = "0.5.11"
regex = { version = "1.9.5" }
url = { version = "2.5.0", optional = true }
reqwest = { version = "=0.11.20", features = [
"multipart",
"socks",
"cookies",
], optional = true }
base64 = { version = "0.21.4", optional = true }
ntlmclient = { version = "0.1.0", optional = true }
trust-dns-resolver = { version = "0.23.0", optional = true }
dns-lookup = { version = "2.0.4", optional = true }
async-ssh2-tokio = { version = "0.8.2", optional = true }
sqlx = { version = "0.7.2", features = [
"runtime-tokio",
"tls-native-tls",
"all-databases",
], optional = true }
async_ftp = { version = "6.0.0", optional = true }
async-smtp = { version = "0.9.0", optional = true }
async-pop = { version = "1.0.2", optional = true, default-features = false, features = [
"runtime-tokio",
] }
async-native-tls = { version = "0.5.0", default-features = false, features = [
"runtime-tokio",
] }
async-imap = { version = "0.9.1", default-features = false, features = [
"runtime-tokio",
], optional = true }
mini-telnet = { version = "0.1.8", optional = true }
ldap3 = { version = "0.11.3", optional = true }
kerberos_crypto = { version = "0.3.6", optional = true }
kerberos_asn1 = { version = "0.2.1", optional = true }
kerberos_constants = { version = "0.0.9", optional = true }
vnc-rs = { version = "0.5.1", optional = true }
mongodb = { version = "2.7.0", optional = true }
sibyl = { version = "0.6.16", optional = true, features = [
"tokio",
"nonblocking",
] }
rdp-rs = { version = "0.1.0", optional = true }
scylla = { version = "0.10.1", optional = true }
paho-mqtt = { version = "0.12.3", optional = true }
csv = "1.3.0"
pavao = { version = "0.2.8", optional = true }
fast-socks5 = { version = "0.9.2", optional = true }
shell-words = "1.1.0"
serde_yaml = "0.9.30"
actix-web = "4.8.0"
uuid = "1.10.0"
nix = { version = "0.29.0", features = ["signal"] }
strip-ansi-escapes = "0.2.0"
actix-cors = "0.7.0"
x509-parser = "0.16.0"
lazy-regex = "3.2.0"
[dev-dependencies]
tempfile = "3.8.0"
tokio-test = "0.4.3"
[features]
default = [
"http",
"dns",
"ssh",
"mssql",
"mqtt",
"sql",
"ftp",
"smtp",
"pop3",
"imap",
"telnet",
"ldap",
"kerberos",
"vnc",
"mongodb",
"rdp",
# "oracle", optional as it requires libclntsh that's a pain to install and configure
"stomp",
"amqp",
"redis",
"scylla",
"port_scanner",
"samba",
"socks5",
]
http = ["dep:url", "dep:reqwest", "dep:base64", "dep:ntlmclient"]
http_relative_paths = []
dns = ["dep:trust-dns-resolver", "dep:dns-lookup"]
ssh = ["dep:async-ssh2-tokio"]
sql = ["dep:sqlx"]
mssql = []
mqtt = ["dep:paho-mqtt"]
ftp = ["dep:async_ftp"]
smtp = ["dep:async-smtp"]
pop3 = ["dep:async-pop"]
imap = ["dep:async-imap"]
telnet = ["dep:mini-telnet"]
ldap = ["dep:ldap3"]
kerberos = [
"dep:kerberos_crypto",
"dep:kerberos_asn1",
"dep:kerberos_constants",
]
vnc = ["dep:vnc-rs"]
mongodb = ["dep:mongodb"]
oracle = ["dep:sibyl"]
rdp = ["dep:rdp-rs"]
stomp = []
amqp = []
redis = []
scylla = ["dep:scylla"]
port_scanner = ["dep:reqwest"]
samba = ["dep:pavao"]
socks5 = ["dep:fast-socks5"]
# used to build for platforms without openssl
vendored_libs = ["dep:openssl"]
[patch.crates-io]
url = { path = "./crates/rust-url/url" }
form_urlencoded = { path = "./crates/rust-url/form_urlencoded" }
idna = { path = "./crates/rust-url/idna" }
percent-encoding = { path = "./crates/rust-url/percent_encoding" }
[profile.release]
lto = true # Enable link-time optimization
codegen-units = 1 # Reduce number of codegen units to increase optimizations
panic = 'abort' # Abort on panic
strip = true # Strip symbols from binary*