
WinRM पर WSMan.Automation COM ऑब्जेक्ट का उपयोग करके रिमोट कमांड निष्पादित करने के लिए प्रूफ-ऑफ-कॉन्सेप्ट स्रोत कोड और स्क्रिप्ट का एक संग्रह।
WSMan-WinRM: WinRM पर रिमोट कमांड निष्पादित करने के लिए WSMan.Automation COM ऑब्जेक्ट का उपयोग करने वाले प्रूफ-ऑफ-कॉन्सेप्ट स्रोत कोड और स्क्रिप्ट का संग्रह।
पृष्ठभूमि जानकारी के लिए, कृपया निम्नलिखित ब्लॉग पोस्ट देखें: WS-Management COM: WinRM लेटरल मूवमेंट के लिए एक और दृष्टिकोण
Usage: SharpWSManWinRM.exe <hostname> <command>
Usage: SharpWSManWinRM.exe <hostname> <command> <domain\user> <password>
Example: SharpWSManWinRM.exe host.domain.local notepad.exe
Example: SharpWSManWinRM.exe host.domain.local "cmd /c notepad.exe" domain\joe.user P@ssw0rd
Usage: Invoke-WSManWinRM -hostname <hostname> -command <command>
Usage: Invoke-WSManWinRM -hostname <hostname> -command <command> -user <domain\user> -password <password>
Example: import-module .\WSManWinRM.ps1
Invoke-WSManWinRM -hostname MyServer.domain.local -command calc.exe
Example: import-module .\WSManWinRM.ps1
Invoke-WSManWinRM -hostname MyServer.domain.local -command calc.exe -user domain\joe.user -password P@ssw0rd
Usage: cscript.exe SharpWSManWinRM.vbs <hostname> <command>
Usage: cscript.exe SharpWSManWinRM.vbs <hostname> <command> <domain\user> <password>
Example: cscript.exe SharpWSManWinRM.vbs host.domain.local notepad.exe
Example: cscript.exe SharpWSManWinRM.vbs host.domain.local "cmd /c notepad.exe" domain\joe.user P@ssw0rd
Usage: cscript.exe SharpWSManWinRM.js <hostname> <command>
Usage: cscript.exe SharpWSManWinRM.js <hostname> <command> <domain\user> <password>
Example: cscript.exe SharpWSManWinRM.js host.domain.local notepad.exe
Example: cscript.exe SharpWSManWinRM.js host.domain.local "cmd /c notepad.exe" domain\joe.user P@ssw0rd
Usage: CppWSManWinRM.exe <hostname> <command>
Example: CppWSManWinRM.exe host.domain.local notepad.exe
Note: Username/password option does not work yet
नोट: उपयोगकर्ता नाम/पासवर्ड विकल्प अभी काम नहीं करता है
WSMan-WinRM सुरक्षा पेशेवरों को नैतिक और कानूनी सुरक्षा मूल्यांकन और पैठ परीक्षण करने में मदद करने के लिए डिज़ाइन किया गया है। इसका उपयोग दुर्भावनापूर्ण उद्देश्यों के लिए न करें।