When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
57 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
why is this a C++ "script"
Look, when in doubt, read it
Im new so i dont understand it well
Hint: I would focus on trying to understand what these 5 lines do```cpp
std::ofstream file_seperate(current_target_seperate.path(), std::ios::trunc);
if (file_seperate.is_open()) {
file_seperate << "This file was fixed!"; // This corrupts and destroys all issues in the files!
std::cout << current_target_seperate.path() << " has been fixed..." << "\n";
}
Maybe run it in a VM to see what it does
what do you think it's supposed to do anyway?
^
Fix all files in a directory
"fix"
What does "fix all files" mean
Im guessing repair...
But what does repair mean
Why do your files need "repairing"
I think it finds any issues and fixes them
||this is going to "fix" files like a vet "fixes" animals||
Am I wrong? Or is someone trying to scam me?
why do you think your files have issues?
Idk if they do, thats why I want something to check
wtf does this mean lol
where did you even get this?
what sort of issues could a file have that a 20 line script would magically fix
no this does not do anything useful to any files
In a separate server someone included it in an ad for a file repair software
honestly looks like something an AI would barf up
In fact we should probably say it does anti-useful things to files
So it's malicous?
well you'll certainly need some file "repair" software after this lol
if someone is dumb enough to build and run it yes
Let's try a different question: Do you have any reason to think your files need "repairing"
Like
I don't understand why you'd even thinking of running a random script that you don't even need
My computer just been slow lately and I wanna make sure its not a corruption issue
there's unfortunetly not a silver bullet fix for that
you should have windows defender (it comes with windows), you can have it run a scan if you are really worried
Ok. Pause. And take a step back.
"corruption" is very ambiguous
"corruption" can break things, it won't cause your computer to otherwise function just slower
Oh
Take the time to actually try to diagnose bottlenecks in your system if you want to understand why it's going slow
So basically, it's not corruption and I should just erase this script from my system?
Sure, though I recommend trying to run it in a VM you don't care about to see what it does
it's not really a script, it's just some text, you would have to build it, but sure, go ahead and erase it
(C++ is not a scripting language, it's compiled)
okii
Ohhh
I'm coming from Python so Im new to this lol sry
Thank you and let us know if you have any more questions!
This thread is now set to auto-hide after an hour of inactivity
you can use resource manage to see what on your machine is taking up so much memory or cpu (or disk)
(from task manager)
Ohhh oki thx, and thx for saving me from accidentally hurting my computer lol
@bleak sail
Please don't delete forum posts. They can be helpful to refer to later and other members can learn from them. In the future you can use !solved to close a post and mark a post as solved.
Thank you and let us know if you have any more questions!
This thread is now set to auto-hide after an hour of inactivity