-
Notifications
You must be signed in to change notification settings - Fork 110
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
Hi,
When running RustHound against a large domain, RustHound eventually hangs at "LDAP objects received: xxxxx". The TCP/389 connection is still open (observed via tcpdump) but it appears the DC stops sending data (for an unknown reason) and just sends ACKs. In the following code block, it appears RustHound just continues to wait indefinitely. Perhaps a timeout could be set and RustHound can resend the request if it hasn't received a response by the timeout?
// Wait and get next values
let pb = ProgressBar::new(1);
let mut count = 0;
while let Some(entry) = search.next().await? {
let entry = SearchEntry::construct(entry);
//trace!("{:?}", &entry);
// Manage progress bar
count += 1;
progress_bar(pb.to_owned(),"LDAP objects retreived".to_string(),count,"#".to_string());
// Push all result in rs vec()
rs.push(entry);
}
pb.finish_and_clear();
ben-elttam
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed