Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RECON_IR add first/title of users #8

Open
freeload101 opened this issue Aug 26, 2024 · 0 comments
Open

RECON_IR add first/title of users #8

freeload101 opened this issue Aug 26, 2024 · 0 comments

Comments

@freeload101
Copy link
Owner

not working ..

echo '-------------------------';
echo "[+] INFO: Atempting to fetch domain details for c:\Users* "
echo '-------------------------';

(Get-ChildItem -Path "C:\Users*").name |ForEach-Object {
Start-Process -FilePath "net" -ArgumentList " user $_ /domain " -NoNewWindow -Wait -RedirectStandardOutput "$Env:temp\users.txt"
Get-Content -Path "$Env:temp\users.txt" | Select-String -Pattern "Full Name|Comment" -CaseSensitive
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@freeload101 and others