You might have some software installed on your server, and registers the assemblies to the Global Assembly Cache. Typically, installers would register the assemblies but remove any accessible copy from the local disk as everything is packaged inside the msi or setup file.
There is a really simple way to extract the dlls from GAC, though.
Launch MS DOS, and change directory to c:windows\assembly\gac_msil (you won't be able to open this in windows explorer)!
run the xcopy command. Example:
Note: there are alternative ways such as modifying the registry, or temporarily uninstalling certain dlls to allow browsing from windows explorer, but I would seriously advise against that.
Showing posts with label command line. Show all posts
Showing posts with label command line. Show all posts
Thursday, June 5, 2014
Tuesday, November 5, 2013
Find processes making outgoing HTTP requests using the NETSTAT command
A set of simple commands to trace Internet traffic:
First you want to list out all connections by launching Command Prompt. If not sure which flag to use, type netstat --help to list all available commands.
If you type netstat without any additional flags, only active connections will be listed.
Typing netstat with the flag will list out the process ID as well. e.g. netstat -p
I will usually follow up with running the tasklist command to locate which executable the process belongs to.
First you want to list out all connections by launching Command Prompt. If not sure which flag to use, type netstat --help to list all available commands.
If you type netstat without any additional flags, only active connections will be listed.
Typing netstat with the flag will list out the process ID as well. e.g. netstat -p
I will usually follow up with running the tasklist command to locate which executable the process belongs to.
Labels:
command line
Thursday, July 14, 2011
MS DOS get timestamp in yymmdd format
:: get date pattern in yymmdd format
:: example set mydate=%date:~4,2%%date:~7,2%%date:~12,2%
:: by default %date% ---> mm/dd/yy
set yy=%date:~12,2%
set mm=%date:~4,2%
set dd=%date:~7,2%
set hr=%time:~0,2%
set mi=%time:~3,2%
SET tday=%yy%%mm%%dd%_%hr%%mi%
SET logfile=%tday: =%
:: example set mydate=%date:~4,2%%date:~7,2%%date:~12,2%
:: by default %date% ---> mm/dd/yy
set yy=%date:~12,2%
set mm=%date:~4,2%
set dd=%date:~7,2%
set hr=%time:~0,2%
set mi=%time:~3,2%
SET tday=%yy%%mm%%dd%_%hr%%mi%
SET logfile=%tday: =%
Subscribe to:
Posts (Atom)