Skip to content

jaredhaight/ReflectCmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A reflective DLL loading demo

I wanted to play around with reflective DLLs so I put this together. Most of the code for this was put together from the following resources:

Example

PS C:\Build> .\ReflectCmdConsole.exe C:\ReflectCmdDll.dll "dir C:\\"
[console]: loading assembly.
[console]: loading type.
[console]: creating instance.
[console]: passing command to dll.
[dll]: got command: dir C:\
[dll]: new proc
[dll]: starting proc
[dll]: getting output
[dll]: returning output
[console]: printing output.


 Volume in drive C has no label.
 Volume Serial Number is 9999-9999

 Directory of C:\

12/25/2016  04:12 PM    <DIR>          Program Files
12/25/2016  02:33 PM    <DIR>          Program Files (x86)
09/18/2016  08:10 PM    <DIR>          Users
01/02/2017  04:01 PM    <DIR>          Windows
               1 File(s)            125 bytes
               8 Dir(s)   6,721,544,192 bytes free

PS C:\Build>

About

A simple reflective dll example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages