Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intentional Errors #35

Open
cdobby69 opened this issue Dec 11, 2023 · 2 comments
Open

Intentional Errors #35

cdobby69 opened this issue Dec 11, 2023 · 2 comments

Comments

@cdobby69
Copy link

  • DecodeMessage.cpp: The initial declaration of char* ch; is unnecessary.
  • DecodeMessage.cpp: The return ch; statement inside the else block is misleading and doesn't make sense.
  • Infect.cpp: There is an intentional return; statement after the line char driveLetter = getRemovableDisk();, which would prevent the execution of the following code.
  • Same error in TrojanCockroach.cpp: return 0; statement after the line char driveLetter = getRemovableDisk();
  • There are intentional comments like return; // :) and return; // :) in several places in the code that don't serve any practical purpose
  • In the Infect.cpp file, several parts of the code related to file copying and hiding seem to be intentionally disabled, making the logic incomplete.
@cdobby69
Copy link
Author

Let me know if I'm correct 😁

@DPyrexx
Copy link

DPyrexx commented Dec 17, 2023

Please can you elaborate, I am finding problems, especially in the trojanCockroach.cpp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants