Bountyhunter50 Posted March 30, 2013 Share Posted March 30, 2013 hey gang! Ok so I'm trying to automate a script for my mother so I can get her work laptop MAC filtered into her home network. She so conveniently keeps forgetting it at work. Bring in the Duck!! Here's my goal: I want to create a payload to where it opens up cmd, does "ipconfig /all", saves what the terminal session spits out to a .txt in the c:\ drive, then copy that newly created .txt to the duck. Here's what I got, that doesn't work: delay 800 gui x (I'm testing this on my windows 8 machine, she still runs XP SP3) up up enter string CMD string ipconfig /all >c:\ipdata.txt ; copy /A ipdata.txt f:\ /A /V delay 300 When I test this on my win8 box, it does open cmd, but after it does a bunch of other crazy things. However if I take the code down to just: delay 800 gui x up up enter string cmd I get the cmd window normally. any ideas? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.