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

The code does not compile #2

Open
Mod233 opened this issue Dec 5, 2016 · 25 comments
Open

The code does not compile #2

Mod233 opened this issue Dec 5, 2016 · 25 comments

Comments

@Mod233
Copy link

Mod233 commented Dec 5, 2016

could u please tell me ,which software you choose to compile the code....
u can see, i am a newbies and want to get my hand dirty....

@MinhasKamal
Copy link
Owner

MinhasKamal commented Dec 5, 2016

The code should compile with any standard compiler.

As I have already stated- "I have also made some nonsense changes in the code", those errors you getting are the result of this change. If you know C, you should be able to easily detect and remove them. Moreover, I have put marks ( 😄 ) there too.

+1 for "i am a newbies and want to get my hand dirty", and I myself am no expert either! Let me know how much your hands got dirty. Happy coding!

@MinhasKamal MinhasKamal changed the title something wrong when i compile with vs2012 The code does not compile Dec 29, 2016
@hellomevinit
Copy link

On compiling INFECT The header file <windows.h> is not able to be included.
I thought must be due to a different version of the compiler so i removed the '.h' and tried again but no result ,same error again.
same for the header file.
I then headed to the class library section and found that the windows.h header file was missing.
I tried adding it manually but still doesn't works.

@MinhasKamal
Copy link
Owner

Tell me your OS and compiler name.

@shadhin92
Copy link

facing the same problem as @hellomevinit

win7 32-bit OS and VS Express2012

@MinhasKamal
Copy link
Owner

Follow this link. Let me know if it helps.

@Shahrukh95
Copy link

I compiled all the cpps and placed all the files in one folder as shown in the pictures. Then I ran trojancockroach.exe. In the USB drive I can see one folder named "TrojanCockroach" but I do not see any other file besides that (the shortcut is missing).

Another issue is that the shortcut "trojancockroach.lnk" does not copy itself to the startup folder.

I am using Windows 7 in VMware to test this program.

@Busy-box
Copy link

Busy-box commented Oct 26, 2017

@ MinhasKamal Could you please point out the nonsense changes to the code, us newbies are finding a hard time.

I'm using Windows 10 in VC++

@SpontaneousCookie
Copy link

So do I need to know C++ to use this? I'm kind of a beginner at programming so I haven't gotten around to learning any C yet.

@MinhasKamal
Copy link
Owner

MinhasKamal commented Dec 6, 2017

@Shahrukh95 I have not tested the tool in virtual machine, so do not know how it may behave :(

@Busy-box & @SpontaneousCookie You will have to have at least a basic knowledge of C for running the code successfully. Sorry, cannot help you there.

P.S.: Apologies for replying super late.

@maximousblk
Copy link

Hey @MinhasKamal please tell us the changes that you made to this code. We newbies are have a hell of problems compiling this code!

Or just send the link to the correct code please

@MinhasKamal
Copy link
Owner

MinhasKamal commented Jan 5, 2018

Hello @max1m0u5,

You have successfully- forked a project from GitHub, tried to compile it, detected error, and reported issue. I mean- you already know a lot (about programming).

Please try to understand the errors, you are very close :)

@maximousblk
Copy link

maximousblk commented Jan 5, 2018

what do you mean by "you already know a lot."
_ and please check your gmail and hangout_

@MinhasKamal

@maximousblk
Copy link

hey @Shahrukh95 please send me the code if you have successfully compiled it.
I am purely not into c++ but I need this project, PLEASE

Anybody !!!
@Mod233
@MinhasKamal
@hellomevinit
@ahmedshadhin
@Busy-box

Or any one in the world PLEASE HELP ❗❗❗

@Shahrukh95
Copy link

@max1m0u5 I used this project a long time ago. However there were some mistakes like I pointed out in this thread before.
If your code is not compiling, I think he just commented out some brackets and even added smily faces in front of them.

@maximousblk
Copy link

maximousblk commented Jan 7, 2018

PLEASE HELP DON'T GIVE RIDDLES

Give me the code please !!!
Someone please provide the correct code not riddles.
And @Shahrukh95 I know the mistakes are commented but I don't know how to correct them.
And also to disturb this issue that much @MinhasKamal

But please provide correct code !!!

@tbartee19
Copy link

@max1m0u5
The mistakes are the kind of thing you learn on your first day of freshman programming class. Given a little research and some effort i'm sure you'll find what you're looking for, but if you can't break this code down then you probably shouldn't have it in the first place.

@JackBenner123
Copy link

I know java, but I don't know C that well. Please help.

@traxanhkho
Copy link

hello . how to use senddata() ? please .

@Fireflaker
Copy link

Fireflaker commented Jul 2, 2018

Win10, MINGW64, compile fail
image
the Gmail is useless so go ahead and do whatever.
Do I need a /0 exit?

@puppetmaster12
Copy link

puppetmaster12 commented Aug 23, 2018

You should stop complaining and learn to fix the code. If any of you had made any effort at all in finding the bugs (Which actually come with a hint in the source code) you would already have it running. Looking at the trace returned by the compiler says the entire story too?

@ftrentini
Copy link

Luved from the beginning!! Thanks for reminding me of my C++ classes in college, 20 years ago!!

@17vali
Copy link

17vali commented Jan 31, 2019

Another major hint - Look for // :) in the code.

@ghost
Copy link

ghost commented May 1, 2019

I recently started the course and I'm having a hard time finding gaps like those exposed by the author @MinhasKamal, could they help me with this process in making the files executable or teach me with this example?

I started studying at usp (university of sao paulo) and I have several difficulties in the programming areas.

@shadhin92
Copy link

@MinhasKamal compiled, started, got an email too; but then it just stopped, no response at all. I've reduced the computer start time from 20 to 2, so that i can get the mail in a close frequent...

@MinhasKamal
Copy link
Owner

MinhasKamal commented Oct 6, 2019

@shadhin92
Hard to say why that may have happened. If the user does not shutdown the computer, rather hibernates, then that will not be counted.

If it is running in your computer, then please go through the code again and see if you missed any thing.

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

No branches or pull requests