Hostile 92% rust 729 installs Download

adhammer-collector 1.5.1

ADhammer offensive security tool

“ADhammer LDAP collector — domain + Configuration NC collection over ldap3.”

C header template fileContains an unbounded block loop
SHA-25634a23266e74237e92648ac979cf9b0f674d38eaeab461509198af38ba6804af0

Evidence

Rust Command captures child output smoke.rs · lines 1–25
⋯14 lines
15 let path = dir.path().to_str().unwrap();
16
17 Command::new("sh")
18 .arg("-c")
19 .arg(format!("./scripts/generate-certificate.sh {}", path))
⋯6 lines
Rust TcpStream::connect call smoke.rs · lines 56–60
56:29… data to it.
57 let client = async move {
58 let socket = TcpStream::connect(&addr).await.unwrap();
59 let socket = client_tls.connect("foobar.com", socket).await.unwrap();
60 copy_data(socket).a …
References the Tokio async runtime namespace discovery.rs · lines 19–28
19:23… n;
20
21use adhammer_core::EngagementScope;
22use anyhow::Result;
23use tokio::io::{AsyncReadExt, AsyncWriteExt};
24use tokio::net::{TcpStream, UdpSocket};
25
26use crate::dns_wire::{self, QType, RecordData};
27
28#[derive(Clone, Debu …
Reads a file into a Rust string discovery.rs · lines 84–91
84:33… ec<IpAddr> {
85 #[cfg(unix)]
86 {
87 let Ok(text) = std::fs::read_to_string("/etc/resolv.conf") else {
88 return Vec::new();
89 };
90 let mut out = Vec::new();
91 for line in text. …
Rust UdpSocket::bind call discovery.rs · lines 307–313
307:5… "0.0.0.0:0".parse().ok()?
308 };
309 let sock = UdpSocket::bind(bind).await.ok()?;
310 sock.connect(server).await.ok()?;
311 sock.send(&query).await.ok()?;
312
313 let mut buf = [0u8; …

Showing the top 5 files — 3 more files (30 regions) not shown.

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.