Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

RE: Network Scan

From: Andy Streule <andy.streule(at)lythamhigh.lancs.sch.uk>
Date: Tue Jan 21 2003 - 09:12:42 EST


you could go further and do

for /f %%a in ('net view ^| find "\\" ') do dir %%a\c$\*.jpg /a /b /s >> list.txt
for /f %%b in ('list.txt') do move %%b \\server\evidence

then use blat(cmd emailer) to mail the list.txt to an administrator/yourself.

i think each loop of the first FOR loop would append filenames to list.txt so for the 2nd FOR loop the file would contain the all jpg's on all computers.
this works cos the dir cmd produces output like: \\t10-comp\c$\folder\filename

if you used scopy instead of move (I suppose youd have to do a del afterwards)
it would copy the security permissions so you could see who owned the file (ie who downloaded it)

there are endless possibilities

regards browolf

Security Forums



http://www.security-forums.com
Do you need help?X

> -----Original Message-----
> From: webbi@sapc.edu [mailto:webbi@sapc.edu]
> Sent: 14 January 2003 14:47
> To: WhtWlf2001@yahoo.com; security-basics@securityfocus.com
> Subject: RE: Network Scan
>
>
> While logged in as a domain admin:
Received on Thu Jan 23 14:45:06 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:03:37 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library