• We just launched and are currently in beta. Join us as we build and grow the community.

How to Lock Drive of Remote Windows Victim PC

Celekuti

Edge Computing Enthusiast
C Rep
0
0
0
Rep
0
C Vouches
0
0
0
Vouches
0
Posts
125
Likes
110
Bits
2 MONTHS
2 2 MONTHS OF SERVICE
LEVEL 1 100 XP
First Hack the Victim PC Using Metasploit (Tutorial How to Hack Remote PC)

Once you got the meterpreter session use ‘shell ‘command to get command prompt of the target.

Type Cacls (Drive Name) /e /p everyone:n and press Enter.This will lock your “E Drive”

1.png


2.png


Solution For Unlock

Now right-click on your E drive –> Properties –> Click on “Security” tab click on continue

3.png


Check the check box “Full Control” –> Click on OK.

4.png


5.png


Parameters

FileName : Required. Displays DACLs of specified files.

/t : Changes DACLs of specified files in the current directory and all subdirectories.

/e : Edits a DACL instead of replacing it.

/c : Continues to change DACLs, ignoring errors.

/g User: permission : Grants access rights to the specified user. The following table lists valid values for permission.

Value Description
n None
r Read
w Write
c Change (Write)
f

Full Control
 

452,496

335,120

335,128

Top