Move Files Over Domain with Command Line

Jun 7, 2015 03:21 AM
Jun 7, 2015 03:24 AM

Is there a command line utility or anything that can be used to move files from one computer to another over a domain network?

Heres what im trying to do:

Screenshot a sytem at regular intervals for a specific period of time

Accomplished with this simple batch :

@echo off

cd C:\pstools

md psexec

cd c:\pstools

psexec nircmd.exe loop 2000 3000 savescreenshotwin C:\pstools\psexec\scr~$currdate.MMddyyyy$-~$currtime.HHmmss$.jpeg

Pro : The systems i'll be using this on already have the pstools directory in the C: Drive, and this batch does what i need in terms of number of screenshots and frequency.

Con : The screenshots are saved in the remote machines drive and i would like to automate the process of copying them over the network.

Will convert the bat to backgroung executable to avoid cmd window

Can anyone help?

Also i have gotten domain admin creds.. :)

thanks

Related Articles

637263493835297420.jpg

How to Use Zero-Width Characters to Hide Secret Messages in Text (& Even Reveal Leaks)

636455706472146367.jpg

How to Hide DDE-Based Attacks in MS Word

Comments

No Comments Exist

Be the first, drop a comment!